|
Hello, I've been trying to compile a DLL with no luck the code looks like this: library DLLTest; uses Forms, LCLType, LCLClasses, LCLIntf, interfaces, Dialogs; function Main(audioMaster: Pointer): Pointer; cdecl; export; begin ShowMessage('Test'); end; exports Main name 'main'; end. It works fine if I don't use the ShowMessage(). But what's wrong with this function. I already included several files (see above), but nothing seems to work. I've tried it with all the latest Lazarus versions (currently 0.9.17) and FPC 2.0.2 (I've heard that there was a problem with FPC, but not what the exact problem was. The error is reproducable, but I hadn't been able to debug the DLL to see what the problem is. Please help, Christian |
- [lazarus] compiling a DLL Christian Budde
- Re: [lazarus] compiling a DLL Christian U.
- Re: [lazarus] compiling a DLL dhkblaszyk
- Re: [lazarus] compiling a DLL Christian U.
- Re: [lazarus] compiling a DLL Alexandre Leclerc
- Re: [lazarus] compiling a DLL Christian Iversen
- Re: [lazarus] compiling a DLL Christian Budde
- Re: [lazarus] compiling a DLL Alexandre Leclerc
- Re: [lazarus] compiling a DLL Christian Budde
- Re: [lazarus] compiling a DLL Vincent Snijders
- Re: [lazarus] compiling a ... Christian Budde
