Click here to Skip to main content
15,927,514 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: File operation problem. Pin
David Crow22-May-07 2:47
David Crow22-May-07 2:47 
QuestionWorker threads and GUI Pin
iayd22-May-07 1:21
iayd22-May-07 1:21 
AnswerRe: Worker threads and GUI Pin
Arman S.22-May-07 1:59
Arman S.22-May-07 1:59 
AnswerRe: Worker threads and GUI Pin
Roger Stoltz22-May-07 2:56
Roger Stoltz22-May-07 2:56 
GeneralRe: Worker threads and GUI Pin
iayd22-May-07 3:25
iayd22-May-07 3:25 
GeneralRe: Worker threads and GUI Pin
Manoj Kumar Rai22-May-07 4:18
professionalManoj Kumar Rai22-May-07 4:18 
GeneralRe: Worker threads and GUI Pin
Roger Stoltz22-May-07 5:05
Roger Stoltz22-May-07 5:05 
QuestionButton control Pin
saisp22-May-07 1:13
saisp22-May-07 1:13 
AnswerRe: Button control Pin
josip cagalj22-May-07 1:15
josip cagalj22-May-07 1:15 
AnswerRe: Button control Pin
Hamid_RT22-May-07 1:21
Hamid_RT22-May-07 1:21 
AnswerRe: Button control Pin
Hamid_RT22-May-07 1:25
Hamid_RT22-May-07 1:25 
GeneralRe: Button control Pin
saisp22-May-07 1:56
saisp22-May-07 1:56 
GeneralRe: Button control Pin
Hamid_RT22-May-07 2:05
Hamid_RT22-May-07 2:05 
GeneralRe: Button control Pin
saisp22-May-07 2:23
saisp22-May-07 2:23 
QuestionRe: Button control Pin
Hamid_RT22-May-07 7:43
Hamid_RT22-May-07 7:43 
AnswerRe: Button control Pin
David Crow22-May-07 2:58
David Crow22-May-07 2:58 
QuestionIMAPI Pin
josip cagalj22-May-07 1:13
josip cagalj22-May-07 1:13 
QuestionRe: IMAPI Pin
David Crow22-May-07 3:00
David Crow22-May-07 3:00 
AnswerRe: IMAPI Pin
josip cagalj22-May-07 3:47
josip cagalj22-May-07 3:47 
QuestionRe: IMAPI Pin
David Crow22-May-07 3:54
David Crow22-May-07 3:54 
AnswerRe: IMAPI Pin
josip cagalj22-May-07 4:01
josip cagalj22-May-07 4:01 
GeneralRe: IMAPI Pin
David Crow22-May-07 6:01
David Crow22-May-07 6:01 
GeneralRe: IMAPI Pin
josip cagalj22-May-07 19:32
josip cagalj22-May-07 19:32 
Thanks, I'll try that.
I thought that putting stuff in the stdafx.h causing program build last longer, I have that habit with something which I need in a few places. But I'm recording on CD in one place so i thought I can include imapi.h there.

I did what you recommended, included files in the stdafx.h and same errors occur:

Compiling...<br />
StdAfx.cpp<br />
c:\msdev\sdk include\propidl.h(143) : error C2011: 'tagCAUB' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(149) : error C2011: 'tagCAI' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(155) : error C2011: 'tagCAUI' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(161) : error C2011: 'tagCAL' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(167) : error C2011: 'tagCAUL' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(173) : error C2011: 'tagCAFLT' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(179) : error C2011: 'tagCADBL' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(185) : error C2011: 'tagCACY' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(191) : error C2011: 'tagCADATE' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(197) : error C2011: 'tagCABSTR' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(203) : error C2011: 'tagCABSTRBLOB' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(209) : error C2011: 'tagCABOOL' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(215) : error C2011: 'tagCASCODE' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(221) : error C2011: 'tagCAPROPVARIANT' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(227) : error C2011: 'tagCAH' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(233) : error C2011: 'tagCAUH' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(239) : error C2011: 'tagCALPSTR' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(245) : error C2011: 'tagCALPWSTR' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(251) : error C2011: 'tagCAFILETIME' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(257) : error C2011: 'tagCACLIPDATA' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(263) : error C2011: 'tagCACLSID' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(284) : error C2011: 'tagPROPVARIANT' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(486) : error C2011: 'tagPROPSPEC' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(497) : error C2011: 'tagSTATPROPSTG' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(509) : error C2011: 'tagSTATPROPSETSTG' : 'struct' type redefinition<br />
c:\msdev\sdk include\propidl.h(1402) : error C2084: function 'void __cdecl PropVariantInit(struct tagPROPVARIANT *)' already has a body<br />
Error executing cl.exe. <br />

Don't know what to do anymore
AnswerRe: IMAPI Pin
josip cagalj22-May-07 19:51
josip cagalj22-May-07 19:51 
QuestionCompare times Pin
sireesha_sree22-May-07 0:49
sireesha_sree22-May-07 0:49 

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.