Sorry if this is a repeat, I had to sign bck onto this list again.

Anyway, you are free to add a DllMain to the server or client .dlls.  In
addition, you might look at dlls/GameInterface.cpp at DllInit(...) and
put your init code in there.  I believe there is a corresponding
shutdown section.

The other possibility is to create a new CAutoGameSystem and implement
the Init/Shutdown methods (see IGameSystem.h and numerous examples in
the game and client .dlls).

Yahn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lachlan Gunn
Sent: Sunday, December 11, 2005 6:34 AM
To: [email protected]
Subject: [hlcoders] Initialization

Hi,
In order to do certain things in my mod I need to use some third-party
libraries which need to do some initialization/termination work.  Is
there a certain place where I can call these functions as the mod is
loaded?
--
Thanks,
Lachlan

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to