Click here to Skip to main content
16,003,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCompiler Error Pin
Kash12-Apr-04 1:58
Kash12-Apr-04 1:58 
GeneralRe: Compiler Error Pin
Nitzan Shaked12-Apr-04 2:47
Nitzan Shaked12-Apr-04 2:47 
GeneralRe: Compiler Error Pin
Kash12-Apr-04 3:24
Kash12-Apr-04 3:24 
GeneralRe: Compiler Error Pin
Nitzan Shaked12-Apr-04 7:05
Nitzan Shaked12-Apr-04 7:05 
GeneralRe: Compiler Error Pin
Kash13-Apr-04 23:05
Kash13-Apr-04 23:05 
GeneralSplitters! Message Box Pin
ZoomBoy2712-Apr-04 1:49
ZoomBoy2712-Apr-04 1:49 
GeneralRe: Splitters! Message Box Pin
ZoomBoy2712-Apr-04 2:00
ZoomBoy2712-Apr-04 2:00 
QuestionHard Drive, BIOS and CPU serial number in VC++ 6.0? Pin
Freddie Code12-Apr-04 1:15
Freddie Code12-Apr-04 1:15 
In VB 6.0 I use the following code to get the hard drive serial number. Is there an equivalent method in VC++ 6.0? How about a way to get the BIOS or CPU serial number? Could not find it in the help menu. A code snip would be really helpful. Thanks!

Sub ShowDriveInfo(drvpath)
Dim fs, d, s, t
Set fs = CreateObject("Scripting.FileSystemObject")
Set d = fs.GetDrive(fs.GetDriveName(fs.GetAbsolutePathName(drvpath)))
Select Case d.DriveType
Case 0: t = "Unknown"
Case 1: t = "Removable"
Case 2: t = "Fixed"
Case 3: t = "Network"
Case 4: t = "CD-ROM"
Case 5: t = "RAM Disk"
End Select
s = "Drive " & d.DriveLetter & ": - " & t
s = s & vbCrLf & "SN: " & d.SerialNumber
MsgBox s
End Sub


AnswerRe: Hard Drive, BIOS and CPU serial number in VC++ 6.0? Pin
Milton Karimbekallil12-Apr-04 1:57
Milton Karimbekallil12-Apr-04 1:57 
AnswerRe: Hard Drive, BIOS and CPU serial number in VC++ 6.0? Pin
David Crow12-Apr-04 4:12
David Crow12-Apr-04 4:12 
AnswerRe: Hard Drive, BIOS and CPU serial number in VC++ 6.0? Pin
Darshan Jani12-Apr-04 7:47
Darshan Jani12-Apr-04 7:47 
GeneralTrouble with _variant_t Pin
yanuart12-Apr-04 1:08
yanuart12-Apr-04 1:08 
GeneralRe: Trouble with _variant_t Pin
Milton Karimbekallil12-Apr-04 1:48
Milton Karimbekallil12-Apr-04 1:48 
QuestionAre there somewhere good articles about MTS ? Pin
vgrigor12-Apr-04 0:53
vgrigor12-Apr-04 0:53 
Generalunsigned chars Pin
packetlos12-Apr-04 0:10
packetlos12-Apr-04 0:10 
GeneralRe: unsigned chars Pin
John R. Shaw12-Apr-04 0:37
John R. Shaw12-Apr-04 0:37 
GeneralRe: unsigned chars Pin
packetlos12-Apr-04 1:21
packetlos12-Apr-04 1:21 
GeneralRe: unsigned chars Pin
packetlos12-Apr-04 5:38
packetlos12-Apr-04 5:38 
Generaldouble and float variables Pin
deniz79s12-Apr-04 0:04
deniz79s12-Apr-04 0:04 
GeneralRe: double and float variables Pin
John R. Shaw12-Apr-04 0:46
John R. Shaw12-Apr-04 0:46 
QuestionWhich DLLs do I have to distribute AND which DLLs can I expect to be already installed on a standard XP installation? Pin
Tony Westminster12-Apr-04 0:04
Tony Westminster12-Apr-04 0:04 
AnswerRe: Which DLLs do I have to distribute AND which DLLs can I expect to be already installed on a standard XP installation? Pin
Abin12-Apr-04 3:01
Abin12-Apr-04 3:01 
GeneralRe: Which DLLs do I have to distribute AND which DLLs can I expect to be already installed on a standard XP installation? Pin
Tony Westminster12-Apr-04 4:10
Tony Westminster12-Apr-04 4:10 
GeneralADO Calls and Socket Pin
Sitaram Sukumar11-Apr-04 23:43
Sitaram Sukumar11-Apr-04 23:43 
GeneralRe: ADO Calls and Socket Pin
Milton Karimbekallil12-Apr-04 0:50
Milton Karimbekallil12-Apr-04 0:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.