Click here to Skip to main content
16,005,241 members
Home / Discussions / C#
   

C#

 
GeneralRe: ENTER key Pin
Gamya6-Mar-05 19:59
sussGamya6-Mar-05 19:59 
GeneralRe: ENTER key Pin
Bahadir Cambel7-Mar-05 4:48
Bahadir Cambel7-Mar-05 4:48 
Generalstupid string question Pin
Anonymous6-Mar-05 12:27
Anonymous6-Mar-05 12:27 
GeneralRe: stupid string question Pin
Christian Graus6-Mar-05 13:02
protectorChristian Graus6-Mar-05 13:02 
GeneralRe: stupid string question Pin
TrevorBo7-Mar-05 4:55
TrevorBo7-Mar-05 4:55 
GeneralSecurity question Pin
oohungoo6-Mar-05 4:06
oohungoo6-Mar-05 4:06 
GeneralRe: Security question Pin
Luis Alonso Ramos6-Mar-05 15:00
Luis Alonso Ramos6-Mar-05 15:00 
GeneralCLR interpretation (type conversion between managed c++ and c#) Pin
sympthom 96-Mar-05 4:01
sympthom 96-Mar-05 4:01 
Im trying to call a function in a class written in managed c++, from c#. The compiler interpret the types WCHAR*, BSTR and wchar_t* in managed c++ to a ushort* in c#.

This is the C# code calling the method _logonUserWithSSPI in the managed c++ code:

pExistingTokenHandle = oSSPIHelper._logonUserWithSSPI(NTLM", TOKEN_QUERY, "DOMAIN", "test", "smurf");

This is the managed c++ code (.h):

HANDLE _logonUserWithSSPI(WCHAR* pszSSP, DWORD grfDesiredAccessToToken, BSTR pszAuthority, wchar_t* szPrincipal, wchar_t* pszPassword);


How could I call this _logonUserWithSSPI method and pass the strings to it (convert a string to ushort*)?

WTF | :WTF:
Generaltrying to make a reference to a dataset Pin
abdelmohsen6-Mar-05 3:48
abdelmohsen6-Mar-05 3:48 
QuestionStraight from CD to mp3 or ogg? Pin
homerjk6-Mar-05 2:47
homerjk6-Mar-05 2:47 
AnswerRe: Straight from CD to mp3 or ogg? Pin
eggie56-Mar-05 15:50
eggie56-Mar-05 15:50 
GeneralRe: Straight from CD to mp3 or ogg? Pin
homerjk7-Mar-05 3:17
homerjk7-Mar-05 3:17 
Generalcontrol camera white c# for proccecing image Pin
mehdipg6-Mar-05 1:36
mehdipg6-Mar-05 1:36 
GeneralRe: control camera white c# for proccecing image Pin
Christian Graus6-Mar-05 13:03
protectorChristian Graus6-Mar-05 13:03 
Generalcontorol camera white c# for proccecing imag Pin
Anonymous6-Mar-05 1:32
Anonymous6-Mar-05 1:32 
QuestionHow to intergrate my project in .NET (help!) Pin
oohungoo6-Mar-05 0:39
oohungoo6-Mar-05 0:39 
QuestionHow can I use files included in my project? Pin
oohungoo6-Mar-05 0:31
oohungoo6-Mar-05 0:31 
AnswerRe: How can I use files included in my project? Pin
mav.northwind6-Mar-05 1:10
mav.northwind6-Mar-05 1:10 
AnswerRe: How can I use files included in my project? Pin
realmontanakid6-Mar-05 1:19
realmontanakid6-Mar-05 1:19 
GeneralRe: How can I use files included in my project? Pin
oohungoo6-Mar-05 4:03
oohungoo6-Mar-05 4:03 
GeneralPrinter Setting In C# Pin
| Muhammad Waqas Butt |5-Mar-05 23:02
professional| Muhammad Waqas Butt |5-Mar-05 23:02 
GeneralDataGrid Column Title Pin
fjlv20055-Mar-05 22:42
fjlv20055-Mar-05 22:42 
GeneralRe: DataGrid Column Title Pin
Kodanda Pani6-Mar-05 16:26
Kodanda Pani6-Mar-05 16:26 
GeneralRe: DataGrid Column Title Pin
Anonymous6-Mar-05 23:00
Anonymous6-Mar-05 23:00 
Questionwnt to palce a button to open command dialog box using c# . ? Pin
chandtec5-Mar-05 20:01
chandtec5-Mar-05 20: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.