It appears that the AddPort function might be what i'm looking for (win32 api) but i cant seem to get it working. If i create a tcp/ip printer port manually (using control pannel) then do an enum...
Type: Posts; User: headexplodes
It appears that the AddPort function might be what i'm looking for (win32 api) but i cant seem to get it working. If i create a tcp/ip printer port manually (using control pannel) then do an enum...
How can I install a printer port (Standard TCP/IP Port) from within a C++ program?
I need to be able to install a printer port and the printer itself. I dont really need to know how to install...
Thanks for pointing me to that again. I had previously found that article, but it seemed to be talking about manually painting stuff, so i gave up on it. It seems the key to getting your style to...
Hi,
I have MSVC++ 6.0 which i've had for quite a while. I have never downloaded any new versions of the win32api.
What I want to do is be able to make a dialog that has an xp look to it. At the...
thanks for all the help.. but i got qsort working. its seems fast enough for what i'm doing.
i'm having trouble getting qsort() working...
char* allsongs[MAXSONGS];
int compare( const void *arg1, const void *arg2 )
{
/* Compare all of both strings: */
return _stricmp( * (...
thanks... i'm experimenting with qsort now.
hi,
I have an array of strings and want to be able to sort them alphabetically. I was wondering if someone could point me in the right direction. Are there any functions to assist me with this or...
how can i create an anti-aliased font in the windows GDI?
thanks.
i dont get it... how is setting an invalid menu handle to the window changing the id? I tried your code but it just fails to create the window.
pls explain.
kazza lite.
its in english if that helps....
if kazza dont find a way to stop this client... then it will be the death of the kazza network. Much like direct connect became a pile of **** the moment people started hacking it. Not that i care...
well.. thats the thing i first checked and they are different. What i dont get is that when i click on the third window, it goes to the second window and reports the HWND of the SECOND!
code is...
hi,
I have a win32 program that creates 3 windows.
The first window is the parent for the second, and the first one is never displayed and does not need to recieve messages. (the first window...
hi,
I have an application with 2 .cpp files. I want to be able to have identical Function names in each file (a function called myfunc() in both).
Also I want to be able to make my variables to...
Hi,
I have a fairly simple game using directx. I now want to put sound into it and thought that the logical step would be to use DirectSound, as i had used it Visual Basic before and had no...
I'm using nice simple MFC Socket commands with CAsyncSocket. I have sucessfully used it to create a server and client that connect through TCP and send data to eachother. What I want to do is use...
I had an application that had a constant loop too. (except it was painting graphics constantly). I had the same problem of windows thinking it was hung. So.. i created a thread but then I couldnt...
If your upgrading from text graphics i think you'll find the windows GUI's graphics capabilites quite enough. If your programming in windows, create a window and then use a Device Context (DC) to...
Because i want the other thread to keep going.
I had the class wizard of MSVC++6 create an MFC application based on a dialog. I then removed the dialog because I didnt want it and i only wanted to run a simple painting process on a loop...
Is there a way to create dynamic arrays in C++?? If so.. how do i use them? A simple code example would be great.
Thanx, HeadExplodes.
I think you'd have to write some simple code to check the range of the number entered and warn the user (or just put the number in range again) if they type a number over 20 or below 0.
So i HAVE to have a window or bitmap accociated with the CDC for it to work?