Click here to Skip to main content
15,937,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get Current View in SDI Pin
Richard MacCutchan2-Jul-12 0:53
mveRichard MacCutchan2-Jul-12 0:53 
QuestionCalling a member class implicitly Pin
ForNow1-Jul-12 3:36
ForNow1-Jul-12 3:36 
GeneralRe: Calling a member class implicitly Pin
Richard MacCutchan1-Jul-12 6:16
mveRichard MacCutchan1-Jul-12 6:16 
GeneralRe: Calling a member class implicitly Pin
ForNow1-Jul-12 6:30
ForNow1-Jul-12 6:30 
GeneralRe: Calling a member class implicitly Pin
Richard MacCutchan1-Jul-12 6:43
mveRichard MacCutchan1-Jul-12 6:43 
GeneralRe: Calling a member class implicitly Pin
ForNow1-Jul-12 9:46
ForNow1-Jul-12 9:46 
GeneralRe: Calling a member class implicitly Pin
enhzflep1-Jul-12 8:08
enhzflep1-Jul-12 8:08 
AnswerRe: Calling a member class implicitly Pin
Albert Holguin1-Jul-12 12:46
professionalAlbert Holguin1-Jul-12 12:46 
Well, simple way is to allocate it on the heap dynamically...

Class MyCWinthread : public CWinThread
{
 Myasnycsocket *thissocket;
 //...
}
BOOL MyCWinthread::InitInstance()
{
 CWinThread::InitInstance();

 thissocket = new Myasnycsocket( 33 ); //Specify port here...
}


Just don't forget to deallocate the dynamic memory afterward.
GeneralRe: Calling a member class implicitly Pin
ForNow1-Jul-12 13:23
ForNow1-Jul-12 13:23 
AnswerRe: Calling a member class implicitly Pin
Albert Holguin1-Jul-12 13:40
professionalAlbert Holguin1-Jul-12 13:40 
GeneralRe: Calling a member class implicitly Pin
ForNow1-Jul-12 15:06
ForNow1-Jul-12 15:06 
GeneralRe: Calling a member class implicitly Pin
Albert Holguin2-Jul-12 4:30
professionalAlbert Holguin2-Jul-12 4:30 
QuestionFtp : how to know downloading data is completed? Pin
includeh101-Jul-12 2:15
includeh101-Jul-12 2:15 
AnswerRe: Ftp : how to know downloading data is completed? Pin
Richard MacCutchan1-Jul-12 6:13
mveRichard MacCutchan1-Jul-12 6:13 
AnswerRe: Ftp : how to know downloading data is completed? Pin
Jochen Arndt1-Jul-12 22:36
professionalJochen Arndt1-Jul-12 22:36 
QuestionWill CInternetException catch a socket error Pin
ForNow29-Jun-12 11:37
ForNow29-Jun-12 11:37 
QuestionLNK1123: failure during conversion to COFF: file invalid or corrupt Pin
forkbomber29-Jun-12 9:52
forkbomber29-Jun-12 9:52 
AnswerRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
Albert Holguin29-Jun-12 10:53
professionalAlbert Holguin29-Jun-12 10:53 
GeneralRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
forkbomber30-Jun-12 2:17
forkbomber30-Jun-12 2:17 
AnswerRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
Richard MacCutchan30-Jun-12 2:46
mveRichard MacCutchan30-Jun-12 2:46 
GeneralRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
forkbomber30-Jun-12 3:47
forkbomber30-Jun-12 3:47 
GeneralRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
Richard MacCutchan30-Jun-12 5:57
mveRichard MacCutchan30-Jun-12 5:57 
AnswerRe: LNK1123: failure during conversion to COFF: file invalid or corrupt Pin
fat_boy30-Jun-12 20:40
fat_boy30-Jun-12 20:40 
QuestionSearch in *.chm File with C++? Pin
bosfan29-Jun-12 3:10
bosfan29-Jun-12 3:10 
AnswerRe: Search in *.chm File with C++? Pin
bosfan29-Jun-12 6:13
bosfan29-Jun-12 6:13 

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.