Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages
Started by Beto
Thu, 24 Apr 2003 02:05
DLL not created
Author: Beto
Date: Thu, 24 Apr 2003 02:05
Date: Thu, 24 Apr 2003 02:05
19 lines
1289 bytes
1289 bytes
I am trying to build a DLL with the DLL wizard in BCB5 as follows. The
project compiles ok but the .dll file is not created. What am I doing wrong
? Thanks in advance.
#include <windows.h>
#pragma argsused
int __export retorno(int a);
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*
lpReserved)
{
return 1;
}
int __export retorno(int a)
{
return (2*a);
}
DLL not created
Author: Beto
Date: Thu, 24 Apr 2003 11:45
Date: Thu, 24 Apr 2003 11:45
5 lines
1207 bytes
1207 bytes
Using the declaration extern "C" __stdcall __declspec(dllexport) int ShowMeTheMessage(int a) a .lib file is created. Why not a .dll file ? Thanks.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads