LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Too many macro parameters?

hi
i use CVI 5.5 on windows 2000

I try a code with more then 32 paramaters in a macro
#define DoSomthing(a1,a2 ... a32,a33)but got this error
Too many macro parameters
i try this code in microsoft VC++6 and its work fine
can i change the limit of the parameter or its hardcodede ?
thanks
hanan
0 Kudos
Message 1 of 2
(2,780 Views)
Hello

This is a limitation of the compiler. If you check out the CVI programmers reference manual, pg 1-1, it mentions 32 being the max limit for macro parameters.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,780 Views)