|
#include <vcl\vcl.h>
#pragma hdrstop
USERES("dll.res");
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
{
return 1;
}
void __declspec(dllexport) __stdcall DLLFunc(String aa)
{
return;
}
---- VB에서 ----
Public Declare Function DLLFunc Lib "c:\prg\bc++\dll\dll.dll" _
(ByVal hwnd As String) As Long
DLL을 생성한 후 VB에서 호출을 했는데 "DLL이 입력점을 찾을 수 없다"는
에라가 나옴니다.
고수님!! 한 수 부탁합니다.
|