windows - how do you load more than a library in FreePascal? -



windows - how do you load more than a library in FreePascal? -

i can load first dll, if seek load sec dll fails.

info:

os: windows vista fpc: 2.4.4 no matter if load sec dll exe or within first dll, sec fails. no matter if first dll loaded statically, sec fails. no matter sec dll loaded. i command source code of dlls. there no external dependencies. it happen simple dlls. getlasterror() returns 487 error (error_invalid_address). it happens dlls generated fpc.

there i'm missing , can't figure out.

thanks

answer: ok found problem, had -wn command line switch in fp.cfg file

i presume you're calling wrapper win32 loadlibrary().

you should able invoke multiple different .dll's without problem.

suggestion: check getlasterror , see error code was

also:

maybe it's particular .dll, or way you're using it.

run "depends" tool on .exe, .dll's, , .dll load dynamically. create sure dependencies resolved.

windows dll freepascal

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -