08-10-2007 03:36 AM
08-10-2007 09:43 AM - edited 08-10-2007 09:43 AM
Message Edited by zou on 08-10-2007 09:43 AM
08-13-2007 03:58 AM
08-13-2007 08:51 AM
08-13-2007 09:15 AM
08-13-2007 11:49 AM
08-13-2007 01:11 PM
Sean,
Seems we are working in difference time zone 😉
Since this VI is for you, so there is no license issue here. Feel free to use it wherever you want.
Application Build is not user firendly. It should just skip the VIs it can't open instead of fail.
As a work around, you can call the VIs dynamically. Or create a seperate dll just for these 2 VIs.
So that you don't have to deselected the option to remove unreferenced polymorphic instances.
Please write to me in private (gtoolbox@hotmail.com) for the popup reminder issue, and
the TestStand issue.
George Zou
08-14-2007 05:29 AM
I can't use VI's that don't have a diagram. This application will be used within a secure environment, so I need to be able to analyse the code. There are also many other reasons to not use them, e.g. problems when upgrading LabVIEW, etc, etc. Besides which, it's hardly the community spirit - this forum is intended for shared help, not promotion of proprietary locked code.
Instead of using Zou's VI's, I'm making the following calls from User32.dll
It works a treat. Just one oddity though - the FindWindowA function takes in two strings - Class Name and Window Name. I believe I need to input an empty string as the Class Name. If I set it to empty string then the call always returns 0. I had to (incorrectly) set it to be an I32 set to zero to make it work. I guess this is due to the way that strings are represented as a pointer.
Let me know if I've done anything dodgy here, but it seems like a fix to me. VI attached.
08-14-2007 09:26 AM
08-14-2007 10:03 AM