GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 02-May-2007, 07:38
Bitstream Bitstream is offline
New Member
 
Join Date: May 2007
Posts: 1
Bitstream is on a distinguished road

reloading the newer dll


Hi!

I want to reload the newer versions of some dll dynamically. I use the following code, but the second call of LoadLibrary fail. errorcode = 1114.
I compiled on windows platform, VC6.

CPP / C++ / C Code:
HINSTANCE f;
f = LoadLibrary("my.dll");
FreeLibrary(f);
f = LoadLibrary("my.dll");

Any help would be greatly Appreciated.

thanks
Last edited by LuciWiz : 02-May-2007 at 09:38. Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
 
 

Recent GIDBlogProblems with the Navy (Chiefs) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:31.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.