Felipe Monteiro de Carvalho napsal(a):
> 1 - make sure you are using loadlibrary from the windows unit and then
> call GetLastError to see why it failed.
>
> Windows CE has some differences from desktop. I would try putting the
> library in the windows or windows/system directory or passing the full
> path to the library.
>
>   
OK, I didn't manage to catch the error but have got a suspicion about 
what prevents the library to load instead.

Unfortunately, it seems to be the size (or complexity) of the compiled 
executable what decides if the library loads or not.

Is it possible that a 20.6 MB large executable program file prevents any 
additional libraries from loading into memory when run?
Smaller programs (starting from 260 kB fpc-only test program and ending 
up with a 16 MB LCL application) execute well and load the library 
successfully. Despite that, the final full-job application won't load 
postgres libraries at all.
Furthermore, there has another bug appeared which prevents me from 
catching the exact error for now.
And I'm sorry, I switched back to 0.9.24 again (but can return to 26 or 
SVN for test purposes if really needed).

Is it possible that there's a bottleneck area in the memory, such as 
what I know to be called "system resources" on other OSes, such as 
Windows 9X & ME?

What leads me to this way of thinking is that I have set up 256 MB of 
RAM for the PocketPC emulator. That should suffice for that 20 MB 
application with even a huge load of some libraries or data.

Any CE specialists? :-)

Thanks in advance,

Pavel
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to