From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

what HEAD error means?

Hi,
I'm trying to developp a bench test using a device that communicate through serial RS232. I used an active X component that comes from another application in order to create a driver. Unfortunately when I execute my program the debug windows says : "HEAP[essai er1.0_dbg.exe]: Invalid Address specified to RtlFreeHeap( 00140000, 0042BF5C )"
What does this error means?
Yours faithfully
Katia
0 Kudos
Message 1 of 2
(2,863 Views)
Hi Katia,
Heap refers to a memory space for dynamically allocated variables (pointers...). Your error sounds like a desallocation error. Are you sure you are closing reference to your activeX control when you are exiting your exe ?
We do not have enough infos to help you much.
if you have not solved your problem, please attach a sample code which erproduce the problem and indicate the CVI version you uses.

Regards

Salissou ISSA
Applications Engineer
NI France
0 Kudos
Message 2 of 2
(2,863 Views)