Type: Posts; User: JoderCoder
Search took 0.01 seconds.
June 24th, 2009, 12:58 PM
Please advise how I can fix this..
I am doing some XML editing (MS XML DOM).
I can add nodes/elements just fine but when I open the file with notepad, the file looks like this:
January 10th, 2009, 06:52 PM
Thank you all! Yes, binding to port 0 works just fine - I am doing this for win32 and win64 platforms... I wasnt familiar with socket programming at all, but still didnt take long to get this piece...
January 8th, 2009, 09:07 AM
Could someone point me to some sample C++ code that finds an available port on the local machine?
December 11th, 2008, 06:41 AM
I need to configure http for an application installer on Vista due to some privileges. I can do this on the command line like this:
netsh http add urlacl url=http://+:1234/ user=Users
December 8th, 2008, 12:46 PM
I need to do pretty much same thing in a installer for an application. Installer and the application is designed to work on a per-machine basis, so I need an API that add the URL for all users? How...
July 16th, 2008, 06:50 AM
It says KSCATEGORY_AUDIO_DEVICE class is reserved, but is there a problem for registering for device notifications via RegisterDeviceNotification?
I've also seen "Note that the SysAudio system...
July 11th, 2008, 06:54 AM
Does anyone know what the difference is between GUID_DEVINTERFACE_HID and GUID_DEVINTERFACE_USB_DEVICE classes?
I think USB devices are actually covered under HID devices as well? Can anyone think...
July 10th, 2008, 06:44 AM
Ok thanks! Learnt a lot! Surely not enough!
Another question: My code is like this
broadcastInterface.dbcc_classguid = KSCATEGORY_AUDIO ;
Thanks, but how can I examine the device type? Sorry but I am not that familiar with this area. I was handed over the code.
In my application that does some audio-related stuff, I constantly receive WM_DEVICECHANGE - DBT_DEVICEARRIVAL from the Vista Business OS, although there is no actual device arrivals nor removals. I...
April 16th, 2008, 06:26 AM
I am using GetAdaptersInfo( pAdapterInfo,pOutBufLen); to get the adapters info of the machine. I am using GetBestInterface() to get the index of my connection with the far end. So then I am matching...
April 13th, 2008, 01:22 PM
i have an app that doesnt consult hosts file and always tries to resolve the IP from DNS. I was trying to figure out how does it do that? It is not the way it should be.. I was trying...
April 13th, 2008, 01:14 PM
Well, but i need something on DNS because all the machines are supposed to work that way, and not possible to modify the hosts file on the all machines.
April 13th, 2008, 11:55 AM
Hi, it is maybe a very simple question but i am not really familiar with DNS.
I would like my DNS not to return a result (or to return No such name), when a particular query is made. For example,...
April 13th, 2008, 11:17 AM
I wonder if someone could advise if there is an API to make DNS look ups? I know there are some APIs that first consult the hosts file then DNS, like GetHostByName, PR_GetHostByName.. But I want is...
April 9th, 2008, 03:51 PM
say i have a static attribute -say static int counter- in a class which will be common for all the objects. But how can i give the initial value -say zero- to it?
in the class...
March 14th, 2008, 09:42 AM
Actaully i ended up using VIM..
I am really a newbie in this kind of scripting, but as far as i can see, i need to write a script (.vim) and run the script when i load my log file.
I want to...
March 14th, 2008, 09:24 AM
Can I use Programmers Notepad for this?
like delete all the lines containing "bla di bla" for example
March 14th, 2008, 06:54 AM
Wondering if anyone has a suggestion on what regular expression text editor to use? I have been using only notepad so far, bu need some more sophisticated app to analyze logs etc.. Basically i need...
March 9th, 2008, 07:34 PM
Mgrey, great!! that worked. thanks man! you saved me ;)
March 9th, 2008, 11:54 AM
I am getting this error when i attempt to use UuidCreate( &uuid );
LNK2019: unresolved external symbol __imp__UuidCreate@4
After some googling, i saw i have to link with Rpcrt4.lib
March 4th, 2008, 05:24 AM
thanks everyone for your input. really helped me a lot!
February 28th, 2008, 09:24 AM
Mgrey, i am actually not re-defining MAX_PATH in the real code, but i wantted to show just we dont have anything undefined.
You're right, good suggestion, but not the real culprit though as I...
February 28th, 2008, 05:13 AM
G'morning all from shiny ireland ;)
updating the code:
#define MAX_PATH 260
Click Here to Expand Forum to Full Width