Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: basetsd.h? Pin
Bob Stanneveld18-Jul-03 8:10
Bob Stanneveld18-Jul-03 8:10 
GeneralRe: basetsd.h? Pin
John M. Drescher18-Jul-03 8:39
John M. Drescher18-Jul-03 8:39 
Questionbasetsd.h? Pin
DaveE9th17-Jul-03 20:14
DaveE9th17-Jul-03 20:14 
AnswerRe: basetsd.h? Pin
Andrew Walker17-Jul-03 20:18
Andrew Walker17-Jul-03 20:18 
GeneralTemplate Class App-Wizard Parsing Error Pin
Wonderful Cow17-Jul-03 18:40
Wonderful Cow17-Jul-03 18:40 
GeneralRe: Template Class App-Wizard Parsing Error Pin
John M. Drescher17-Jul-03 19:04
John M. Drescher17-Jul-03 19:04 
GeneralRe: Template Class App-Wizard Parsing Error Pin
Wonderful Cow17-Jul-03 19:37
Wonderful Cow17-Jul-03 19:37 
GeneralRe: Template Class App-Wizard Parsing Error Pin
John M. Drescher17-Jul-03 19:57
John M. Drescher17-Jul-03 19:57 
Wonderful Cow wrote:
I tried putting it only in a implementation file, but I get a "unexpected end of file" compiler error.

Well the short answer is you can't put it in an implementation file. Here is the explanation:

http://www.codeproject.com/cpp/templatesourceorg.asp?target=templates%7C%2Dasp[^]

As for the "unexpected end of file" compiler error that is because you are using precompiled headers. With precompiled headers the first statement in every implementation file must be #include "stdafx.h" otherwise you will have problems...

I would check your view class for the error, it is most likely there.




John
GeneralRe: Template Class App-Wizard Parsing Error Pin
Andrew Walker17-Jul-03 20:03
Andrew Walker17-Jul-03 20:03 
GeneralRe: Template Class App-Wizard Parsing Error Pin
John M. Drescher17-Jul-03 20:07
John M. Drescher17-Jul-03 20:07 
GeneralRe: Template Class App-Wizard Parsing Error Pin
Andrew Walker17-Jul-03 20:13
Andrew Walker17-Jul-03 20:13 
GeneralRe: Template Class App-Wizard Parsing Error Pin
John M. Drescher17-Jul-03 19:49
John M. Drescher17-Jul-03 19:49 
GeneralRe: Template Class App-Wizard Parsing Error Pin
Wonderful Cow17-Jul-03 21:35
Wonderful Cow17-Jul-03 21:35 
GeneralRe: Template Class App-Wizard Parsing Error Pin
Wonderful Cow17-Jul-03 21:09
Wonderful Cow17-Jul-03 21:09 
Questionhow to get the wm_keydown msg Pin
gucy17-Jul-03 15:27
gucy17-Jul-03 15:27 
GeneralGetting application name which is using serial port Pin
haritadala17-Jul-03 14:45
haritadala17-Jul-03 14:45 
GeneralRe: Getting application name which is using serial port Pin
Iain Clarke, Warrior Programmer17-Jul-03 22:26
Iain Clarke, Warrior Programmer17-Jul-03 22:26 
GeneralExecute functions in context of other thread Pin
Mike_V17-Jul-03 13:37
Mike_V17-Jul-03 13:37 
GeneralRe: Execute functions in context of other thread Pin
Michael Dunn17-Jul-03 13:53
sitebuilderMichael Dunn17-Jul-03 13:53 
GeneralRe: Execute functions in context of other thread Pin
Mike_V17-Jul-03 14:00
Mike_V17-Jul-03 14:00 
GeneralRe: Execute functions in context of other thread Pin
Michael Dunn17-Jul-03 14:42
sitebuilderMichael Dunn17-Jul-03 14:42 
GeneralTool windows in an MDI App Pin
XboxHomebrewer17-Jul-03 13:15
XboxHomebrewer17-Jul-03 13:15 
GeneralFunction template Pin
RalfPeter17-Jul-03 12:27
RalfPeter17-Jul-03 12:27 
GeneralRe: Function template Pin
John M. Drescher17-Jul-03 12:45
John M. Drescher17-Jul-03 12:45 
QuestionHow to Use Precompiled OBJ Pin
Johan_yo17-Jul-03 12:05
Johan_yo17-Jul-03 12:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.