LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

SafeArrayAccessData

Hello:

I'm trying to read values from a variant. I have successfully pass it from variant to safearray. But when I use the SafeArrayAccessData (psa, (void **)&lArray); it give me the next error: undefined symbol '_SafeArrayAccessData@8' .

 

Thank you.

 

Francisco

Francisco J. Sanchez, M. Sc.
fjs695@mail.usask.ca
0 Kudos
Message 1 of 2
(4,059 Views)

Hi fjs695,

 

In order to remove that error you will need to include the oleaut32 library to your project using this KB [broken link removed], acording to the Availability of Interface to Win32 Application Programmatic Interface (API) Functions.

 

Thanks

Ryan T
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(4,006 Views)