Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » editing scripts.dll
Re: editing scripts.dll [message #235516 is a reply to message #235481] Fri, 22 December 2006 19:45 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
StealthEye wrote on Fri, 22 December 2006 21:42

Check whether bhs.dll is already loaded

if (!GetModuleHandle("bhs.dll"))
{
// First time
}

Obviously do this before bhs.dll is loaded in dllmain, as otherwise it would be loaded every time.



it was a simple answer, although, i have been testing and it works a charm! In Love thanks, i would still be stuck otherwise Angry
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help with Exdeath's boned E3 models
Next Topic: single player crashes with the scripts.dll
Goto Forum:
  


Current Time: Fri Dec 13 03:19:53 MST 2024

Total time taken to generate the page: 0.00810 seconds