Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: JoderCoder

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    615

    Re: XML file editting

    2nd try..

    Please advise how I can fix this..
  2. Replies
    2
    Views
    615

    XML file editting

    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:
    ...
  3. Replies
    4
    Views
    876

    Re: Finding an avialable TCP Port

    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...
  4. Replies
    4
    Views
    876

    Finding an avialable TCP Port

    Could someone point me to some sample C++ code that finds an available port on the local machine?
  5. Replies
    0
    Views
    439

    Configuring Http programmatically

    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

    How can...
  6. Re: Programmatically adding sites to the "Trusted" Zone in IE

    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...
  7. RegisterDeviceNotification for KSCATEGORY_AUDIO_DEVICE

    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...
  8. GUID_DEVINTERFACE_HID and GUID_DEVINTERFACE_USB_DEVICE

    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...
  9. Re: How to differentiate a virtual device arrival/removal than a (real) physical devi

    Ok thanks! Learnt a lot! Surely not enough!

    Another question: My code is like this

    broadcastInterface.dbcc_classguid = KSCATEGORY_AUDIO ;
    RegisterDeviceNotification(hWnd, &broadcastInterface,...
  10. Re: How to differentiate a virtual device arrival/removal than a (real) physical devi

    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.
  11. How to differentiate a virtual device arrival/removal than a (real) physical device?

    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...
  12. Replies
    0
    Views
    1,442

    Windows API - GetAdaptersInfo()

    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...
  13. Thread: DNS Lookup

    by JoderCoder
    Replies
    2
    Views
    860

    Re: DNS Lookup

    Thanks Mike,

    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...
  14. Thread: Dns

    by JoderCoder
    Replies
    3
    Views
    782

    Re: Dns

    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.
  15. Thread: Dns

    by JoderCoder
    Replies
    3
    Views
    782

    Dns

    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,...
  16. Thread: DNS Lookup

    by JoderCoder
    Replies
    2
    Views
    860

    DNS Lookup

    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...
  17. Replies
    2
    Views
    579

    Static attribute

    Hello all,

    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...
  18. Replies
    4
    Views
    905

    Re: Regular Expressions TExt Editor

    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...
  19. Replies
    4
    Views
    905

    Re: Regular Expressions TExt Editor

    Thanks!

    Can I use Programmers Notepad for this?

    like delete all the lines containing "bla di bla" for example
  20. Replies
    4
    Views
    905

    Regular Expressions TExt Editor

    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...
  21. Re: How to Link with .lib file -- UuidCreate()

    Mgrey, great!! that worked. thanks man! you saved me ;)
  22. How to Link with .lib file -- UuidCreate()

    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

    I am...
  23. Replies
    17
    Views
    2,801

    Re: GetTempFileName() causes crash

    thanks everyone for your input. really helped me a lot!
  24. Replies
    17
    Views
    2,801

    Re: GetTempFileName() causes crash

    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...
  25. Replies
    17
    Views
    2,801

    Re: GetTempFileName() causes crash

    G'morning all from shiny ireland ;)

    updating the code:

    {
    #define MAX_PATH 260

    wchar_t lpPathBuffer[MAX_PATH];

    wchar_t m_szTempName[MAX_PATH];
Results 1 to 25 of 28
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center