www.pudn.com > com_dllold.rar > com_dll.cpp
// com_dll.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include "com.h"
#include "resource.h"
//HANDLE h_module;
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
//h_module=hModule;
//INITCOMMONCONTROLSEX commctrlsex;
switch(ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
//commctrlsex.dwSize=sizeof(INITCOMMONCONTROLSEX);
//commctrlsex.dwICC=ICC_PROGRESS_CLASS;
//InitCommonControlsEx(&commctrlsex);
break;
case DLL_THREAD_ATTACH:
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_DETACH:
break;
}
return TRUE;
}