03-17-2010 03:42 AM
Hello All,
Sorry for the inconvenience,but according to this link,there is plenty of tools that are available to test
DLL COM server's functionality.
We would like to call/test our COM server's functionality.
http://zone.ni.com/devzone/cda/tut/p/id/2981
I would need this kind of tool.
Any help will be appreciated.
Thanks for in advance.
Szabolcs
03-17-2010 06:58 AM - edited 03-17-2010 06:59 AM
What is it you are trying to test exactly?
Is it a pure COM server or does it have an Active X interface?
ActiveX is using COM as its binary interface but defines an additional interface description standard, so that other languages than C(++) can access it. LabVIEW supports accessing ActiveX interfaces but can't access COM interfaces directly as it does not understand the C(++) headers nor any possible IDL file, and that would be very hard anyhow.
If what you want to test is the actual COM interface of your server itself then I would recommend to really write a test framework in C++ as that is the best way to go about that. If it is some functionality in the COM server you have two options if you insist in using LabVIEW. You can add the necessary ActiveX definitions to your COM server and register them in your system so you can use the LabVIEW ActiveX nodes to access your server objects and their methods and properties. In that way you can create your LabVIEW VI library to do what you want.
Another less common method would be to create a sort wrapper DLL in C(++) that accesses your COM server directly and exports according standard C functions that you can invoke in LabVIEW through the Call Library Node.