Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Problem with .DLL file

WizardyWizardy Member Posts: 24
Hi!

I have a problem freeing a memory which was allocated in a .DLL file. I found this in a "dbgheap.c" file -> "Pointers from

non-local heaps cannot be handled. For example, a non-local pointer may come from a DLL that has the CRT linked-in."

So, my question is, how can I free a memory which was allocated in a .DLL file?

This is the code:

in .DLL file I have two files compiled, translate.c and translate.h

code:
/*
TRANSLATE.C
*/
# include
# include

Comments

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    : Hi!
    :
    : I have a problem freeing a memory which was allocated in a .DLL file. I found this in a "dbgheap.c" file -> "Pointers from
    :
    : non-local heaps cannot be handled. For example, a non-local pointer may come from a DLL that has the CRT linked-in."
    :
    : So, my question is, how can I free a memory which was allocated in a .DLL file?
    :
    : This is the code:
    :
    : in .DLL file I have two files compiled, translate.c and translate.h
    :
    : code:
    : /*
    : TRANSLATE.C
    : */
    : # include
    : # include
  • WizardyWizardy Member Posts: 24
    : : Hi!
    : :
    : : I have a problem freeing a memory which was allocated in a .DLL file. I found this in a "dbgheap.c" file -> "Pointers from
    : :
    : : non-local heaps cannot be handled. For example, a non-local pointer may come from a DLL that has the CRT linked-in."
    : :
    : : So, my question is, how can I free a memory which was allocated in a .DLL file?
    : :
    : : This is the code:
    : :
    : : in .DLL file I have two files compiled, translate.c and translate.h
    : :
    : : code:
    : : /*
    : : TRANSLATE.C
    : : */
    : : # include
    : : # include
Sign In or Register to comment.