LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Time Error on calling Easy_Tab

I am using    EasyTab_AddPanels command. It works well, but when I quit my programm (debugger mode, I have not tryed in relase mode) I get following message(popup): "Unknown source position.thread id.....
ynamic memory is corrupt."
Why ?
0 Kudos
Message 1 of 3
(2,934 Views)
It's not so easy to answer your question. "Unknown source position" in the error message usually means the error doesn't lie in the source file included in the project, so the easiest place where to look is probably the easytab instrument. You could try attaching the source code to the instrument an enabling Break on Library error to look where the error arises, but unless you deep into the instrument source code, this information will probably be meaningless to you.

To investigate the possible causes, we sould have some notion of the operations you do on the easytab control: are you adding or deleting controls after the panels are added to easytab? Or are you modifying the callback of a control? Since the instrument chains its own callbacks to those define
d originally for panels and controls, these operations lead to several type of errors.

Try discarding the easytab control before quitting the program, the make sure the error lies in the easytab instrument and not elsewhere in the program.

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(2,934 Views)
I saw the same behavior some time ago. We tried several things. Finally, the project was compiled in release mode and it worked fine.
0 Kudos
Message 3 of 3
(2,934 Views)