April 26th, 2010, 08:48 PM
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:
...
November 5th, 2009, 01:34 PM
Thank you for the advice. I'm just trying to understand as much as I can on the subject.
November 4th, 2009, 01:53 PM
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...
October 29th, 2009, 08:51 PM
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...
July 23rd, 2009, 12:36 PM
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...
November 3rd, 2008, 04:00 PM
Did that. That's how I got here!
July 28th, 2008, 01:52 PM
> 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...
June 30th, 2008, 02:40 PM
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...
April 30th, 2007, 11:18 AM
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...
April 30th, 2007, 10:55 AM
This sample file came from Lynn McGuire.
See the CodeGuru article: "Reading Hard Drive Manufacturing Information".
April 30th, 2007, 10:46 AM
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...