Hello there. I'm trying to detect which character is produced whenever the user presses a key. For this, I'm using the ToUnicodeEx function, which translates the specified virtual-key code and...
Type: Posts; User: RevengerPT
Hello there. I'm trying to detect which character is produced whenever the user presses a key. For this, I'm using the ToUnicodeEx function, which translates the specified virtual-key code and...
Hi there. I'm building a small chat in which there is a main server that hosts a service, and there are many clients. Each client hosts a service too, so it can get any messages sent by other...
Thanks, that really helped. :)
Regards.
Hi there.
I want to turn a vector of structures in a heap. I'm trying to use make_heap function, from STL which have the following constructor:
template <class RandomAccessIterator, class...
Wow, that looks more simple. What's that "host" anyway?
host.c_str()
thanks
Hi. I've had another problem. After spending lots of hours searching on MSDN and other sites, i can't find the right solution. When i use gethostbyname it returns the wrong IP address (like de LAN ip...
Thanks a lot ;) :D
Gee... so complicated. I've found an example on msdn. Linux is so much easier. Isn't there a smaller way to do that?
Here is that huge example:...
Hi.
I was trying to make this teste server, but i have a problem. The socket can't be opened. The code compiled well, but when i launch the .exe file, i get the error "Can't creat socket." and I...
My app makes a window. I made my resource script file to create de menus and the icons, like it is said on that tutorial. But, he doesn't say how to compile. I only done cl /DWIN32 window.c...
Hi there, i'm making a small windows application, and I am trying to use resource script files, but i don't really know how to use them. I made my own, but while using Visual C++. i couldn't compile....
Hi there. I am trying to create a window under windows XP. I included windows.h, and compiled with user32.lib.
CreateWindow("testname",
"TestName",
WS_BORDER | WS_CAPTION |...
Thank you very much. But I have this problem. I was trying to use sleep(). I searched on the internet for some help and I included windows.h, loaded the dll the way u posted (seems to work fine :p )...
Hey, i am sort of noob in this. I've been programming on C under linux for a while, but now, i'm heading for native win32 applications. I was building my code and I noticed that i don't know how to...