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

C / C++ / MFC

 
AnswerRe: msdn error: can't find the server. Pin
SandipG 8-Dec-08 21:01
SandipG 8-Dec-08 21:01 
GeneralRe: msdn error: can't find the server. Pin
kcynic8-Dec-08 21:12
kcynic8-Dec-08 21:12 
GeneralRe: msdn error: can't find the server. Pin
SandipG 8-Dec-08 21:22
SandipG 8-Dec-08 21:22 
GeneralRe: msdn error: can't find the server. Pin
kcynic8-Dec-08 21:27
kcynic8-Dec-08 21:27 
AnswerRe: msdn error: can't find the server. Pin
kcynic8-Dec-08 21:45
kcynic8-Dec-08 21:45 
QuestionVideo Streaming SDK Pin
Nacho Chip8-Dec-08 14:08
Nacho Chip8-Dec-08 14:08 
AnswerRe: Video Streaming SDK Pin
rjkg8-Dec-08 17:53
rjkg8-Dec-08 17:53 
QuestionVC++ 6.0 to VC++ 9.0 Code porting Pin
pratap19808-Dec-08 8:06
pratap19808-Dec-08 8:06 
Hi everyone,

I am facing some issues when i am porting my code from VC++6.0 to VC++9.0. Here is the list.

1. ByteVector::iterator it = (BYTE *)"ACI";

2. Error 3 error C2440: 'initializing' : cannot convert from 'BYTE *'
to 'std::_Vector_iterator<_Ty,_Alloc>'

hdr = *(ACI_HEADER *)it;
hdr is of type ACI_HEADER.
I tried de coupling the iterator and the ACI_Header but it dosent work.
hdr = (ACI_HEADER)(*it). This type of decoupling worked for unsigned char conversions but not
ACI_HEADER.

3. Error 17 error C2664: 'ComPtr<T>::ComPtr(const ComPtr<T> &)' : cannot
convert parameter 1 from 'int' to 'const ComPtr
ComPtr<CEventMsg> CEventMsg::FromBuffer(DataBuffer &buffer)

{
.....
.....
return NULL;
}


Any advices on these issues will be helpfull.

Thanks,
Pratap
AnswerRe: VC++ 6.0 to VC++ 9.0 Code porting Pin
Stuart Dootson8-Dec-08 9:52
professionalStuart Dootson8-Dec-08 9:52 
GeneralRe: VC++ 6.0 to VC++ 9.0 Code porting Pin
pratap19808-Dec-08 10:27
pratap19808-Dec-08 10:27 
GeneralRe: VC++ 6.0 to VC++ 9.0 Code porting Pin
Stuart Dootson8-Dec-08 16:56
professionalStuart Dootson8-Dec-08 16:56 
AnswerRe: VC++ 6.0 to VC++ 9.0 Code porting Pin
Michael Dunn8-Dec-08 9:59
sitebuilderMichael Dunn8-Dec-08 9:59 
GeneralRe: VC++ 6.0 to VC++ 9.0 Code porting Pin
pratap19808-Dec-08 10:48
pratap19808-Dec-08 10:48 
QuestionQuestion about certificates Pin
Hans Dietrich8-Dec-08 6:06
mentorHans Dietrich8-Dec-08 6:06 
AnswerRe: Question about certificates Pin
Randor 8-Dec-08 13:01
professional Randor 8-Dec-08 13:01 
QuestionTo C or Not to C..... Pin
charlieg8-Dec-08 5:37
charlieg8-Dec-08 5:37 
AnswerRe: To C or Not to C..... Pin
Jijo.Raj8-Dec-08 5:49
Jijo.Raj8-Dec-08 5:49 
AnswerRe: To C or Not to C..... Pin
Code-o-mat8-Dec-08 5:54
Code-o-mat8-Dec-08 5:54 
AnswerRe: To C or Not to C..... Pin
toxcct8-Dec-08 7:29
toxcct8-Dec-08 7:29 
QuestionRe: To C or Not to C..... Pin
CPallini8-Dec-08 9:02
mveCPallini8-Dec-08 9:02 
AnswerRe: To C or Not to C..... Pin
charlieg8-Dec-08 17:48
charlieg8-Dec-08 17:48 
QuestionUsing CMFCToolbar with CDialog Pin
rkshdixit8-Dec-08 3:28
rkshdixit8-Dec-08 3:28 
AnswerRe: Using CMFCToolbar with CDialog Pin
N B sowmi6-Jan-09 23:32
N B sowmi6-Jan-09 23:32 
GeneralRe: Using CMFCToolbar with CDialog Pin
rkshdixit9-Jan-09 21:19
rkshdixit9-Jan-09 21:19 
GeneralRe: Using CMFCToolbar with CDialog Pin
N B sowmi11-Jan-09 21:06
N B sowmi11-Jan-09 21:06 

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.