Click here to Skip to main content

C / C++ / MFC

    RSS: RSS Feed

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
AnswerRe: "Virtual" Command Prompt PinmemberStephen Hewitt19:23 13 Mar '10  
QuestionModeless dialog closing when 'Enter' key is pressed? PinmemberSpawn@Melmac9:05 13 Mar '10  
AnswerRe: Modeless dialog closing when 'Enter' key is pressed? PinmemberSpawn@Melmac9:17 13 Mar '10  
QuestionSOCKET_ERROR when calling send method from seperate class PinmemberOmar El Fata7:49 13 Mar '10  
QuestionRe: SOCKET_ERROR when calling send method from seperate class PinmvpCPallini7:56 13 Mar '10  
AnswerRe: SOCKET_ERROR when calling send method from seperate class PinmemberOmar El Fata8:08 13 Mar '10  
GeneralRe: SOCKET_ERROR when calling send method from seperate class PinmemberOmar El Fata8:45 13 Mar '10  
OK just for experimentation I tried to do a simple SetWindowText from the secondary class, and it resulted in a Debug Assertion error, when I debugged I got this:
 

void CWnd::SetWindowText(LPCTSTR lpszString)
{
	ENSURE(this);
	ENSURE(::IsWindow(m_hWnd) || (m_pCtrlSite != NULL));
 
	if (m_pCtrlSite == NULL)
		::SetWindowText(m_hWnd, lpszString);
	else
		m_pCtrlSite->SetWindowText(lpszString);
}
 
I think this problem has nothing to do with the sockets and has something to do with permissions?
 
Sorry I am new to C++
AnswerRe: SOCKET_ERROR when calling send method from seperate class Pinmemberkrmed11:26 13 Mar '10  
GeneralRe: SOCKET_ERROR when calling send method from seperate class PinmemberOmar El Fata12:01 13 Mar '10  
QuestionWindow class, caption Pinmembertrioum5:26 13 Mar '10  
AnswerRe: Window class, caption PinmemberEugen Podsypalnikov5:34 13 Mar '10  
GeneralRe: Window class, caption Pinmembertrioum5:43 13 Mar '10  
GeneralRe: Window class, caption PinmemberEugen Podsypalnikov13:58 13 Mar '10  
QuestionRe: Window class, caption PinmvpDavidCrow6:20 13 Mar '10  
AnswerRe: Window class, caption Pinmember ThatsAlok 20:21 14 Mar '10  
QuestionHow can use VB dll in VC++ code? PinmemberLe@rner2:45 13 Mar '10  
AnswerRe: How can use VB dll in VC++ code? PinmemberLunaticFringe3:33 13 Mar '10  
AnswerRe: How can use VB dll in VC++ code? Pinmember ThatsAlok 20:24 14 Mar '10  
AnswerRe: How can use VB dll in VC++ code? Pinmembershivanandgupta21:30 14 Mar '10  
QuestionCalling vb dll functions in my vc code Pinmemberlearningvisualc22:23 12 Mar '10  
AnswerRe: Calling vb dll functions in my vc code Pinmembershivanandgupta1:36 13 Mar '10  
AnswerRe: Calling vb dll functions in my vc code Pinmembershivanandgupta1:51 13 Mar '10  
QuestionStill problem with a class and function Pinmembernah133722:20 12 Mar '10  
AnswerRe: Still problem with a class and function PinmvpRichard MacCutchan23:12 12 Mar '10  
QuestionRe: Still problem with a class and function PinmvpCPallini23:37 12 Mar '10  

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
Web04 | 2.5.120210.1 | Last Updated 13 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid