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

Search:

Type: Posts; User: JNygren

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    794

    Array of string constants

    I want to declare an array of string literals. This c++ code demonstrates what I'm trying to do:

    const string regLabel[] = {"First", "Second", "Third"};

    I've tried several variations on:

    ...
  2. Replies
    2
    Views
    4,434

    Re: Questions about building .NET Web Service

    Thank you for the advice. I'm just trying to understand as much as I can on the subject.
  3. Replies
    2
    Views
    4,434

    Questions about building .NET Web Service

    The excellent tutorial ".NET Web Services Tutorial" by Shiv Pal Singh is very helpful, but I have questions that are not answered there.

    1. Aren't most web services deployed as .DLLs?

    2. The...
  4. How do I build a web service for non-local host?

    I know this is a newb question, but I don't get it! I want to build a simple web service that I can deploy/install on my choice of web host. I started up VS2008, and selected File - New - Web Site. I...
  5. Re: Run-Time Check Failure #2 - Stack around the variable 'cz' was corrupted.

    Did anyone actually read the line:

    > I had a working app. Compiled in VS 6.0 but now when I compile it in VS .NET this error happens.

    And just because someone has an array in code they showed...
  6. Replies
    3
    Views
    18,016

    Re: `scalar deleting destructor'

    Did that. That's how I got here!
  7. Replies
    6
    Views
    992

    Re: How can I free the leaking memory?

    > What are you trying to accomplish ?

    I'm trying to fix a leak in code someone else wrote. The sample code I posted is an extremely simplified version of the code I was/am working on.

    Since...
  8. Replies
    6
    Views
    992

    How can I free the leaking memory?

    In the application below, how can I 'delete' the 'new'ed memory?


    // PreLeak.cpp : Demonstrate memory leak that occurs before entry to main().
    //

    #include <stdio.h>

    typedef struct...
  9. Replies
    0
    Views
    3,074

    Get Physical HDD Serial Number under Vista

    I need to RELIABLY get the Serial Number of the primary HardDisk (not volume SN) from unmanaged C++ code, running as a Standard User on Vista, regardless of whether the device is SATA/PATA/SCSI/IDE...
  10. Replies
    4
    Views
    25,908

    Re: hardisk manifacturer serial nuber

    This sample file came from Lynn McGuire.

    See the CodeGuru article: "Reading Hard Drive Manufacturing Information".
  11. Replies
    9
    Views
    7,237

    Re: Hard Drive Serial

    I'm having the same problem as you. I've found that sometimes when WMI won't work, you can use the "SMART_RCV_DRIVE_DATA" IOCTL to get the serial number. (Sometime both work, sometimes one or the...
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured