diff options
author | fcolin | 2007-02-01 13:29:31 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:29:31 +0000 |
commit | afe2e7dfc1388cad991e8d38dda7d648c137aa52 (patch) | |
tree | 92bf63d2b2b34a805927aa294c7c51912638f66a /Bus/Ivy/IvyDllMain.cpp | |
parent | 0be65f8a110ee9bf5da9c93e0bd5b5b62b3bad0c (diff) | |
parent | 04c263c314499e38d64af9d4a1aa5e2b8d9d5ead (diff) | |
download | ivy-cplusplus-windows@3001.zip ivy-cplusplus-windows@3001.tar.gz ivy-cplusplus-windows@3001.tar.bz2 ivy-cplusplus-windows@3001.tar.xz |
modif struct svnwindows@3001
Diffstat (limited to 'Bus/Ivy/IvyDllMain.cpp')
-rw-r--r-- | Bus/Ivy/IvyDllMain.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/Bus/Ivy/IvyDllMain.cpp b/Bus/Ivy/IvyDllMain.cpp deleted file mode 100644 index e8c13f4..0000000 --- a/Bus/Ivy/IvyDllMain.cpp +++ /dev/null @@ -1,42 +0,0 @@ -// libIvy.cpp : Defines the initialization routines for the DLL.
-//
-
-#include "IvyStdAfx.h"
-
-BOOL APIENTRY DllMain(HANDLE hInstance,
- DWORD dwReason,
- LPVOID lpReserved)
-{
- // Remove this if you use lpReserved
- UNREFERENCED_PARAMETER(lpReserved);
-
- if (dwReason == DLL_PROCESS_ATTACH)
- {
- TRACE("IVY.DLL Initializing!\n");
-
- // Extension DLL one-time initialization
-
- WORD wVersionRequested;
- WSADATA wsaData;
- int err;
-
- wVersionRequested = MAKEWORD( 2, 0 );
-
- err = WSAStartup( wVersionRequested, &wsaData );
- if ( err != 0 ) {
- /* Tell the user that we could not find a usable */
- /* WinSock DLL. */
- return 0;
- }
-
-
-
- }
- else if (dwReason == DLL_PROCESS_DETACH)
- {
- TRACE("IVY.DLL Terminating!\n");
- // Terminate the library before destructors are called
- WSACleanup();
- }
- return 1; // ok
-}
|