Click here to Skip to main content
15,904,823 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to program cash drawer? Pin
Chris Trelawny-Ross1-Oct-10 5:08
Chris Trelawny-Ross1-Oct-10 5:08 
GeneralRe: how to program cash drawer? Pin
Syed Shahid Hussain1-Oct-10 5:09
Syed Shahid Hussain1-Oct-10 5:09 
GeneralRe: how to program cash drawer? Pin
OriginalGriff1-Oct-10 5:21
mveOriginalGriff1-Oct-10 5:21 
AnswerRe: how to program cash drawer? Pin
Abhinav S1-Oct-10 5:54
Abhinav S1-Oct-10 5:54 
AnswerRe: how to program cash drawer? Pin
spencepk2-Oct-10 5:27
spencepk2-Oct-10 5:27 
QuestionDeploying new WCF service does not expose client ???!!! Pin
Michael Eber30-Sep-10 11:40
Michael Eber30-Sep-10 11:40 
AnswerRe: Deploying new WCF service does not expose client ???!!! Pin
PIEBALDconsult30-Sep-10 17:55
mvePIEBALDconsult30-Sep-10 17:55 
AnswerRe: Deploying new WCF service does not expose client ???!!! Pin
Abhinav S1-Oct-10 5:56
Abhinav S1-Oct-10 5:56 
QuestionFreeing UnmanagedType.ByValArray Pin
bajamba30-Sep-10 4:47
bajamba30-Sep-10 4:47 
AnswerRe: Freeing UnmanagedType.ByValArray [modified] Pin
Luc Pattyn30-Sep-10 5:44
sitebuilderLuc Pattyn30-Sep-10 5:44 
Questionwin7,sc delete, windows servis,process start Pin
tomorrow_ft30-Sep-10 3:50
tomorrow_ft30-Sep-10 3:50 
AnswerRe: win7,sc delete, windows servis,process start Pin
Not Active30-Sep-10 3:54
mentorNot Active30-Sep-10 3:54 
GeneralRe: win7,sc delete, windows servis,process start Pin
tomorrow_ft30-Sep-10 3:58
tomorrow_ft30-Sep-10 3:58 
AnswerRe: win7,sc delete, windows servis,process start Pin
Bernhard Hiller30-Sep-10 4:18
Bernhard Hiller30-Sep-10 4:18 
GeneralRe: win7,sc delete, windows servis,process start Pin
tomorrow_ft30-Sep-10 4:21
tomorrow_ft30-Sep-10 4:21 
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 

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.