I am trying to make a connection between a client and server. Both are running on my machine and I am using loopback, but for some reason the client wont connect.
Here is my code for the client:
void CSocketsDlg::OnOK()
{
CString IpName;
GetDlgItem(IDC_IP) -> SetWindowText(IpName)...
hello, I have made a dialog based text file editer for my friends a while back, and now it is getting annoying that the user has to open the file they want from an open file dialog box. What I need is to just double click on the file i want to open from the desktop, and it will open my file...
Hi Everyone.
What I am trying to do in my program is read data from a file and make the program trigger events from the data in the file. The problem I am having is that the fgets() reads a line from the file, but also reads the '\n' or "Enter Mark" at the end of the string. If...
Hey Everyone.
What I am trying to do is Get the title bar of the dialog box to change text. What I am looking for in a response is:
CTitleClass m_TitleVar;
m_TitleVar.SetWindowText("New Title.");
I have looked at post by other people on the same subject, but all the responses say is...
I am currently trying to make a "Progress" application and have two questions.
First.)
How do you get a multiline editbox to update itself to add text to the current text instead of rewriting the whole editbox. If there is another function I can use please show me some syntax...
Im Trying to make an MDI Web browser, but this bit of code is giving me a problem. Can anyone Help Me?
Thx
void CMainFrame::OnNewAddress()
{
CString sAddress;
m_wndDlgBar.GetDlgItem(IDC_EDIT1)->GetWindowText(sAddress);
((CWebBrowseView*)GetActiveView())->Navigate(sAddress);
}
The errors...
Ive had the VC++ Standard for 2 days now and im workin on these sockets. the compliler says that there are two errors in the following code...
void MySocket::SetParent(CDialog *pWnd)
{
m_pWnd = pWnd;
}
void MySocket::OnAccept(int nErrorCode)
{
if (nErrorCode == 0)
((CSockDlg...
im using a program i downloaded from the internet called LCC-win32 or something like that. the warning was:
line 21: missing return value {
i just checked a lot of stuff and looked in the internal program launcher and it does work, but for some wierd reason id removes the program.
i tried your syntax but the compiler gave me warnings and removed the program. if its not too much trouble, do you think you could post an example sorce code.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.