Click here to Skip to main content
15,394,700 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAfxEndThread Pin
Anonymous7-Sep-05 12:23
MemberAnonymous7-Sep-05 12:23 
AnswerRe: AfxEndThread Pin
ThatsAlok7-Sep-05 18:57
MemberThatsAlok7-Sep-05 18:57 
AnswerRe: AfxEndThread Pin
David Crow8-Sep-05 3:24
MemberDavid Crow8-Sep-05 3:24 
Questiontemplates question Pin
zildjohn017-Sep-05 12:09
Memberzildjohn017-Sep-05 12:09 
AnswerRe: templates question Pin
zildjohn017-Sep-05 15:34
Memberzildjohn017-Sep-05 15:34 
QuestionIOCP & COM ports Pin
Member 18770927-Sep-05 11:32
MemberMember 18770927-Sep-05 11:32 
QuestionCan I apply VC++6 code into VC++.NET code? Pin
uumeme7-Sep-05 9:50
Memberuumeme7-Sep-05 9:50 
AnswerRe: Can I apply VC++6 code into VC++.NET code? Pin
Christian Graus7-Sep-05 13:15
mveChristian Graus7-Sep-05 13:15 
If you're moving source code, you'll have issues to do with the fact that VC6 is not very standards compliant. One of the most common issues is code like this


for (int i = 0; i < 10; ++i)
{
// do something
}

if (i<10) // won't work
{

}

for (i=0;i<10;++i) // won't work

In vc6, the variable i was visible outside the for loop, which is against the standard. Declaring i before the first loop fixes this.

If you're linking to a lib, you'll have problems because they will link to different versions of the C run time. I have a problem like that now, I've asked about it here and in the Microsoft forums about 6 times, and no-one seems able to help me solve it. However, the short answer is that you need to recompile the lib in VC.NET ( it just compiles in my case, then won't link ).


Christian Graus - Microsoft MVP - C++
QuestionAdding color to my dialog Pin
bugDanny7-Sep-05 9:02
MemberbugDanny7-Sep-05 9:02 
AnswerRe: Adding color to my dialog Pin
Chris Losinger7-Sep-05 10:00
professionalChris Losinger7-Sep-05 10:00 
QuestionCalling All CListCtrl Experts Pin
Spoodles7-Sep-05 8:54
MemberSpoodles7-Sep-05 8:54 
AnswerRe: Calling All CListCtrl Experts Pin
Mircea Puiu7-Sep-05 20:41
MemberMircea Puiu7-Sep-05 20:41 
GeneralRe: Calling All CListCtrl Experts Pin
Spoodles8-Sep-05 3:11
MemberSpoodles8-Sep-05 3:11 
GeneralRe: Calling All CListCtrl Experts Pin
Mircea Puiu8-Sep-05 4:02
MemberMircea Puiu8-Sep-05 4:02 
QuestionUpdating CheckBoxes Pin
DanYELL7-Sep-05 5:08
MemberDanYELL7-Sep-05 5:08 
AnswerRe: Updating CheckBoxes Pin
Mircea Puiu7-Sep-05 5:18
MemberMircea Puiu7-Sep-05 5:18 
GeneralRe: Updating CheckBoxes Pin
DanYELL7-Sep-05 5:57
MemberDanYELL7-Sep-05 5:57 
GeneralRe: Updating CheckBoxes Pin
bugDanny7-Sep-05 9:18
MemberbugDanny7-Sep-05 9:18 
GeneralRe: Updating CheckBoxes Pin
Mircea Puiu7-Sep-05 20:09
MemberMircea Puiu7-Sep-05 20:09 
AnswerRe: Updating CheckBoxes Pin
toxcct7-Sep-05 5:42
Membertoxcct7-Sep-05 5:42 
AnswerRe: Updating CheckBoxes Pin
David Crow7-Sep-05 6:25
MemberDavid Crow7-Sep-05 6:25 
AnswerRe: Updating CheckBoxes Pin
Jack Puppy7-Sep-05 15:37
MemberJack Puppy7-Sep-05 15:37 
QuestionDll and XP theme Pin
hari_rs7-Sep-05 4:02
Memberhari_rs7-Sep-05 4:02 
AnswerRe: Dll and XP theme Pin
Mircea Puiu7-Sep-05 5:11
MemberMircea Puiu7-Sep-05 5:11 
GeneralRe: Dll and XP theme Pin
pranavamhari7-Sep-05 5:39
Memberpranavamhari7-Sep-05 5:39 

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.