AnsweredAssumed Answered

vrf AW: DLL Question

Question asked by VRFuser on Jul 15, 2003
Dear Lee,

we are using a DLL to use USB-Devices. Our header file is using declarations
for data structures by Value and by Reference (pointer).

long __stdcall function_name();
// function with no input returns a long by value
void __stdcall funktion_name(long value);
// function with a long (ByVal) with no output
long __stdcall function_name(long val1, long *val2);
// function with a long (val1) by value and a long (val2) by reference as input 
// and a long as output
// * is the declaration for a pointer (ByRef)

Best regards

Michael

Dr.-Ing. Michael Nass
EMC-Lab Manager
----------------------------------
CE-SYS GmbH Ilmenau
Am Hammergrund 1
D-98693 Ilmenau
Tel.: +49(0)3677/64790
Fax:  +49(0)3677/647999
m.nass@ce-sys-ilmenau.de
www.ce-sys-ilmenau.de
----------------------------------


-----Ursprngliche Nachricht-----
Von: Dr. Richard J.A. Wilson [mailto:wilsonr@ucalgary.ca]
Gesendet: Mittwoch, 16. Juli 2003 05:27
An: VEE vrf
Betreff: [vrf] Re: DLL Question


Dear Lee,

I hit this problem too, spent a few hours playing and ended up taking a non .dll approach. What would be really coooool is if some serious VRFer wrote a VEE program that automatically converted header files into VEE format.

70 virgins would surely await them on completion.

On the topic of coool, if anyone from Agilent is reading this, please think of adding a zoom in/ zoom out magnifying glass tool in the next version to facilitate browsing large programs. Does anyone else think such a tool would be useful?

Best wishes,
Richard.


lee.hudson@lumileds.com said:

> Hi All,
>
> I trying to work with a *.DLL file in VEE and I'm having trouble
> converting
the definition file (i.e. header) to one that is acceptable to VEE.  Does anyone know if VEE can pass pointers to data structures?  And ... if so could you *please* send me an example?  I am really green at this and I can get some of the functions in the *.DLL to work but not others.
>
> Thanks in advance,
> Lee
>
> Lee Hudson, R&D Scientist
> LumiLeds Lighting, U.S., LLC
> 370 West Trimble Road, MS 91ML
> San Jose, CA 95131
> (408) 435-5834
> (408) 435-6574 FAX
> lee.hudson@lumileds.com
>  <http://www.lumileds.com/> http://www.lumileds.com 
> <http://www.luxeon.com/> http://www.luxeon.com
>
>
>
>
>
> ---
> You are currently subscribed to vrf as: wilsonr@ucalgary.ca To
> subscribe send a blank email to "join-vrf@it.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@it.lists.it.agilent.com".

> If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
>



-- _________________________________________________________________________

Dr. R.J.A. Wilson,
Dept. Physiology and Biophysics
University of Calgary.
3330 Hospital Dr., N.W.,
Calgary, Alberta,
Canada, T2N 4N1.
Tel. (403) 220-8460




---
You are currently subscribed to vrf as: m.nass@ce-sys-ilmenau.de To subscribe send a blank email to "join-vrf@it.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@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.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@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes