Click here to Skip to main content
15,889,909 members
Home / Discussions / C#
   

C#

 
GeneralRe: win7,sc delete, windows servis,process start Pin
Dave Kreskowiak30-Sep-10 5:33
mveDave Kreskowiak30-Sep-10 5:33 
GeneralRe: win7,sc delete, windows servis,process start Pin
Sunil G 31-Oct-10 18:35
Sunil G 31-Oct-10 18:35 
GeneralRe: win7,sc delete, windows servis,process start Pin
Dave Kreskowiak1-Oct-10 18:37
mveDave Kreskowiak1-Oct-10 18:37 
QuestionUsing C++ class in C# Pin
Nematjon Rahmanov30-Sep-10 3:36
Nematjon Rahmanov30-Sep-10 3:36 
AnswerRe: Using C++ class in C# Pin
Not Active30-Sep-10 3:51
mentorNot Active30-Sep-10 3:51 
QuestionRe: Using C++ class in C# Pin
Nematjon Rahmanov30-Sep-10 3:57
Nematjon Rahmanov30-Sep-10 3:57 
AnswerRe: Using C++ class in C# Pin
Saksida Bojan30-Sep-10 6:54
Saksida Bojan30-Sep-10 6:54 
GeneralRe: Using C++ class in C# [modified] Pin
Ziad Elmalki30-Sep-10 23:04
Ziad Elmalki30-Sep-10 23:04 
Runtime Call Wrapepers are for COM. This is just a normal C++ class exposed in the export table. In C++ calling methods on a class use a calling convention called ThisCall. With ThisCall the "this" pointer gets passed into the method via the ECX register and everything else is the same as STD call. .Net supports this. You can specify this calling convention in the DllImport attribute. How the constructor and destructor get called is something else. When you specify ThisCall in the DllImport attribute the first parameter of the method must be a pointer to "This". The names are going to be mangled in the export table. Use a program like dependency walker to see what they are.

Here is a good post I found on this site.

How to Marshal a C++ Class[^]

modified on Friday, October 1, 2010 2:38 PM

AnswerRe: Using C++ class in C# Pin
cepi691-Oct-10 5:08
cepi691-Oct-10 5:08 
QuestionActive directory permissions management Pin
allstarmisho30-Sep-10 1:44
allstarmisho30-Sep-10 1:44 
AnswerRe: Active directory permissions management Pin
Eddy Vluggen30-Sep-10 6:29
professionalEddy Vluggen30-Sep-10 6:29 
QuestionHow to compare the image in datagridviewImage column Pin
NarVish30-Sep-10 0:31
NarVish30-Sep-10 0:31 
AnswerRe: How to compare the image in datagridviewImage column Pin
Henry Minute30-Sep-10 1:51
Henry Minute30-Sep-10 1:51 
GeneralRe: How to compare the image in datagridviewImage column Pin
NarVish30-Sep-10 18:56
NarVish30-Sep-10 18:56 
GeneralRe: How to compare the image in datagridviewImage column Pin
Henry Minute30-Sep-10 18:57
Henry Minute30-Sep-10 18:57 
QuestionConsole Apps for Assemblyinfo.cs version number update. Pin
123!@#aruk29-Sep-10 18:57
123!@#aruk29-Sep-10 18:57 
AnswerRe: Console Apps for Assemblyinfo.cs version number update. Pin
SeMartens29-Sep-10 20:51
SeMartens29-Sep-10 20:51 
GeneralRe: Console Apps for Assemblyinfo.cs version number update. Pin
123!@#aruk30-Sep-10 20:39
123!@#aruk30-Sep-10 20:39 
AnswerRe: Console Apps for Assemblyinfo.cs version number update. Pin
Pete O'Hanlon29-Sep-10 21:54
mvePete O'Hanlon29-Sep-10 21:54 
AnswerRe: Console Apps for Assemblyinfo.cs version number update. Pin
PIEBALDconsult30-Sep-10 3:26
mvePIEBALDconsult30-Sep-10 3:26 
QuestionWPF MVVM Navigation Pin
eddieangel29-Sep-10 11:55
eddieangel29-Sep-10 11:55 
AnswerRe: WPF MVVM Navigation Pin
Arun Jacob29-Sep-10 18:38
Arun Jacob29-Sep-10 18:38 
AnswerRe: WPF MVVM Navigation Pin
Pete O'Hanlon29-Sep-10 21:51
mvePete O'Hanlon29-Sep-10 21:51 
GeneralRe: WPF MVVM Navigation Pin
eddieangel30-Sep-10 6:27
eddieangel30-Sep-10 6:27 
GeneralRe: WPF MVVM Navigation Pin
Pete O'Hanlon30-Sep-10 10:04
mvePete O'Hanlon30-Sep-10 10:04 

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.