PythonWin and Dialogs in DLLs

Joel Lucsy jjlucsy at concentric.net
Tue Jan 18 08:42:44 EST 2000


> 2.  Add a file called say frog.c containing something like
> #include <windows.h>
> BOOL WINAPI DllMain( HINSTANCE hInstance, DWORD dwReason, LPVOID frog)
> {
>     return 1;
> }
> i think the DLL loader needs an entry point called DllMain and the
> parameters will allow you to check for stuff, but i don't know why
> that would be useful; anyway it doesn't cost much, and using a
> resource DLL is a fairly standard thing.

Nope, simply add /noentry in the link tab settings. No DllMain/WinMain/or
main required.






More information about the Python-list mailing list