PDA

View Full Version : problem with rts library



matsurambo
05-15-2008, 09:45 PM
hello there!!!
i need to help!!!
i want to add rts library(rts.c & rtsshadow.h) to my project(i made from MFC VC++ ver.6)
after add file then debug i found this error, i'm not idea what is this...
"rts.c
d:\buat ta\yang dipake\cobabayangan\rtsshadow.c(2156) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe."

please help me any body!!!! what i must to do?Thanks...

Eckos
05-15-2008, 10:45 PM
Um quit using Visual C++ 6 and use a upsdated version like visual C++ Express 2008 which is free

Joseph Steel
05-16-2008, 01:11 AM
It sounds like you've got "Use Precompiled Headers" enabled in your compiler settings. You need to add the relevant header file to rts.c - this might be stdafx.h. Alternatively disable using precompiled headers.

matsurambo
05-18-2008, 08:37 PM
Thanks.. i'll try