Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   FreeLibrary() Function (http://www.chiefdelphi.com/forums/showthread.php?t=21610)

Raven_Writer 09-08-2003 15:39

FreeLibrary() Function
 
Using Rob Bayer's tutorial on his website on using the tokenizer.dll, he says use FreeLibrary(myLib); to free up memory used by the dll, but when I do that (at every point of closing down the program), my program crashes. It works without loading and freeing tokenizer.dll, but it crashes when I do either.

Does anyone have an idea why this happens, or if it's happened to you?

[EDIT]: After looking Rob's code, I fixed most of my problem....I still have a memory leak though.....debug to the rescue! [/EDIT]


All times are GMT -5. The time now is 17:31.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi