AnsweredAssumed Answered

vrf Importing DLL's, passing by reference

Question asked by VRFuser on Aug 19, 2004
Shawn Fessenden wrote the following:
>>//The output should be "1=NOSTAGE
2=NOSTAGE
3=NOSTAGE
4=NOSTAGE
"
>
> Got it. The declaration is wrong. Use a single splat. On both Axes and
> names. What we have here is:
>
> int __stdcall C843_qVST(
>   [in]  int   iId,
>   [in]  char* szAxes,
>   [out] char* names,
>   [in]  int   maxlen);

The declaration is well messed up.  I eventually used:
int __stdcall c843_qCST(
     const int iId
     const char* szAxes
           char* names
     const int maxlen);

Now all I have to do is go through the 100 or so function declarations and fix
each one

Thanks for your help Shawn (and others).

--
Graeme Hilton
Product Engineer

Schlumberger Sensa

---
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@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes