Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use IMAQ without Labview?(C# dll)

0 Kudos
Message 1 of 2
(3,354 Views)

Sorry, I just can't paste my question.....so I type it again.

 

Hello,


Can I do this??


I tried to build a dll file from a VI which includs vi from VASAugust2010(IMAQ)


and some problems occurred when I click "Shared Library":
Visit the Request Support page at ni.com/ask to learn more about resolving this problem.

Use the following information as a reference:
Error -2147221480 occurred at Building DLL.

An error occurred compiling the DLL because a function or parameter name is illegal. Please verify that the function and/or parameter names are legal C identifiers and do not conflict with LabVIEW headers.

Additional Information: Grab.c - 13 errors 

70, 35 syntax error; found '*' expecting ')'. 

72, 67 Extraneous formal parameter specification. 

80, 35 syntax error; found '*' expecting ')'. 

82, 68 Missing prototype. (Require function prototypes build option is enabled.) 

92, 12 Undeclared identifier 'SessionIn'. 97, 12 Undeclared identifier 'ImageIn'. 

102, 12 Undeclared identifier 'WaitForNextBufferYes'. 

107, 12 Undeclared identifier 'errorIn'. 

115, 16 Undeclared identifier 'SessionOut'. 

117, 16 Undeclared identifier 'ImageOut'. 

119, 16 Undeclared identifier 'BufferNumberOut'. 

119, 50 Type error: pointer expected. 

 

120, 16 Undeclared identifier 'errorOut'.

ERROR_REPORTED_TO_USER
This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input.
 
And I also check this example is for c# vi linking http://zone.ni.com/devzone/cda/epd/p/id/3838
 
If I want to do like this,what should I do to my VI?
 
David
Rookie

 

P.S. My Internet Explorer 9(64bits) Doesn't work on this website.

0 Kudos
Message 2 of 2
(3,318 Views)