Ok.
The source code looks like this:
" #include <windows.h>
#pragma resource "data.res"
#pragma argused
BOOL WINAPI DllEntryPoint(HINSTANCE, DWORD, LPVOID)
{
return TRUE;
}
"
The makefile looks like this:
"
.autodepend
resources.dll : main.cpp
bcc32 -WDR main
"
The .rc file looks like any resource file (with id's for
every picture and sound).
From this files I have to create a compile.bat file, witch
should look like this:
"
BRCC32 data.RC
make -f dll.mak
".
I think I didn't do anything wrong but the dll is created, but it's no good. When compiling the .bat file, it
gives me an error: " Fatal: access violation. Link terminated ".
I get this kind of error even if I make a dll project in C Builder, but there I just press OK.