Hi there
Shouldn't be a problem - try using something like,
short __stdcall Connect(short Comport, short *Handle);
As the .def file and use the import compiled function userobject. VEE just has slightly different terminology for the datatypes so it should just be a case of playing around with the header.
Shaun H
-----Original Message-----
From: Soeren.Hedemand@nokia.com [mailto:Soeren.Hedemand@nokia.com]
Sent: Tuesday, November 06, 2007 7:04 AM
To: VRF
Subject: [vrf] Call to dll
Hi all.
I need to call afunction inside a dll file. The problem is that the header file looks something like this:
Bool Connect(unsigned char Comport, Int *Handle);
Is this even possible from Vee 8?
/Søren
---
You are currently subscribed to vrf as: shaun.harwood@siemens.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
with the word subscribe in the message body.
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
"http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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 "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
Shouldn't be a problem - try using something like,
short __stdcall Connect(short Comport, short *Handle);
As the .def file and use the import compiled function userobject. VEE just has slightly different terminology for the datatypes so it should just be a case of playing around with the header.
Shaun H
-----Original Message-----
From: Soeren.Hedemand@nokia.com [mailto:Soeren.Hedemand@nokia.com]
Sent: Tuesday, November 06, 2007 7:04 AM
To: VRF
Subject: [vrf] Call to dll
Hi all.
I need to call afunction inside a dll file. The problem is that the header file looks something like this:
Bool Connect(unsigned char Comport, Int *Handle);
Is this even possible from Vee 8?
/Søren
---
You are currently subscribed to vrf as: shaun.harwood@siemens.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com"
with the word subscribe in the message body.
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
"http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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 "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
I need to call afunction inside a dll file. The problem is that the header file looks something like this:
Bool Connect(unsigned char Comport, Int *Handle);
Is this even possible from Vee 8?
/Søren
---
You are currently subscribed to vrf as: ming_meng@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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 "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".