Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Combine two windows Pin
prabhjot.cgc13-Feb-13 17:29
prabhjot.cgc13-Feb-13 17:29 
Questionc Pin
Member 983250613-Feb-13 2:39
Member 983250613-Feb-13 2:39 
AnswerRe: c Pin
Orjan Westin13-Feb-13 2:49
professionalOrjan Westin13-Feb-13 2:49 
AnswerRe: c Pin
Matthew Faithfull13-Feb-13 2:51
Matthew Faithfull13-Feb-13 2:51 
AnswerRe: c Pin
Richard MacCutchan13-Feb-13 3:22
mveRichard MacCutchan13-Feb-13 3:22 
QuestionRibbon To existing MFC Application Pin
002comp12-Feb-13 19:53
002comp12-Feb-13 19:53 
AnswerRe: Ribbon To existing MFC Application Pin
Richard MacCutchan12-Feb-13 22:17
mveRichard MacCutchan12-Feb-13 22:17 
QuestionCAsyncSocket exception Pin
ForNow12-Feb-13 19:47
ForNow12-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 Pin
Orjan Westin12-Feb-13 23:04
professionalOrjan Westin12-Feb-13 23:04 
GeneralRe: CAsyncSocket exception Pin
ForNow13-Feb-13 6:10
ForNow13-Feb-13 6:10 
Questiondisabele right click popup menu in win32 browser control Pin
venkatesh5286712-Feb-13 19:30
venkatesh5286712-Feb-13 19:30 
AnswerRe: disabele right click popup menu in win32 browser control Pin
_AnsHUMAN_ 13-Feb-13 2:35
_AnsHUMAN_ 13-Feb-13 2:35 
GeneralRe: disabele right click popup menu in win32 browser control Pin
venkatesh5286713-Feb-13 3:41
venkatesh5286713-Feb-13 3:41 
AnswerRe: disabele right click popup menu in win32 browser control Pin
Stephen Hewitt13-Feb-13 21:49
Stephen Hewitt13-Feb-13 21:49 
QuestionHow to retain row color while highlighting in Clist control Pin
HareeshaK12-Feb-13 16:33
HareeshaK12-Feb-13 16:33 
AnswerRe: How to retain row color while highlighting in Clist control Pin
Jochen Arndt12-Feb-13 22:48
professionalJochen Arndt12-Feb-13 22:48 
Questionx86 build Pin
john563212-Feb-13 3:56
john563212-Feb-13 3:56 
QuestionRe: x86 build Pin
David Crow12-Feb-13 4:49
David Crow12-Feb-13 4:49 
AnswerRe: x86 build Pin
Albert Holguin12-Feb-13 5:27
professionalAlbert Holguin12-Feb-13 5:27 
QuestionSetupDiEnumDeviceInterfaces not Working. Pin
002comp11-Feb-13 21:49
002comp11-Feb-13 21:49 
AnswerRe: SetupDiEnumDeviceInterfaces not Working. Pin
002comp11-Feb-13 22:10
002comp11-Feb-13 22:10 
SuggestionRe: SetupDiEnumDeviceInterfaces not Working. Pin
Albert Holguin12-Feb-13 5:30
professionalAlbert Holguin12-Feb-13 5:30 
GeneralRe: SetupDiEnumDeviceInterfaces not Working. Pin
002comp12-Feb-13 19:49
002comp12-Feb-13 19:49 
QuestionHow to control the volume Programitacally in C/C++? Pin
sravanthi peddi11-Feb-13 18:22
sravanthi peddi11-Feb-13 18:22 
AnswerRe: How to control the volume Programitacally in C/C++? Pin
Jibesh11-Feb-13 21:12
professionalJibesh11-Feb-13 21:12 

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.