Recent

Author Topic: ZeosDBO on winCE  (Read 7007 times)

dolang

  • New member
  • *
  • Posts: 6
ZeosDBO on winCE
« on: April 15, 2009, 07:44:43 am »
ZeosDBO-table-6.6.4 on win32 compile ok,but on wince failed,why? thinks.

Loesje

  • Full Member
  • ***
  • Posts: 165
    • Lazarus Support website
Re: ZeosDBO on winCE
« Reply #1 on: April 15, 2009, 01:16:13 pm »
How can we know?

What happened? Did your computer started the compilation, then launched into earth and is it now orbiting space so you can't tell us what the error-message was?

But maybe you should ask this on the Zeos-forum.

dolang

  • New member
  • *
  • Posts: 6
Re: ZeosDBO on winCE
« Reply #2 on: April 16, 2009, 07:58:57 am »
thinks,the unit ZPlainLoader not compiled, when compiler options target OS is win32 than compile ok,but target OS is winCE than compile failed.look at picture please.

Loesje

  • Full Member
  • ***
  • Posts: 165
    • Lazarus Support website
Re: ZeosDBO on winCE
« Reply #3 on: April 16, 2009, 10:34:55 pm »
If that 'LoadLibrary' procedure is the one of dynlibs unit, it should actually be an ansistring, not a pchar at all.

So you can just remove the 'pchar' keyword from that line, or ZEOS has it's own LoadLibrary function and in that case the problem lies somewhere else. (It could be that their LoadLibrary doesn't support WinCE)

dolang

  • New member
  • *
  • Posts: 6
Re: ZeosDBO on winCE
« Reply #4 on: April 17, 2009, 04:18:28 am »
yes,I change the 'pchar' write 'PWideChar',but have a new error: 'CharToOem not found',which unit is it use? thinks.

Loesje

  • Full Member
  • ***
  • Posts: 165
    • Lazarus Support website
Re: ZeosDBO on winCE
« Reply #5 on: April 17, 2009, 12:24:04 pm »
Don't replace it, remove it. It's unnecessary and wrong.

 

TinyPortal © 2005-2018