Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: num to string Pin
Luc Pattyn27-Aug-09 7:37
sitebuilderLuc Pattyn27-Aug-09 7:37 
GeneralRe: num to string Pin
musefan27-Aug-09 7:45
musefan27-Aug-09 7:45 
AnswerRe: num to string Pin
PIEBALDconsult27-Aug-09 9:17
mvePIEBALDconsult27-Aug-09 9:17 
QuestionCombining an SDK with C# through Visual Studio Pin
Steve-Co27-Aug-09 1:43
Steve-Co27-Aug-09 1:43 
AnswerRe: Combining an SDK with C# through Visual Studio Pin
stancrm27-Aug-09 1:53
stancrm27-Aug-09 1:53 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
Steve-Co27-Aug-09 2:22
Steve-Co27-Aug-09 2:22 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
stancrm27-Aug-09 2:34
stancrm27-Aug-09 2:34 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
Steve-Co27-Aug-09 3:12
Steve-Co27-Aug-09 3:12 
public static string GetSidString(byte[] sid)
{
IntPtr ptrSid;
string sidString;
if (!ConvertSidToStringSid(sid, out ptrSid))
throw new System.ComponentModel.Win32Exception();
try
{

At the !ConvertSidToString, I am getting the error "The security ID structure is invalid"

I'm trying all 3 functions now. I'm getting the error from my previous post, the error above and the 3rd function, the very long one on pinvoke.net gives the same result "S-0-0x2x2x2x2x2x2x" every time.

I only need one to work!! 3 functions and they all have problems.

Thanks for the help so far.
GeneralRe: Combining an SDK with C# through Visual Studio Pin
stancrm27-Aug-09 3:18
stancrm27-Aug-09 3:18 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
Steve-Co27-Aug-09 3:26
Steve-Co27-Aug-09 3:26 
GeneralRe: Combining an SDK with C# through Visual Studio Pin
stancrm27-Aug-09 3:46
stancrm27-Aug-09 3:46 
QuestionTaking screenshot from a DX game Pin
SimpleData27-Aug-09 1:43
SimpleData27-Aug-09 1:43 
AnswerRe: Taking screenshot from a DX game Pin
Dave Kreskowiak27-Aug-09 3:49
mveDave Kreskowiak27-Aug-09 3:49 
GeneralRe: Taking screenshot from a DX game Pin
SimpleData27-Aug-09 3:56
SimpleData27-Aug-09 3:56 
GeneralRe: Taking screenshot from a DX game Pin
Dave Kreskowiak27-Aug-09 12:46
mveDave Kreskowiak27-Aug-09 12:46 
QuestionAccess RS-232 in C# using VISA Pin
Member 637782627-Aug-09 1:34
Member 637782627-Aug-09 1:34 
AnswerRe: Access RS-232 in C# using VISA Pin
stancrm27-Aug-09 1:46
stancrm27-Aug-09 1:46 
AnswerRe: Access RS-232 in C# using VISA Pin
Alan N27-Aug-09 2:21
Alan N27-Aug-09 2:21 
GeneralRe: Access RS-232 in C# using VISA Pin
Member 637782627-Aug-09 4:04
Member 637782627-Aug-09 4:04 
GeneralRe: Access RS-232 in C# using VISA Pin
zafersavas27-Aug-09 9:12
zafersavas27-Aug-09 9:12 
QuestionRetaining focus after postback Pin
rcampbell1227-Aug-09 1:25
rcampbell1227-Aug-09 1:25 
AnswerRe: Retaining focus after postback Pin
EliottA27-Aug-09 2:57
EliottA27-Aug-09 2:57 
GeneralRe: Retaining focus after postback Pin
rcampbell1227-Aug-09 6:02
rcampbell1227-Aug-09 6:02 
Questionglobalizatin Pin
Rekha Achariya27-Aug-09 0:53
Rekha Achariya27-Aug-09 0:53 
AnswerRe: globalizatin Pin
Henry Minute27-Aug-09 1:01
Henry Minute27-Aug-09 1:01 

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.