Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondissertation coding...converting c++ to java...what does this line do? Pin
c#_keithy17-Nov-08 11:37
c#_keithy17-Nov-08 11:37 
AnswerRe: dissertation coding...converting c++ to java...what does this line do? Pin
PJ Arends17-Nov-08 11:52
professionalPJ Arends17-Nov-08 11:52 
GeneralRe: dissertation coding...converting c++ to java...what does this line do? Pin
c#_keithy17-Nov-08 12:01
c#_keithy17-Nov-08 12:01 
GeneralRe: dissertation coding...converting c++ to java...what does this line do? Pin
Dave Doknjas17-Nov-08 13:45
Dave Doknjas17-Nov-08 13:45 
QuestionConv. VC++ 6.0 to VC++2008 Pin
Dale Bourne17-Nov-08 10:17
Dale Bourne17-Nov-08 10:17 
QuestionRe: Conv. VC++ 6.0 to VC++2008 Pin
David Crow17-Nov-08 10:58
David Crow17-Nov-08 10:58 
AnswerRe: Conv. VC++ 6.0 to VC++2008 Pin
PJ Arends17-Nov-08 11:45
professionalPJ Arends17-Nov-08 11:45 
QuestionHow to create a MFC Dll to use managed extensions?? Pin
materatsu17-Nov-08 8:53
materatsu17-Nov-08 8:53 
Hi dudes!

I am currently facing this problem, i am creating a new MFC static Dll but when i add the CLR support i get weird errors like:
->Command line error D8016 : '/MTd' and '/clr' command-line options are incompatible cl
i "fixed" this by changing Runtime Library to '/MDd' option

And then it throws me:
->fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d] C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h 24
I change my Dll to MFC shared dll version

Next it compiles but it gives me this warnings:
->warning LNK4099: PDB 'mfcm80ud.i386.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\mfcm80ud.lib' or at 'c:\XXX\npwyncs_dll\debug\mfcm80ud.i386.pdb'; linking object as if no debug info

My question is what is the correct or best way of doing an MFC dll support CLR, cause i am not too comfortable doing all this ?

Thx
AnswerRe: How to create a MFC Dll to use managed extensions?? Pin
led mike17-Nov-08 9:21
led mike17-Nov-08 9:21 
Questionvc++ owner drawn button Pin
Rajesh Katalkar17-Nov-08 7:32
Rajesh Katalkar17-Nov-08 7:32 
AnswerRe: vc++ owner drawn button Pin
Hamid_RT17-Nov-08 7:42
Hamid_RT17-Nov-08 7:42 
QuestionEMail Pin
BobInNJ17-Nov-08 6:16
BobInNJ17-Nov-08 6:16 
AnswerRe: EMail Pin
Chris Losinger17-Nov-08 6:41
professionalChris Losinger17-Nov-08 6:41 
AnswerRe: EMail Pin
David Crow17-Nov-08 7:05
David Crow17-Nov-08 7:05 
QuestionSystem monitor? Pin
DarthKarnage17-Nov-08 5:57
DarthKarnage17-Nov-08 5:57 
AnswerRe: System monitor? Pin
Hamid_RT17-Nov-08 7:34
Hamid_RT17-Nov-08 7:34 
AnswerRe: System monitor? Pin
22491717-Nov-08 19:17
22491717-Nov-08 19:17 
QuestionDrawing with pixel coordinates Pin
emrahustun17-Nov-08 4:51
emrahustun17-Nov-08 4:51 
AnswerRe: Drawing with pixel coordinates Pin
Cedric Moonen17-Nov-08 5:02
Cedric Moonen17-Nov-08 5:02 
AnswerRe: Drawing with pixel coordinates Pin
pallaka17-Nov-08 6:42
pallaka17-Nov-08 6:42 
AnswerRe: Drawing with pixel coordinates Pin
Iain Clarke, Warrior Programmer18-Nov-08 2:21
Iain Clarke, Warrior Programmer18-Nov-08 2:21 
GeneralRe: Drawing with pixel coordinates Pin
emrahustun18-Nov-08 2:28
emrahustun18-Nov-08 2:28 
QuestionHow to enumerate the local accouts? Pin
mkoroudjiev17-Nov-08 4:33
mkoroudjiev17-Nov-08 4:33 
QuestionHow to load an image on any control using win32 C++ Pin
~Khatri Mitesh~17-Nov-08 4:28
~Khatri Mitesh~17-Nov-08 4:28 
AnswerRe: How to load an image on any control using win32 C++ Pin
Hamid_RT17-Nov-08 7:38
Hamid_RT17-Nov-08 7:38 

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.