Click here to Skip to main content
15,884,629 members
Home / Discussions / C#
   

C#

 
GeneralRe: Alpha Texture Problems Pin
Heath Stewart12-Dec-03 4:32
protectorHeath Stewart12-Dec-03 4:32 
GeneralRe: Alpha Texture Problems Pin
12-Dec-03 4:39
suss12-Dec-03 4:39 
GeneralSOLVED Pin
Tristan Rhodes12-Dec-03 10:36
Tristan Rhodes12-Dec-03 10:36 
QuestionHow to compile inline code documentation into assemblies? Pin
Vasek12-Dec-03 1:43
Vasek12-Dec-03 1:43 
AnswerRe: How to compile inline code documentation into assemblies? Pin
Nigel Savidge12-Dec-03 2:01
Nigel Savidge12-Dec-03 2:01 
GeneralRe: How to compile inline code documentation into assemblies? Pin
Vasek15-Dec-03 7:15
Vasek15-Dec-03 7:15 
GeneralRe: How to compile inline code documentation into assemblies? Pin
Nigel Savidge15-Dec-03 7:39
Nigel Savidge15-Dec-03 7:39 
Generalreading from registry using Win API dll Pin
Member 51467212-Dec-03 0:33
Member 51467212-Dec-03 0:33 
Hello,
I'm trying to use the Microsoft.Win32.Registry namespace for getting owner information from the registry. I found that this namespace isn't supported by .net compact framework and that i have to use Win Api functions and to import coredll .dll
But I don't know how can I fix my problem:

I have to
[DllImport("coredll.dll")]

and then to use RegCreateKeyEx(..) and RegCreateKeyEx(..)

LONG RegCreateKeyEx ( HKEY hKey, LPCWSTR lpSubKey, DWORD Reserved, LPWSTR lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes,
PHKEY phkResult, LPDWORD lpdwDisposition );


LONG RegQueryValueEx( HKEY hKey, LPCWSTR lpValueName,
LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData );

but I don't know how to transform types of parameters for using this functions in c# and to use the macro like HKEY_CURRENT_USER


thank you for your time.

Ramona


GeneralRe: reading from registry using Win API dll Pin
Heath Stewart12-Dec-03 4:25
protectorHeath Stewart12-Dec-03 4:25 
GeneralCreate Server Event using code Pin
AEKirin12-Dec-03 0:12
professionalAEKirin12-Dec-03 0:12 
GeneralRe: Create Server Event using code Pin
Heath Stewart12-Dec-03 4:15
protectorHeath Stewart12-Dec-03 4:15 
Generalmy fatherland Pin
duaneye200311-Dec-03 23:23
duaneye200311-Dec-03 23:23 
GeneralStatic libraries and C# Pin
Severino11-Dec-03 22:20
Severino11-Dec-03 22:20 
GeneralRe: Static libraries and C# Pin
Heath Stewart12-Dec-03 4:05
protectorHeath Stewart12-Dec-03 4:05 
GeneralRe: Static libraries and C# Pin
Eric Gunnerson (msft)12-Dec-03 13:31
Eric Gunnerson (msft)12-Dec-03 13:31 
Generalshow form from worker thread Pin
Alastair Stell11-Dec-03 19:34
Alastair Stell11-Dec-03 19:34 
GeneralRe: show form from worker thread Pin
Corinna John11-Dec-03 19:40
Corinna John11-Dec-03 19:40 
GeneralRe: show form from worker thread Pin
Alastair Stell11-Dec-03 19:46
Alastair Stell11-Dec-03 19:46 
GeneralRe: show form from worker thread Pin
Alastair Stell11-Dec-03 19:47
Alastair Stell11-Dec-03 19:47 
GeneralRe: show form from worker thread Pin
Corinna John11-Dec-03 21:35
Corinna John11-Dec-03 21:35 
QuestionHow to displaying User Options in a Windows Service Pin
john ingram11-Dec-03 11:56
john ingram11-Dec-03 11:56 
AnswerRe: How to displaying User Options in a Windows Service Pin
Heath Stewart11-Dec-03 12:01
protectorHeath Stewart11-Dec-03 12:01 
Questionhow do I add a Footer to a datagrid (windows forms) Pin
mdolby11-Dec-03 11:25
mdolby11-Dec-03 11:25 
AnswerRe: how do I add a Footer to a datagrid (windows forms) Pin
Heath Stewart11-Dec-03 11:35
protectorHeath Stewart11-Dec-03 11:35 
GeneralRe: how do I add a Footer to a datagrid (windows forms) Pin
john ingram12-Dec-03 2:23
john ingram12-Dec-03 2:23 

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.