The maple11 code and error message
![`:=`(MyCFuncCall, define_external('MyCFunc', `::`(n1, integer[4]), `::`(n2, integer[4]), `::`(n3, integer[4]), `::`(n4, integer[4]), `::`(n5, integer[4]), `::`(n6, integer[4]), `::`(n7, integer[4]), `...](images/callDLL3_1.gif)
![`:=`(MyCFuncCall, define_external('MyCFunc', `::`(n1, integer[4]), `::`(n2, integer[4]), `::`(n3, integer[4]), `::`(n4, integer[4]), `::`(n5, integer[4]), `::`(n6, integer[4]), `::`(n7, integer[4]), `...](images/callDLL3_2.gif)
![`:=`(MyCFuncCall, define_external('MyCFunc', `::`(n1, integer[4]), `::`(n2, integer[4]), `::`(n3, integer[4]), `::`(n4, integer[4]), `::`(n5, integer[4]), `::`(n6, integer[4]), `::`(n7, integer[4]), `...](images/callDLL3_3.gif)
![`:=`(MyCFuncCall, define_external('MyCFunc', `::`(n1, integer[4]), `::`(n2, integer[4]), `::`(n3, integer[4]), `::`(n4, integer[4]), `::`(n5, integer[4]), `::`(n6, integer[4]), `::`(n7, integer[4]), `...](images/callDLL3_4.gif)
![`:=`(MyCFuncCall, define_external('MyCFunc', `::`(n1, integer[4]), `::`(n2, integer[4]), `::`(n3, integer[4]), `::`(n4, integer[4]), `::`(n5, integer[4]), `::`(n6, integer[4]), `::`(n7, integer[4]), `...](images/callDLL3_5.gif)
![`:=`(MyCFuncCall, define_external('MyCFunc', `::`(n1, integer[4]), `::`(n2, integer[4]), `::`(n3, integer[4]), `::`(n4, integer[4]), `::`(n5, integer[4]), `::`(n6, integer[4]), `::`(n7, integer[4]), `...](images/callDLL3_6.gif)
![`:=`(MyCFuncCall, define_external('MyCFunc', `::`(n1, integer[4]), `::`(n2, integer[4]), `::`(n3, integer[4]), `::`(n4, integer[4]),
`::`(n5, integer[4]), `::`(n6, integer[4]), `::`(n7, integer[4]), `...](images/callDLL3_7.gif)
Error, (in MyCFuncCall) internal limit reached: too many arguments in external procedure definition
The C code file contents
//the export declaration
__declspec( dllexport )
BOOLEAN MyCFunc(
UINT ui1, UINT ui2, UINT ui3, UINT ui4, UINT ui5, UINT ui6, UINT ui7, UINT ui8, UINT ui9,
UINT ui10, UINT ui11, UINT ui12, UINT ui14, UINT ui15, UINT ui16, UINT ui17, UINT ui18, UINT ui19,
UINT ui20, UINT ui21, UINT ui22, UINT ui23);
//the function
BOOLEAN MyCFunc( UINT ui1, UINT ui2, UINT ui3, UINT ui4, UINT ui5, UINT ui6, UINT ui7, UINT ui8, UINT ui9,
UINT ui10, UINT ui11, UINT ui12, UINT ui14, UINT ui15, UINT ui16, UINT ui17, UINT ui18, UINT