Link to home
Start Free TrialLog in
Avatar of gkalin
gkalin

asked on

Code Guard problem

I use Code Guard VERSION BC5!!! to debug my 16-bit windows app. and I get a strange
error in the log file:

It says that one of my DLL's did not free the local memory (very small
amount, like 81 bytes) allocated with malloc. It happens even if I don't
call any of the functions in the DLL. All I do is just load the program
and quit it, even though the DLL is loaded automatically (I included the
.lib file in the project), i am shure i am not using any functions from
it, and still I get this message.

I tried searching the "call tree", but the call to malloc appears to
originate from the static run-time library and is not connected with ant
part of the code I have written myself. Also, another error that I get
is that one of the modules is not freed (LoadLibrary is called one time
more then FreeLibrary). This is also very strange since I do not load
any DLL's explicitly, only through .lib files, and the program
terminates normally.

Any help would be greatly appreciated!
Grigory Kalinovsky (gkalin@ibm.net)
ASKER CERTIFIED SOLUTION
Avatar of winmeister
winmeister
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial