Hi guys,
I have been trying to use the mscomm32.ocx library in my project but to no avail.
generally, i try to use the #import directive to import the library.
However, i get some weired errors from non-project files viz:
#import "C:\\Documents and Settings\\Marembo\My Documents\\Visual Studio 2008\\Projects\\BlueTraxGI\\libraries\\mscomm32.ocx"
//errors include
1>Compiling...
1>bcdatabase.cpp
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(83) : error C2146: syntax error : missing ';' before identifier 'data'
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(83) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(83) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(92) : error C2146: syntax error : missing ';' before identifier 'data'
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(92) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(92) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(98) : error C2146: syntax error : missing ';' before identifier 'data'
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(98) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(98) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(104) : error C2146: syntax error : missing ';' before identifier 'data'
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(104) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(104) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(110) : error C2146: syntax error : missing ';' before identifier 'data'
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(110) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(110) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v6.0a\include\wtypes.h(116) : error C2146: syntax error : missing ';' before identifier 'data'
...
can someone really help me on this, because it is really stressful now
thanks in advance