// wrapper for dlldata.c #ifdef _MERGE_PROXYSTUB // merge proxy stub DLL #define REGISTER_PROXY_DLL //DllRegisterServer, etc. //#define _WIN32_WINNT 0x0400 //for WinNT 4.0 or Win95 with DCOM #define USE_STUBLESS_PROXY //defined only with MIDL switch /Oicf #pragma comment(lib, "rpcndr.lib") #pragma comment(lib, "rpcns4.lib") #pragma comment(lib, "rpcrt4.lib") #define DllMain PrxDllMain #define DllRegisterServer PrxDllRegisterServer #define DllUnregisterServer PrxDllUnregisterServer #define DllGetClassObject PrxDllGetClassObject #define DllCanUnloadNow PrxDllCanUnloadNow #include "dlldata.c" #include "p4com_p.c" #ifdef _NOPROXY //no midl generated dlldata.c #define STRICT 1 #include <ole2.h> BOOL WINAPI PrxDllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) {return TRUE;} STDAPI PrxDllCanUnloadNow(void){return S_OK;} STDAPI PrxDllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv) {return CLASS_E_CLASSNOTAVAILABLE;} STDAPI PrxDllRegisterServer(void){return S_OK;} STDAPI PrxDllUnregisterServer(void){return S_OK;} #endif //!PROXY_DELEGATION #endif //_MERGE_PROXYSTUB
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 11314 | Robert Cowham | Initial population of perforce_software version of P4OFC | ||
//guest/robert_cowham/perforce/API/p4com/main/src/dlldatax.c | |||||
#3 | 10720 | Robert Cowham |
Built with Visual Studio 2010 (SP1) Updated to p4 api 2014.1 Uses Open SSL (latest) as a result of the above. A client workspace to use this looks like: //guest/robert_cowham/perforce/API/p4com/main/src/... //cowhamr-p4com-test/... //guest/robert_cowham/perforce/API/p4/p4api-2014.1.821990-vs2010_static/... //cowhamr-p4com-test/p4api/... //guest/robert_cowham/openssl/1.0.1j/out32dll/libeay32.lib //cowhamr-p4com-test/openssl-lib/libeay32.lib //guest/robert_cowham/openssl/1.0.1j/out32dll/libeay32.dll //cowhamr-p4com-test/ReleaseMinDependency/libeay32.dll //guest/robert_cowham/openssl/1.0.1j/out32dll/ssleay32.lib //cowhamr-p4com-test/openssl-lib/ssleay32.lib //guest/robert_cowham/openssl/1.0.1j/out32dll/ssleay32.dll //cowhamr-p4com-test/ReleaseMinDependency/ssleay32.dll |
||
#2 | 3543 | Robert Cowham | Compiles with VS.Net | ||
#1 | 3525 | Robert Cowham | Initial release |