Click here to Skip to main content
15,883,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: is this tricky Pin
Owner drawn23-Jan-06 19:55
Owner drawn23-Jan-06 19:55 
GeneralRe: is this tricky Pin
Gavin Taylor23-Jan-06 20:03
professionalGavin Taylor23-Jan-06 20:03 
AnswerRe: is this tricky Pin
Michael Dunn23-Jan-06 20:19
sitebuilderMichael Dunn23-Jan-06 20:19 
GeneralRe: is this tricky Pin
Gavin Taylor23-Jan-06 20:33
professionalGavin Taylor23-Jan-06 20:33 
GeneralRe: is this tricky Pin
Ryan Binns23-Jan-06 22:01
Ryan Binns23-Jan-06 22:01 
QuestionDll with real modal dialog boxes Pin
romano_sk23-Jan-06 19:20
romano_sk23-Jan-06 19:20 
AnswerRe: Dll with real modal dialog boxes Pin
romano_sk26-Jan-06 22:23
romano_sk26-Jan-06 22:23 
QuestionCompiler doesn't know class.... sometimes Pin
Lilith.C23-Jan-06 19:01
Lilith.C23-Jan-06 19:01 
In preparation for retro-incorporating the MiniExcel class into a number of my projects I've set up a practice project in order to get familiar with the class. I'm in VC++ 6.0 and the project is an MFC exe. I've put the mexcel.cpp and mexcel.h files in the base project directory. I've added both files to the project. I've #included mexcel.h in stdafx.h and also, for good measure, in the view doc file. The class shows up in the Classes tab, though it doesn't show up in ClassWizard after a rebuild of the CLW file.

I've declare an object of class CMiniExcel as a local variable inside a button message handler. When I go to compile I get four errors. The first three indicate that the class is unknown. The fourth is:

fatal error C1010: unexpected end of file while looking for precompiled header directive

Additionally I've noticed that instead of being placed in the DEBUG directory the system has created a directory with the projects base name followed by ___Win32_Debug

Am I using a class that needs to be modified to work under MFC or am I overlooking something else.



Thanks,
Lilith
AnswerRe: Compiler doesn't know class.... sometimes Pin
Michael Dunn23-Jan-06 20:22
sitebuilderMichael Dunn23-Jan-06 20:22 
GeneralRe: Compiler doesn't know class.... sometimes Pin
Lilith.C24-Jan-06 2:10
Lilith.C24-Jan-06 2:10 
QuestionRe: Compiler doesn't know class.... sometimes Pin
Lilith.C24-Jan-06 6:29
Lilith.C24-Jan-06 6:29 
AnswerRe: Compiler doesn't know class.... sometimes Pin
Michael Dunn24-Jan-06 7:17
sitebuilderMichael Dunn24-Jan-06 7:17 
QuestionMDI non-themed max/min boxes Pin
picazo23-Jan-06 18:49
picazo23-Jan-06 18:49 
AnswerRe: MDI non-themed max/min boxes Pin
Owner drawn23-Jan-06 18:54
Owner drawn23-Jan-06 18:54 
GeneralRe: MDI non-themed max/min boxes Pin
picazo23-Jan-06 18:59
picazo23-Jan-06 18:59 
GeneralRe: MDI non-themed max/min boxes Pin
Owner drawn23-Jan-06 19:22
Owner drawn23-Jan-06 19:22 
GeneralRe: MDI non-themed max/min boxes Pin
picazo23-Jan-06 19:56
picazo23-Jan-06 19:56 
GeneralRe: MDI non-themed max/min boxes Pin
Owner drawn23-Jan-06 22:04
Owner drawn23-Jan-06 22:04 
QuestionEnable dialogue control Pin
Anu_Bala23-Jan-06 17:52
Anu_Bala23-Jan-06 17:52 
AnswerRe: Enable dialogue control Pin
Owner drawn23-Jan-06 18:00
Owner drawn23-Jan-06 18:00 
GeneralRe: Enable dialogue control Pin
namaskaaram24-Jan-06 1:22
namaskaaram24-Jan-06 1:22 
AnswerRe: Enable dialogue control Pin
namaskaaram23-Jan-06 18:33
namaskaaram23-Jan-06 18:33 
QuestionGetting resources from DLL with res: protocol? Pin
Lord Kixdemp23-Jan-06 17:28
Lord Kixdemp23-Jan-06 17:28 
AnswerRe: Getting resources from DLL with res: protocol? Pin
Stephen Hewitt23-Jan-06 17:40
Stephen Hewitt23-Jan-06 17:40 
AnswerRe: Getting resources from DLL with res: protocol? Pin
Prakash Nadar23-Jan-06 18:02
Prakash Nadar23-Jan-06 18:02 

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.