Hi there,
has anyone a similar problem like mine?
I wanted to compile just a icon-DLL (a DLL only with icons - no functionality). Wrote a .rc file like
101 BITMAP DISCARDABLE "bitmap1.bmp"
102 BITMAP DISCARDABLE "bitmap2.bmp"
compiled it with windres.exe, included it with {$R *.res}.
now, if i compile my project, I get a DLL that will not work. more precisely it wont work in map basic. map basic is a programming language for map info. in m.i. I want to access the icons in my DLL.
If I use my .rc file in C++ and compile a DLL there, it is working well.
My first idea was, that the .res is wrong compiled. But I took the windres of my C++-IDE and put it into lazarus. But the resulting Laz-DLL don't work.
So I think in the linking-process of fpc/laz is the rub.
[added]
Now, I wanted to compile a dll with some exported funktions. But this DLL was not identified as a win32 dll. :-(
[/added]
Any experiences?
salute