LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview DLL

Hey i have some trouble send and receiving strings from a dll build in
labview. I use the CStr pointer has anyone an example written in Visual C++
that access the Strings from a Labview dll

Regards
Esben

--
0 Kudos
Message 1 of 3
(2,919 Views)
To call a LabVIEW DLL from C you should tell LabVIEW to pass the string as a C string. Do not use LabVIEW strings, as there is no easy way for the caller of the DLL to properly create a LabVIEW string to be passed into the DLL.
0 Kudos
Message 2 of 3
(2,919 Views)
i only see 3 ways to pass a string in the define prototype dialog.

string handle pointer
Cstring pointer
Pascal string pointer

Could any just tell me how to pass astring to a labview dll from MFC with
just one of these methods

regards Esben

----- Original Message -----
From: Matt R
Newsgroups: comp.lang.labview
Sent: Friday, April 27, 2001 12:20 AM
Subject: Re: Labview DLL


> To call a LabVIEW DLL from C you should tell LabVIEW to pass the
> string as a C string. Do not use LabVIEW strings, as there is no easy
> way for the caller of the DLL to properly create a LabVIEW string to
> be passed into the DLL.
0 Kudos
Message 3 of 3
(2,919 Views)