Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: AFX_EXT_CLASS Problem. Pin
Niklas L1-Nov-10 23:35
Niklas L1-Nov-10 23:35 
QuestionHelp me DisConnect Internet use Ras Pin
so0_lanhlung21-Nov-10 8:10
so0_lanhlung21-Nov-10 8:10 
AnswerRe: Help me DisConnect Internet use Ras Pin
«_Superman_»1-Nov-10 8:15
professional«_Superman_»1-Nov-10 8:15 
GeneralRe: Help me DisConnect Internet use Ras Pin
so0_lanhlung21-Nov-10 8:28
so0_lanhlung21-Nov-10 8:28 
GeneralRe: Help me DisConnect Internet use Ras Pin
«_Superman_»1-Nov-10 8:41
professional«_Superman_»1-Nov-10 8:41 
AnswerRe: Help me DisConnect Internet use Ras Pin
David Crow1-Nov-10 9:11
David Crow1-Nov-10 9:11 
AnswerRe: Help me DisConnect Internet use Ras Pin
Alain Rist1-Nov-10 10:15
Alain Rist1-Nov-10 10:15 
QuestionC2504 error using CMFCButton (or other CMFCFxxx classes) within a DLL Pin
Ralph1-Nov-10 6:51
Ralph1-Nov-10 6:51 
I'm using the Visual Studio 2010 under XP Prof, compiling a MFC application.

I've created a dll, which works without problems, so far so good.
But now I liked to move some code from my main application to that dll, this code uses the CMFCPropertyGridProperty class.
After that, I tried to compile my dll, but the compiler throws a C2504 error (unknown basic class). Compiling the same piece of code within my main application everything works fine.
At least I tried to use some other classes like CMFCButton in my dll, but the compiler throws the same error, on the other hand I use classes like CBitmap or CString in my dll, without any errors.

Has anyone an idea, how to use "CMFC..."-classes with in a DLL, please let me know.

Thanks a lot!
Ralph
QuestionRe: C2504 error using CMFCButton (or other CMFCFxxx classes) within a DLL Pin
Christoph Bail1-Nov-10 9:14
Christoph Bail1-Nov-10 9:14 
AnswerRe: C2504 error using CMFCButton (or other CMFCFxxx classes) within a DLL Pin
Ralph1-Nov-10 20:29
Ralph1-Nov-10 20:29 
GeneralRe: C2504 error using CMFCButton (or other CMFCFxxx classes) within a DLL Pin
Christoph Bail1-Nov-10 21:07
Christoph Bail1-Nov-10 21:07 
GeneralRe: C2504 error using CMFCButton (or other CMFCFxxx classes) within a DLL Pin
Ralph2-Nov-10 8:49
Ralph2-Nov-10 8:49 
GeneralRe: C2504 error using CMFCButton (or other CMFCFxxx classes) within a DLL Pin
Christoph Bail2-Nov-10 10:37
Christoph Bail2-Nov-10 10:37 
QuestionICommDlgBrowser2 interface not working.... Pin
AmbiguousName1-Nov-10 6:05
AmbiguousName1-Nov-10 6:05 
AnswerRe: ICommDlgBrowser2 interface not working.... Pin
CPallini1-Nov-10 23:15
mveCPallini1-Nov-10 23:15 
QuestionCompiler error when including afxtempl.h Pin
piul1-Nov-10 2:55
piul1-Nov-10 2:55 
AnswerRe: Compiler error when including afxtempl.h Pin
Christoph Bail1-Nov-10 4:03
Christoph Bail1-Nov-10 4:03 
GeneralRe: Compiler error when including afxtempl.h Pin
piul1-Nov-10 4:46
piul1-Nov-10 4:46 
GeneralRe: Compiler error when including afxtempl.h Pin
Christoph Bail1-Nov-10 5:08
Christoph Bail1-Nov-10 5:08 
GeneralRe: Compiler error when including afxtempl.h Pin
piul1-Nov-10 5:40
piul1-Nov-10 5:40 
GeneralRe: Compiler error when including afxtempl.h Pin
Christoph Bail1-Nov-10 6:10
Christoph Bail1-Nov-10 6:10 
GeneralRe: Compiler error when including afxtempl.h Pin
piul1-Nov-10 6:38
piul1-Nov-10 6:38 
GeneralRe: Compiler error when including afxtempl.h Pin
Christoph Bail1-Nov-10 7:30
Christoph Bail1-Nov-10 7:30 
QuestionRe: Compiler error when including afxtempl.h Pin
David Crow1-Nov-10 5:04
David Crow1-Nov-10 5:04 
AnswerRe: Compiler error when including afxtempl.h Pin
piul1-Nov-10 5:52
piul1-Nov-10 5:52 

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.