I'm calling an external application from within a vi. The ext ap wants the calling vi's handle to enable a button to return to the calling program. Can I get this from Labview 7.0? WinXP platform.
VI's do not have handles. What they do have are refnums, which functionally represent the same thing as handles. To pass this to your external application, see the attached example VI. All you have to do to have it work for your application is either change the VI path constant or just copy the code and paste it into your application.
Thanks, I had searched ni.com to no avail. Your link was what I was looking for.
Tom
"A Rafiq" wrote in message news:50650000000500000059C10100-1079395200000@exchange.ni.com... > The above example will not work because VI refnum casted to U32 is > different than actual window handle. > > Whitaker, please take a look at this > http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/136f6b1f34cbb76e852563fc007aefc7?OpenDocument > > A Rafiq