We use a dll call in a GuiXT script and have found the following
problem. When we were passing in the "1" to select which com port the scale is connected to, the
switch (portnum) statement in the C++ program would not set the
"CommNum" to any value. You can see I am passing a numeric parameter for
the com port selection, which worked when I used a VB program to call GetComWgt.dll.
Is there any reason why the script will not pass the "1" as a
numeric?
|