Error with libraries?
-
Hi all! I've done a Visual C++ application and it works perfectly, but when I have done another similar one using the same include statements and in the same order, I get these errors:
C:\Archivos de programa\Microsoft Visual Studio\MyProjects\imevo_versiones\ejemplo ivocom 1\ventana\speech.h(468) : error C2146: syntax error : missing ';' before identifier 'FAR' C:\Archivos de programa\Microsoft Visual Studio\MyProjects\imevo_versiones\ejemplo ivocom 1\ventana\speech.h(468) : fatal error C1004: unexpected end of file found
I never got these errors before and the changes that I've done doesn't matter this header "speech.h" (I think so at least). Any ideas? Thank you in advance! -
Hi all! I've done a Visual C++ application and it works perfectly, but when I have done another similar one using the same include statements and in the same order, I get these errors:
C:\Archivos de programa\Microsoft Visual Studio\MyProjects\imevo_versiones\ejemplo ivocom 1\ventana\speech.h(468) : error C2146: syntax error : missing ';' before identifier 'FAR' C:\Archivos de programa\Microsoft Visual Studio\MyProjects\imevo_versiones\ejemplo ivocom 1\ventana\speech.h(468) : fatal error C1004: unexpected end of file found
I never got these errors before and the changes that I've done doesn't matter this header "speech.h" (I think so at least). Any ideas? Thank you in advance!If memory serves me you are missing a semicolon at the end of the class prototyped in speech.h
-
If memory serves me you are missing a semicolon at the end of the class prototyped in speech.h
-
Hi all! I've done a Visual C++ application and it works perfectly, but when I have done another similar one using the same include statements and in the same order, I get these errors:
C:\Archivos de programa\Microsoft Visual Studio\MyProjects\imevo_versiones\ejemplo ivocom 1\ventana\speech.h(468) : error C2146: syntax error : missing ';' before identifier 'FAR' C:\Archivos de programa\Microsoft Visual Studio\MyProjects\imevo_versiones\ejemplo ivocom 1\ventana\speech.h(468) : fatal error C1004: unexpected end of file found
I never got these errors before and the changes that I've done doesn't matter this header "speech.h" (I think so at least). Any ideas? Thank you in advance!Try using
#include <windows.h>
before you include speech.hRyan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"