Robin Hoo wrote:


2010/5/21 Felipe Monteiro de Carvalho <[email protected] <mailto:[email protected]>>

    2010/5/21 Robin Hoo <robin.hoo.cn <http://robin.hoo.cn>@gmail.com
    <http://gmail.com>>:
     > I tried my APP both on device and emulator with agyshell.dll
    staying in same
     > folder. No luck.

    I added another FAQ for this:
    
http://wiki.lazarus.freepascal.org/WinCE_Programming_Tips#Current_Directory_and_Placement_of_DLLs

    --
    Felipe Monteiro de Carvalho

    --
    _______________________________________________
    Lazarus mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Hi, Felipe Monteiro

I don't think the placement of DLL for WINCE is right. Per my understaning and the material from MS, the searching order as following. You could check it out from http://msdn.microsoft.com/en-us/library/ms886736.aspx. Thanks

    * The absolute path specified by the /lpLibFileName/ parameter
    * The .exe launch directory
    * The Windows directory
    * ROM DLL files
    * An OEM-specified search path

Thats loadlibrary, it doesn't state how the statically linked libs are searched. From what I reall, it is not the above.

Marc




------------------------------------------------------------------------

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to