NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory leak when I use function with bstr_t type

Hello,

I use Visual C++ 6 and TestStand 3.1.

I use the tool: Purify from Rational Instruments to detect memory leak in my code.

When I use in my code, functions from the TestStand API using bstr_t types: GetValString, GetType... memory leaks appear.

Do you have an idea to solve this problem?

Thanks
0 Kudos
Message 1 of 2
(3,681 Views)
Breizh,

Etes vous sur que le problèmes soit lié au type bstr_r ?
Pouvez vous me faire parvenir un exemple de code mettant en oeuvre la fuite mémoire?

Raphaël T.
NI FRANCE
Cordialement,
Raphael T
0 Kudos
Message 2 of 2
(3,661 Views)