> Thanks, I'll give this a try...Bill
Cool. I'm actually impressed at how easy it is (never done this before). If you've never remoted anything with MSRPC it can be a frustrating experience.
Further notes: the geometry parameter (1024x768+0-0) can be replaced with NULL. I didn't realize this until after I sent it. Also, if the VEE function call fails (vrpcCallAndReceive) then the In parameter is left hanging (i.e.
it leaks). Technically it's not a big deal because it gets cleaned up automatically, but it's still bad form.
-SHAWN-
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
Cool. I'm actually impressed at how easy it is (never done this before). If you've never remoted anything with MSRPC it can be a frustrating experience.
Further notes: the geometry parameter (1024x768+0-0) can be replaced with NULL. I didn't realize this until after I sent it. Also, if the VEE function call fails (vrpcCallAndReceive) then the In parameter is left hanging (i.e.
it leaks). Technically it's not a big deal because it gets cleaned up automatically, but it's still bad form.
-SHAWN-
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
leave the subject blank and in the message body put only the word "subscribe"
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
> how to call a VEE function from C
> (not C++)?
Sorry, no. Er, not at the moment. I'll see if I can whip up something quick.
> The Agilent C example (callVEE.c)
> seems far more complicated than the
> VB example (CallVEE.frm). Is it really
> that much more difficult in C?
Well they're using different methods. The C version is using VEE's RPC API &
the other versions (C++ & VB) are using the control. You can use the control
in C too, but it ain't pretty.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email request to "join-vrf@lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".