[Lazarus] Call Load/Unload library from procedure
cobines
cobines at gmail.com
Wed Feb 3 09:24:47 CET 2010
2010/2/3 fabio <bor400 at gmail.com>:
> Hi,
> I need help with libraries. I'm working on Win XP with lazarus 0.9.29
> and fpc 2.4.1.
> I attached sample project app and project library.
> I'm not sure whether this is a bug or something I do not know, the
> problem is that when I use library in public form procedure I get the
> Access Violation when procedure is ended.
>
> I'll be grateful for help.
You have specified different calling conventions: cdecl in main
program and stdcall in the library. I think calling conventions should
match.
--
cobines
More information about the Lazarus
mailing list