Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Implementing of Interruption PinmemberMax_Power_Up26-Feb-13 5:33 
QuestionLine number Add-in PinmemberKrishnakumartg13-Feb-13 5:20 
QuestionRe: Line number Add-in PinmemberMaximilien13-Feb-13 8:14 
SuggestionRe: Line number Add-in PinmemberAlbert Holguin13-Feb-13 8:59 
AnswerRe: Line number Add-in Pinmemberjschell13-Feb-13 10:12 
QuestionCombine two windows PinmemberKrishnakumartg13-Feb-13 5:16 
AnswerRe: Combine two windows Pinmemberprabhjot.cgc13-Feb-13 17:29 
Questionc PinmemberMember 983250613-Feb-13 2:39 
AnswerRe: c PinmemberOrjan Westin13-Feb-13 2:49 
AnswerRe: c PinmemberMatthew Faithfull13-Feb-13 2:51 
AnswerRe: c PinmvpRichard MacCutchan13-Feb-13 3:22 
QuestionRibbon To existing MFC Application Pinmemberyogeshs12-Feb-13 19:53 
AnswerRe: Ribbon To existing MFC Application PinmvpRichard MacCutchan12-Feb-13 22:17 
QuestionCAsyncSocket exception PinmemberForNow12-Feb-13 19:47 
Hi,
 
I have a derived CAsyncSoct class as a member of a Derived CwinThread Class
the members that I have in my derived CAsynSocket class include data members such as a port no
that I wish to connect to
 
so...
 
class CSocketThread : public CwinThread
{
public
CSocket thisicket
 
}
 
class CSocket : public CAsynSocket
{
 

I create a UI thread
 
via new SockThread(start_port)
 
I create the thread suspended
 
fill in the missing pieces such the ipaddr, port #
 
Then do a resumethread this should kick the SockThread:Iinitinstance overridable
 
I figure by this time everthing the SockThread and Csocket Objects has been Created
 
So in the SOckThread::initinstance I do a Socket.create withe yhe ipaddr and port
 
By the time i get to create the third of fourth thread I get an exceptin from
 
CAsynSocket::Create
 
One of my questons is if I create the SockThread on the heap via new does that mean
every data memeber and or classes such the CSocket is contructed on the heap
 
and is there something wrong with my design
 
Thanks in advance
AnswerRe: CAsyncSocket exception PinmemberOrjan Westin12-Feb-13 23:04 
GeneralRe: CAsyncSocket exception PinmemberForNow13-Feb-13 6:10 
Questiondisabele right click popup menu in win32 browser control Pinmembervenkatesh5286712-Feb-13 19:30 
AnswerRe: disabele right click popup menu in win32 browser control Pingroup_AnsHUMAN_ 13-Feb-13 2:35 
GeneralRe: disabele right click popup menu in win32 browser control Pinmembervenkatesh5286713-Feb-13 3:41 
AnswerRe: disabele right click popup menu in win32 browser control PinmemberStephen Hewitt13-Feb-13 21:49 
QuestionHow to retain row color while highlighting in Clist control PinmemberHareeshaK12-Feb-13 16:33 
AnswerRe: How to retain row color while highlighting in Clist control PinmemberJochen Arndt12-Feb-13 22:48 
Questionx86 build Pinmemberjohn563212-Feb-13 3:56 
QuestionRe: x86 build PinmemberDavidCrow12-Feb-13 4:49 
AnswerRe: x86 build PinmemberAlbert Holguin12-Feb-13 5:27 
QuestionSetupDiEnumDeviceInterfaces not Working. Pinmemberyogeshs11-Feb-13 21:49 
AnswerRe: SetupDiEnumDeviceInterfaces not Working. Pinmemberyogeshs11-Feb-13 22:10 
SuggestionRe: SetupDiEnumDeviceInterfaces not Working. PinmemberAlbert Holguin12-Feb-13 5:30 
GeneralRe: SetupDiEnumDeviceInterfaces not Working. Pinmemberyogeshs12-Feb-13 19:49 
QuestionHow to control the volume Programitacally in C/C++? Pinmembersravanthi peddi11-Feb-13 18:22 
AnswerRe: How to control the volume Programitacally in C/C++? PinmemberJibesh11-Feb-13 21:12 
QuestionHow to change master volume programmatically? Pinmembersairam47711-Feb-13 18:15 
AnswerRe: How to change master volume programmatically? PinmemberJibesh11-Feb-13 21:11 
AnswerRe: How to change master volume programmatically? PinmemberDavidCrow12-Feb-13 5:40 
Questionwin32 dialogbox Pinmembervenkatesh5286711-Feb-13 6:47 
AnswerRe: win32 dialogbox Pinmemberjibesh11-Feb-13 6:57 
QuestionRe: win32 dialogbox Pinmember«_Superman_»11-Feb-13 18:03 
AnswerRe: win32 dialogbox Pinmembervenkatesh5286711-Feb-13 20:37 
GeneralRe: win32 dialogbox Pinmember«_Superman_»11-Feb-13 20:47 
GeneralRe: win32 dialogbox Pinmembervenkatesh5286711-Feb-13 21:06 
GeneralRe: win32 dialogbox Pinmembervenkatesh5286711-Feb-13 21:11 
GeneralRe: win32 dialogbox Pinmember«_Superman_»11-Feb-13 22:13 
GeneralRe: win32 dialogbox Pinmembervenkatesh5286711-Feb-13 23:56 
GeneralRe: win32 dialogbox Pinmember«_Superman_»12-Feb-13 0:02 
QuestionCan i get text color of title bar? PingroupVCProgrammer10-Feb-13 21:28 
AnswerRe: Can i get text color of title bar? PinmvpRichard MacCutchan10-Feb-13 21:59 
GeneralRe: Can i get text color of title bar? PingroupVCProgrammer10-Feb-13 22:42 
GeneralRe: Can i get text color of title bar? PinmvpRichard MacCutchan10-Feb-13 23:01 
GeneralRe: Can i get text color of title bar? [modified] PingroupVCProgrammer10-Feb-13 23:07 
QuestionVisual Studio 2010 optimized code bug PinmemberForNow10-Feb-13 14:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 28 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid