|
From: Joachim W. <wu...@cr...> - 2002-12-10 14:17:53
|
For context, see previous mail (DLL generated ..).
The main modification of the distributed Win binding
consists in eliminating the following lines from plstub.cpp:
extern void *h_pldll;
extern "C" int APIENTRY
DllMain(HINSTANCE hInstance,DWORD dwReason,LPVOID lpReserved) {
=20
if (dwReason =3D=3D (unsigned long) DLL_PROCESS_ATTACH) {
AfxMessageBox("dll init",MB_OK);
h_pldll =3D hInstance;
} else if (dwReason =3D=3D (unsigned long) DLL_PROCESS_DETACH) {
AfxMessageBox("dll done",MB_OK);
}
return 1;
}
No replacement is needed; everything seems to be handled by
the many settings hidden in various parts of the VS environment.
- Joachim
|