I'm having some problems with the prototype in C
This is what I have so far:
and this is what I get during build:
d:\packet\wpdpack\examples\testapp\pbdll.h(1) : error C2143: syntax error : missing ')' before '&'
d:\packet\wpdpack\examples\testapp\pbdll.h(1) : error C2143: syntax error : missing '{' before '&'
d:\packet\wpdpack\examples\testapp\pbdll.h(1) : error C2059: syntax error : '&'
d:\packet\wpdpack\examples\testapp\pbdll.h(1) : error C2059: syntax error : ')'
------------------
-Greg
This is what I have so far:
Code:
typedef int __stdcall yoga( char &strMessage, char strAddressOut, char strAddress2Out, char strSubject );
d:\packet\wpdpack\examples\testapp\pbdll.h(1) : error C2143: syntax error : missing ')' before '&'
d:\packet\wpdpack\examples\testapp\pbdll.h(1) : error C2143: syntax error : missing '{' before '&'
d:\packet\wpdpack\examples\testapp\pbdll.h(1) : error C2059: syntax error : '&'
d:\packet\wpdpack\examples\testapp\pbdll.h(1) : error C2059: syntax error : ')'
------------------
-Greg
Comment