Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
Questionfunction pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar17-Nov-08 9:03
kinar17-Nov-08 9:03 
AnswerRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike17-Nov-08 9:36
led mike17-Nov-08 9:36 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar17-Nov-08 10:10
kinar17-Nov-08 10:10 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike17-Nov-08 11:02
led mike17-Nov-08 11:02 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar18-Nov-08 3:20
kinar18-Nov-08 3:20 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike18-Nov-08 5:41
led mike18-Nov-08 5:41 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar18-Nov-08 7:53
kinar18-Nov-08 7:53 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike18-Nov-08 8:22
led mike18-Nov-08 8:22 
kinar wrote:
Unless, rather than "wrapping", you were talking about creating a whole new .NET assembly that duplicates all of the functionality of the native DLL.


No, but you could accept it would not duplicate the code just the compiled version of it. I was originally thinking about option #1 below.

The following assemblies are C++/CLI mixed mode that publish .NET classes, interfaces (whatever is required) with the differences as follows:

1) Just wrap - Linked to the original Native DLL (via dynamic link library .lib) and includes any header files.
2) Static link - Linked to the static link library (.lib) that can be produced by the same Native DLL project and includes any header files.
3) Share source code - Shares the same source code files (using source control tool) of the Native DLL project.


led mike

GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar18-Nov-08 9:11
kinar18-Nov-08 9:11 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike18-Nov-08 10:16
led mike18-Nov-08 10:16 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
kinar18-Nov-08 11:43
kinar18-Nov-08 11:43 
GeneralRe: function pointers/delegates/callbacks/managed/unmanaged code with c# Pin
led mike18-Nov-08 11:57
led mike18-Nov-08 11:57 
Questionscreen position of control Pin
Eli Nurman17-Nov-08 8:57
Eli Nurman17-Nov-08 8:57 
AnswerRe: screen position of control Pin
Samer Aburabie17-Nov-08 10:54
Samer Aburabie17-Nov-08 10:54 
QuestionHow to list Com Port usage and list of devices using those ports Pin
serkan197717-Nov-08 8:33
serkan197717-Nov-08 8:33 
AnswerRe: How to list Com Port usage and list of devices using those ports Pin
Samer Aburabie17-Nov-08 11:02
Samer Aburabie17-Nov-08 11:02 
GeneralRe: How to list Com Port usage and list of devices using those ports Pin
Rahul.RK17-Nov-08 20:03
Rahul.RK17-Nov-08 20:03 
Questioni am from greece and i want to write a file in greeks with data` from a textbox Pin
dianikol17-Nov-08 8:06
dianikol17-Nov-08 8:06 
AnswerRe: i am from greece and i want to write a file in greeks with data` from a textbox Pin
Pedram Behroozi17-Nov-08 8:38
Pedram Behroozi17-Nov-08 8:38 
GeneralRe: i am from greece and i want to write a file in greeks with data` from a textbox Pin
dianikol17-Nov-08 11:39
dianikol17-Nov-08 11:39 
GeneralRe: i am from greece and i want to write a file in greeks with data` from a textbox Pin
Pedram Behroozi17-Nov-08 19:42
Pedram Behroozi17-Nov-08 19:42 
Questionhow to make long time whit ConnectionTimeout Pin
E_Gold17-Nov-08 7:18
E_Gold17-Nov-08 7:18 
AnswerRe: how to make long time whit ConnectionTimeout Pin
Wendelius17-Nov-08 7:22
mentorWendelius17-Nov-08 7:22 
AnswerRe: how to make long time whit ConnectionTimeout Pin
PavanPareta17-Nov-08 19:11
PavanPareta17-Nov-08 19:11 
QuestionAll rows are not comming in dataset while filling from Excel.(when different datatype in excel column) Pin
ManojKumar1917-Nov-08 6:43
ManojKumar1917-Nov-08 6:43 

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.