1. Re[2]: Any bug on compiled abort()?
- Posted by akusaya at gmx.net Jan 22, 2006
- 450 views
R> One thing I see in the code is that it tries to call R> FreeLibrary() on all open .dll's. R> I wonder if you opened a .dll, and FreeLibrary is having R> problems with it. I did use my own dll (to speed up cpu intensive routines), but since I have not much experience with making dlls, I might have made error in the DllMain routine. My DllMain routine is very simple, like this: BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } Is there any problem with this? R> I wonder also, if a "DOS" window is open R> saying "Press Enter" or something, and not allowing R> the Windows window to close. OK, I will ask him later. It could be possible. Thanks.
2. Re: Re[2]: Any bug on compiled abort()?
- Posted by Robert Craig <rds at RapidEuphoria.com> Jan 22, 2006
- 490 views
- Last edited Jan 23, 2006
akusaya wrote: > I did use my own dll (to speed up cpu intensive routines), but since I > have not much experience with making dlls, I might have made error in > the DllMain routine. My DllMain routine is very simple, like this: > > BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) > { > return TRUE; > } > > Is there any problem with this? I don't see anything wrong with it, but I'm not an expert on C .dlls. I learned what I had to, a long time ago, to make Euphoria .dlls from the translator. I found the documentation available on C .dll creation to be very murky and very inconsistent across the various C compilers. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com