Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
GeneralRe: managed c++ vs. c# Pin
Heath Stewart16-Mar-04 5:06
protectorHeath Stewart16-Mar-04 5:06 
GeneralRe: managed c++ vs. c# Pin
Judah Gabriel Himango16-Mar-04 5:38
sponsorJudah Gabriel Himango16-Mar-04 5:38 
GeneralRe: managed c++ vs. c# Pin
Heath Stewart16-Mar-04 4:59
protectorHeath Stewart16-Mar-04 4:59 
GeneralRe: managed c++ vs. c# Pin
Nemanja Trifunovic16-Mar-04 5:17
Nemanja Trifunovic16-Mar-04 5:17 
GeneralRe: managed c++ vs. c# Pin
Jeremy Kimball16-Mar-04 6:34
Jeremy Kimball16-Mar-04 6:34 
GeneralDllImport Without Attribute Pin
Werdna16-Mar-04 4:06
Werdna16-Mar-04 4:06 
GeneralRe: DllImport Without Attribute Pin
Heath Stewart16-Mar-04 4:19
protectorHeath Stewart16-Mar-04 4:19 
GeneralRe: DllImport Without Attribute Pin
Jeremy Kimball16-Mar-04 6:46
Jeremy Kimball16-Mar-04 6:46 
Well, this all depends on the functionality you're using. I think Heath's just about right, you'd have to use PInvoke to load up and determine the starting proc address, but my gut is telling me that you'd probably also need to monkey around with some dynamic method invocation (dig through the System.Reflection namespace).

Are you using a COM/ActiveX component located in this DLL? Then definately the Reflection stuff: you'd need to get a dynamic Type reference, then call "InvokeMember" on it.

Is it just a chunk of procedural code within the DLL? Your only recourse may be to do the entire thing using PInvoke'd API calls: LoadLibrary, GetProcAddress, and more likely than not, CallProcEx32W.

Have fun Smile | :)

Jeremy Kimball
Generaladd Xml in C# Pin
bertcox16-Mar-04 2:37
bertcox16-Mar-04 2:37 
GeneralRe: add Xml in C# Pin
rull16-Mar-04 3:34
rull16-Mar-04 3:34 
GeneralRe: add Xml in C# Pin
Philip Fitzsimons16-Mar-04 3:38
Philip Fitzsimons16-Mar-04 3:38 
GeneralRe: add Xml in C# Pin
bertcox16-Mar-04 4:28
bertcox16-Mar-04 4:28 
GeneralRe: add Xml in C# Pin
Philip Fitzsimons16-Mar-04 4:30
Philip Fitzsimons16-Mar-04 4:30 
GeneralRe: add Xml in C# Pin
bertcox16-Mar-04 4:43
bertcox16-Mar-04 4:43 
GeneralRe: add Xml in C# Pin
Philip Fitzsimons16-Mar-04 4:49
Philip Fitzsimons16-Mar-04 4:49 
GeneralRe: add Xml in C# Pin
bertcox16-Mar-04 4:59
bertcox16-Mar-04 4:59 
GeneralRe: add Xml in C# Pin
Philip Fitzsimons16-Mar-04 5:01
Philip Fitzsimons16-Mar-04 5:01 
GeneralRe: add Xml in C# Pin
bertcox16-Mar-04 5:07
bertcox16-Mar-04 5:07 
GeneralRe: add Xml in C# Pin
Philip Fitzsimons16-Mar-04 5:13
Philip Fitzsimons16-Mar-04 5:13 
GeneralRe: add Xml in C# Pin
bertcox16-Mar-04 5:18
bertcox16-Mar-04 5:18 
GeneralRe: add Xml in C# Pin
Philip Fitzsimons16-Mar-04 5:22
Philip Fitzsimons16-Mar-04 5:22 
GeneralRe: add Xml in C# Pin
bertcox16-Mar-04 5:27
bertcox16-Mar-04 5:27 
GeneralSorting DataGrid (Data is from DataSet from XML) Pin
jazzle16-Mar-04 2:32
jazzle16-Mar-04 2:32 
GeneralRe: Sorting DataGrid (Data is from DataSet from XML) Pin
Dave Kreskowiak16-Mar-04 2:45
mveDave Kreskowiak16-Mar-04 2:45 
GeneralRe: Sorting DataGrid (Data is from DataSet from XML) Pin
jazzle16-Mar-04 3:10
jazzle16-Mar-04 3:10 

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.