Click here to Skip to main content
15,895,709 members
Home / Discussions / C#
   

C#

 
QuestionCalling code from Win32 dll Pin
_AnsHUMAN_ 3-Apr-09 2:12
_AnsHUMAN_ 3-Apr-09 2:12 
AnswerRe: Calling code from Win32 dll Pin
Giorgi Dalakishvili3-Apr-09 2:14
mentorGiorgi Dalakishvili3-Apr-09 2:14 
GeneralRe: Calling code from Win32 dll Pin
_AnsHUMAN_ 3-Apr-09 2:50
_AnsHUMAN_ 3-Apr-09 2:50 
AnswerRe: Calling code from Win32 dll Pin
Luc Pattyn3-Apr-09 2:46
sitebuilderLuc Pattyn3-Apr-09 2:46 
GeneralRe: Calling code from Win32 dll Pin
_AnsHUMAN_ 3-Apr-09 2:51
_AnsHUMAN_ 3-Apr-09 2:51 
GeneralRe: Calling code from Win32 dll Pin
Luc Pattyn3-Apr-09 2:56
sitebuilderLuc Pattyn3-Apr-09 2:56 
GeneralRe: Calling code from Win32 dll Pin
_AnsHUMAN_ 3-Apr-09 3:00
_AnsHUMAN_ 3-Apr-09 3:00 
AnswerRe: Calling code from Win32 dll Pin
N a v a n e e t h3-Apr-09 4:29
N a v a n e e t h3-Apr-09 4:29 
_AnsHUMAN_ wrote:
Create a Bridge DLL in Managed C++. If we don’t have the source code for the dll’s this approach would be better.


You are using C++/CLI right? C++/CLI supports C++ Interop and it is more preferable than P/Invoke. So I think Solution B is going to be good.

_AnsHUMAN_ wrote:
Also do we need to write a wrapper for each and every function a WIN32 dll exposes?


I think, you only need to wrap functions that you use. Take a look at Nish's C++/CLI in Action, it covers these topics.

Smile | :)


QuestionMEB download Link! Help.... Pin
Rajdeep.NET is BACK3-Apr-09 2:09
Rajdeep.NET is BACK3-Apr-09 2:09 
AnswerRe: MEB download Link! Help.... Pin
Mirko19803-Apr-09 2:15
Mirko19803-Apr-09 2:15 
QuestionHelp required in comparing an image file with a text file Pin
ADIDADPU3-Apr-09 2:03
ADIDADPU3-Apr-09 2:03 
AnswerRe: Help required in comparing an image file with a text file Pin
King Julien3-Apr-09 2:19
King Julien3-Apr-09 2:19 
GeneralRe: Help required in comparing an image file with a text file Pin
mrithula86-Apr-09 3:37
mrithula86-Apr-09 3:37 
QuestionRetrieving multiple items from listview Pin
mrithula83-Apr-09 1:23
mrithula83-Apr-09 1:23 
AnswerRe: Retrieving multiple items from listview Pin
King Julien3-Apr-09 1:49
King Julien3-Apr-09 1:49 
GeneralRe: Retrieving multiple items from listview Pin
mrithula83-Apr-09 4:39
mrithula83-Apr-09 4:39 
GeneralRe: Retrieving multiple items from listview Pin
King Julien6-Apr-09 4:29
King Julien6-Apr-09 4:29 
GeneralRe: Retrieving multiple items from listview Pin
mrithula86-Apr-09 5:27
mrithula86-Apr-09 5:27 
GeneralRe: Retrieving multiple items from listview Pin
mrithula86-Apr-09 5:28
mrithula86-Apr-09 5:28 
GeneralRe: Retrieving multiple items from listview Pin
mrithula87-Apr-09 18:35
mrithula87-Apr-09 18:35 
GeneralRe: Retrieving multiple items from listview Pin
King Julien7-Apr-09 19:56
King Julien7-Apr-09 19:56 
GeneralRe: Retrieving multiple items from listview [modified] Pin
mrithula87-Apr-09 20:10
mrithula87-Apr-09 20:10 
GeneralRe: Retrieving multiple items from listview Pin
King Julien7-Apr-09 20:21
King Julien7-Apr-09 20:21 
GeneralRe: Retrieving multiple items from listview Pin
mrithula87-Apr-09 20:50
mrithula87-Apr-09 20:50 
GeneralRe: Retrieving multiple items from listview Pin
King Julien7-Apr-09 20:58
King Julien7-Apr-09 20:58 

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.