Click here to Skip to main content
15,906,333 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: how get a function instruction length? Pin
David Crow21-Feb-06 5:38
David Crow21-Feb-06 5:38 
AnswerRe: how get a function instruction length? Pin
HOW WHAT21-Feb-06 14:46
HOW WHAT21-Feb-06 14:46 
AnswerRe: how get a function instruction length? Pin
Joe Woodbury21-Feb-06 5:52
professionalJoe Woodbury21-Feb-06 5:52 
QuestionMessageBox() change line Pin
blang047721-Feb-06 2:48
blang047721-Feb-06 2:48 
AnswerRe: MessageBox() change line Pin
Russell'21-Feb-06 3:09
Russell'21-Feb-06 3:09 
GeneralRe: MessageBox() change line Pin
blang047721-Feb-06 3:17
blang047721-Feb-06 3:17 
GeneralRe: MessageBox() change line Pin
Russell'21-Feb-06 3:50
Russell'21-Feb-06 3:50 
GeneralRe: MessageBox() change line Pin
blang047721-Feb-06 4:38
blang047721-Feb-06 4:38 
GeneralRe: MessageBox() change line Pin
RobJones21-Feb-06 4:48
RobJones21-Feb-06 4:48 
GeneralRe: MessageBox() change line Pin
blang047721-Feb-06 15:05
blang047721-Feb-06 15:05 
AnswerRe: MessageBox() change line Pin
Alexander M.,21-Feb-06 6:07
Alexander M.,21-Feb-06 6:07 
AnswerRe: MessageBox() change line Pin
Aqueel21-Feb-06 20:16
Aqueel21-Feb-06 20:16 
GeneralRe: MessageBox() change line Pin
ThatsAlok22-Feb-06 3:13
ThatsAlok22-Feb-06 3:13 
QuestionConverting from Visual Studio 6 to Studio 2005 Pin
Junyor21-Feb-06 1:55
Junyor21-Feb-06 1:55 
AnswerRe: Converting from Visual Studio 6 to Studio 2005 Pin
Malli_S21-Feb-06 2:45
Malli_S21-Feb-06 2:45 
Questiontemplate class test Pin
Russell'21-Feb-06 0:35
Russell'21-Feb-06 0:35 
AnswerRe: template class test Pin
Lim Bio Liong21-Feb-06 1:08
Lim Bio Liong21-Feb-06 1:08 
GeneralRe: template class test Pin
Michael Dunn21-Feb-06 1:46
sitebuilderMichael Dunn21-Feb-06 1:46 
GeneralRe: template class test Pin
Russell'21-Feb-06 1:59
Russell'21-Feb-06 1:59 
GeneralRe: template class test Pin
Michael Dunn21-Feb-06 2:32
sitebuilderMichael Dunn21-Feb-06 2:32 
QuestionSocket and thread Pin
mehrdadov20-Feb-06 23:10
mehrdadov20-Feb-06 23:10 
AnswerRe: Socket and thread Pin
khan++21-Feb-06 0:41
khan++21-Feb-06 0:41 
Your question does not seem to be very clear.
How do you create the CSocket object? If it is like:
CSocket sock;<br />
...Initialize it etc.<br />
CreateThread(... , (void*)&sock...); //etc

Then it is not going to work, because the object is being created on the stack and will be destroyed when the calling function exits.
Create it on the heap etc:
CSocket* pSock;<br />
pSock = new CSocket;<br />
...Initialize it etc.

Then send it to the thread.
Hope that helps.


this is this.
AnswerRe: Socket and thread Pin
Michael Dunn21-Feb-06 1:49
sitebuilderMichael Dunn21-Feb-06 1:49 
QuestionWinsock file transfering on single PC with 2 NICs Pin
ttoh20-Feb-06 22:35
ttoh20-Feb-06 22:35 
AnswerRe: Winsock file transfering on single PC with 2 NICs Pin
khan++21-Feb-06 0:54
khan++21-Feb-06 0:54 

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.