   DLL woes
  I've gone a little DLL crazy... now im stuck :)fyi: Im using C++ .net and im loading dll's with LoadLibrary()I created an exe that looks for dll's in a certain directory, it automatically loads and links them; but if there is more than a few dll's to load, the application crashes.... i cannot figure out why, and part of the problem is that im not exactly sure what is going on under the hood when dll's are loaded...Do i have to specify a larger heapsize or something? Any good docs you can point me to?Muncher   
  Is the application running out of available memory? Can you trace the crash to a specific DLL? Perhaps the initialization routines in one of them is causing it.These articles describe the underpinnings of LoadLibrary.   ;  Going to need some more info then that, really.  What kind of error are you getting which causes the crash?  A seg fault?  Without that sort of information, I'm just shooting in the dark.  But it would seem to me that the most likely cause of the crash would be one of the DLLs returning a failure value from it's DllMain function, causing LoadLibrary to return NULL (or probably rather INVALID_HANDLE_VALUE), which then crashes when you pass it to a GetProcAddress call or something similar.  But, as I said, that's pretty much a guess, more info would make this easier for everyone.Hope this helps!   