Click here to Skip to main content
15,912,837 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Getting HDD serial No in C++/CLI environment Pin
J_E_D_I6-Dec-08 9:07
J_E_D_I6-Dec-08 9:07 
GeneralRe: Getting HDD serial No in C++/CLI environment Pin
Mark Salsbery6-Dec-08 9:36
Mark Salsbery6-Dec-08 9:36 
GeneralRe: Getting HDD serial No in C++/CLI environment Pin
J_E_D_I6-Dec-08 19:58
J_E_D_I6-Dec-08 19:58 
GeneralRe: Getting HDD serial No in C++/CLI environment Pin
Luc Pattyn7-Dec-08 1:14
sitebuilderLuc Pattyn7-Dec-08 1:14 
GeneralRe: Getting HDD serial No in C++/CLI environment Pin
J_E_D_I7-Dec-08 19:21
J_E_D_I7-Dec-08 19:21 
GeneralRe: Getting HDD serial No in C++/CLI environment Pin
Luc Pattyn7-Dec-08 23:06
sitebuilderLuc Pattyn7-Dec-08 23:06 
QuestionRe: Creating Registry Key Values in C++/CLI environment Pin
J_E_D_I13-Dec-08 7:56
J_E_D_I13-Dec-08 7:56 
GeneralRe: Creating Registry Key Values in C++/CLI environment Pin
Luc Pattyn13-Dec-08 8:26
sitebuilderLuc Pattyn13-Dec-08 8:26 
Hi,

there are two ways to solve this:

1.
most registry operations are supported in .NET by the Registry class
things not supported include special key types (not REG_SZ)

2.
when the Registry class does not offer what you need, you have to call the native functions (such as RegCreateKeyEx).

I don't know the details for C++, but you somehow must tell it where the library functions can be found,
and how they should be called.

This article[^] probably contains all you need and more.

FYI: in C# there is only one way to access native code, that is thru P/Invoke.

Remark: you would better have started a new thread for a question that hardly is connected to an old topic... that would have improved your chances for someone else to pick it up.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


GeneralRe: Getting HDD serial No in C++/CLI environment Pin
Mark Salsbery7-Dec-08 6:12
Mark Salsbery7-Dec-08 6:12 
GeneralRe: Getting HDD serial No in C++/CLI environment Pin
J_E_D_I7-Dec-08 19:24
J_E_D_I7-Dec-08 19:24 
AnswerRe: Getting HDD serial No in C++/CLI environment Pin
adi099016-Apr-11 0:27
adi099016-Apr-11 0:27 
QuestionUnmanged library printing to debug and then killing application Pin
coder2555-Dec-08 18:59
coder2555-Dec-08 18:59 
Questioni need client to server chat Pin
Member 39837645-Dec-08 6:35
Member 39837645-Dec-08 6:35 
AnswerRe: i need client to server chat Pin
Richard Andrew x6413-Dec-08 10:36
professionalRichard Andrew x6413-Dec-08 10:36 
QuestionFatal error C1902 Pin
Manfr3d3-Dec-08 12:51
Manfr3d3-Dec-08 12:51 
AnswerRe: Fatal error C1902 Pin
Manfr3d4-Dec-08 11:32
Manfr3d4-Dec-08 11:32 
QuestionInfragistics ultraGrid Pin
mikobi3-Dec-08 2:44
mikobi3-Dec-08 2:44 
QuestionDestroying controls created by CWinFormControl Pin
astibich230-Nov-08 11:43
astibich230-Nov-08 11:43 
QuestionRe: Destroying controls created by CWinFormControl Pin
led mike1-Dec-08 5:17
led mike1-Dec-08 5:17 
Questionspace in a string ! Pin
sajjy30-Nov-08 10:19
sajjy30-Nov-08 10:19 
AnswerRe: space in a string ! Pin
Mark Salsbery30-Nov-08 14:31
Mark Salsbery30-Nov-08 14:31 
GeneralRe: space in a string ! Pin
led mike2-Dec-08 4:31
led mike2-Dec-08 4:31 
GeneralRe: space in a string ! Pin
Mark Salsbery2-Dec-08 6:16
Mark Salsbery2-Dec-08 6:16 
GeneralRe: space in a string ! Pin
led mike2-Dec-08 6:49
led mike2-Dec-08 6:49 
GeneralRe: space in a string ! Pin
Paul Conrad2-Dec-08 6:57
professionalPaul Conrad2-Dec-08 6:57 

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.