I'm having issues getting the callback to work for my systray icon. I'm using PreTranslateMessage(MSG* pMsg) to get all the messages in the main dialog. This is what I'm using to make the icon go:
NOTIFYICONDATA XAIMIcon;
HINSTANCE hInst;
hInst = (HINSTANCE)GetWindowLong(m_hWnd,GWL_HINSTANCE)...
I'm trying to create a dlg window from my main dlg out of a resource. I want it to be its own window and not part of the main dlg so it will minimize to the taskbar and such. Righ now I'm using Create() to create modeless dlgs but they are always on top of the main dlg and they wont minimize to...
Does anyone know how I would make a TLV tag?
It's suppose to be 2 byes long and its used in AOL's TOC protocol among other things. I cant seem to find any usefull information on how to make it. Im having probs. with the initial signon:
Client To Host:
4 byte FLAP version (1)
2 byte TLV Tag (1)...
I'm using raw sockets and when I pull the originating and destination port out of the packet(TCP/IP layer) I'm not getting the right port. I can't find if they are integers or what. All I can find is that they are 16 bits long.
http://www.protocols.com/pbook/tcpip.htm#TCP
Can anyone help me...
I have a slight problem...
I've been writting an app and everything is going well, but when I switched from Debug to Release I get this link error:
LINK : fatal error LNK1104: cannot open file "nafxcw.lib"
I checked in my LIB folder and I don't have that file.
-Micah
I'm having problems finding information on how I would load a php.dll most likely php4apache.dll and be able to use it in my app. Does anyone know how to do this? I've been searching through the Apache source but it's really hard to find what I'm looking for. Any tips would be great.
-Micah
I'm having a problem recieving data...
Whenever my code goes into a loop to get the data it stops on recv() and waits for more data once all the data has been read. I dont want this to happen. Is there any way to fix the following code so that once all the data has been written the loop exits...
Alright, I'm having problems connecting to servers with my sockets. I'm using regular sockets and I can only connect to IPs. So, how would I resolve the IP for say "www.google.com" I really dont feel like writting a DNS client cause I know it Isn't necissary. here's what I'm doing...
When i try to rebuild i get this:
msvcrt.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main
Does anyone know what I need to do to fix this?? I'm kinda stuck here until I am able to rebuild my project:(
-Micah
I'm having issues getting a client's IP address while using regular Sockets. Do I use "gethostbyname()" or what? Does anyone know how to do it?
-Micah
In the program I'm writting I'm getting a "Bug Assertion Failed!" It happens in Dumpout.cpp on line 52. What could be causing this? All my program is doing is it waits for a connection, once something connects it spawns a new thread, passes the connection to the thread, gets the data...
char Read[1000];
recv(Socket, Read, 1000, NULL);
That puts the clients sent data into Read, but what if the data being sent is greater than the size of the buffer? How would I check to see if I have recieved all the data, and if not read the rest? I can't figure out the best way to do this:/...
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.