Click here to Skip to main content
15,891,810 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Writing to serial port problem. Pin
kakan11-Aug-06 3:43
professionalkakan11-Aug-06 3:43 
QuestionTo stop the flash? [modified] Pin
mimimimilaw10-Aug-06 17:33
mimimimilaw10-Aug-06 17:33 
AnswerRe: To stop the flash? Pin
sujtha10-Aug-06 18:49
sujtha10-Aug-06 18:49 
QuestionRe: To stop the flash? Pin
Hamid_RT10-Aug-06 21:33
Hamid_RT10-Aug-06 21:33 
Questionset window size by user??? Pin
mimimimilaw10-Aug-06 15:53
mimimimilaw10-Aug-06 15:53 
AnswerRe: set window size by user??? Pin
mails2dhana10-Aug-06 17:50
mails2dhana10-Aug-06 17:50 
AnswerRe: set window size by user??? Pin
Hamid_RT10-Aug-06 21:33
Hamid_RT10-Aug-06 21:33 
QuestionNewbie - Various Compiler Errors Pin
alias4710-Aug-06 15:01
alias4710-Aug-06 15:01 
Hi,

I am a c# programmer and I am trying to reference a DLL wriiten in c++. I receive an error stating that it is not a valid assembly or COM component. I also have the source code, so I am attempting to compile it in Visual Studio 2005. It was originally compiled in Visual c++ 6 I believe. It is my understanding that if I can complie the DLL in the new framework, I can then reference the DLL in c#.

So, when I attempt the compilation I get a number of errors which I am hoping can be solved.

<b>Error c2011 'struct' type redefinition. </b>
This error is in an .h file which has a message at the top:
Machine generated IDispatch wrapper class(es) created with ClassWizard

This errors occurs in a line
<code>class Font : public COleDispatchDriver
{</code>

COleDispatchDriver is a class in a .h file which states
that this is a part of the MFC Classes c++ library.

<b>Error c4430 missing type specifier - int assumed </b>
This error is on a line which calls a routine called debugEMF()
If I goto this routine it is
<code>CEnhancedMetaFile::debugEMF()</code>

CEnhancedMetaFile is a class

Pls forgive me: I have no idea about c++.
Anyone help pls?



alias47
AnswerRe: Newbie - Various Compiler Errors Pin
Christian Graus10-Aug-06 19:56
protectorChristian Graus10-Aug-06 19:56 
QuestionVisualizations development Pin
Mohammad A Gdeisat10-Aug-06 10:52
Mohammad A Gdeisat10-Aug-06 10:52 
AnswerRe: Visualizations development Pin
Christian Graus10-Aug-06 12:25
protectorChristian Graus10-Aug-06 12:25 
GeneralRe: Visualizations development Pin
Mohammad A Gdeisat10-Aug-06 12:33
Mohammad A Gdeisat10-Aug-06 12:33 
GeneralRe: Visualizations development Pin
Christian Graus10-Aug-06 12:56
protectorChristian Graus10-Aug-06 12:56 
QuestionVisual Leak Detector, what is that? [modified] Pin
includeh1010-Aug-06 9:55
includeh1010-Aug-06 9:55 
QuestionRe: Visual Leak Detector, what is that? Pin
Maximilien10-Aug-06 10:07
Maximilien10-Aug-06 10:07 
AnswerRe: Visual Leak Detector, what is that? Pin
led mike10-Aug-06 10:07
led mike10-Aug-06 10:07 
AnswerRe: Visual Leak Detector, what is that? Pin
Jörgen Sigvardsson10-Aug-06 12:15
Jörgen Sigvardsson10-Aug-06 12:15 
AnswerRe: Visual Leak Detector, what is that? Pin
Jörgen Sigvardsson10-Aug-06 12:17
Jörgen Sigvardsson10-Aug-06 12:17 
QuestionVisual Leak Detector, what is that? Pin
includeh1010-Aug-06 9:46
includeh1010-Aug-06 9:46 
AnswerRe: Visual Leak Detector, what is that? Pin
led mike10-Aug-06 9:52
led mike10-Aug-06 9:52 
QuestionGDI+ doesn't work Pin
nightrider1310-Aug-06 9:17
nightrider1310-Aug-06 9:17 
AnswerRe: GDI+ doesn't work Pin
Wes Aday10-Aug-06 9:24
professionalWes Aday10-Aug-06 9:24 
GeneralRe: GDI+ doesn't work Pin
nightrider1310-Aug-06 10:00
nightrider1310-Aug-06 10:00 
GeneralRe: GDI+ doesn't work Pin
Wes Aday10-Aug-06 10:13
professionalWes Aday10-Aug-06 10:13 
GeneralRe: GDI+ doesn't work Pin
nightrider1310-Aug-06 11:16
nightrider1310-Aug-06 11:16 

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.