Click here to Skip to main content
15,899,641 members
Home / Discussions / C#
   

C#

 
GeneralRe: Invoking a Win32 DLL from C# Pin
Heath Stewart30-Jul-04 5:53
protectorHeath Stewart30-Jul-04 5:53 
GeneralRe: Invoking a Win32 DLL from C# Pin
rana741-Aug-04 16:18
rana741-Aug-04 16:18 
GeneralRe: Invoking a Win32 DLL from C# Pin
Heath Stewart4-Aug-04 5:04
protectorHeath Stewart4-Aug-04 5:04 
Questionhow do i pass null to dateTime variable Pin
robmays29-Jul-04 22:56
robmays29-Jul-04 22:56 
AnswerRe: how do i pass null to dateTime variable Pin
Ryan Roberts30-Jul-04 0:15
Ryan Roberts30-Jul-04 0:15 
GeneralRe: how do i pass null to dateTime variable Pin
robmays30-Jul-04 0:17
robmays30-Jul-04 0:17 
QuestionHow to passing parameters from eVC++ to a running C# program? Pin
ting66829-Jul-04 22:40
ting66829-Jul-04 22:40 
AnswerRe: How to passing parameters from eVC++ to a running C# program? Pin
Heath Stewart30-Jul-04 5:40
protectorHeath Stewart30-Jul-04 5:40 
There's many ways. You could expose your .NET components as CCWs (COM-Callable Wrappers) and communicate with them that way (most likely using the Running Object Table - or ROT - to get the running instance, but any singleton pattern will do).Read my article Embedding .NET Controls in Java[^] for an example (ignore the Java stuff; pay attention to how the C++ bridge marshals calls on the .NET Control exposed as a CCW). Also read Nick's article, Creating a CCW for COM-Enabled, non-.NET Applications[^].

You could use DDE, though adding support for this archaic API to .NET is cumbersome (but I do believe I've seen an article here on CP that may help).

You could use any IPC (inter-process communication) mechanism, such as - but not limited to - .NET Remoting (easy to implement on the .NET side, but forces you to parse and create XML fragments and post them to a TCP channel, for example, yourself in eVC++, interop'd IPC functions from the Win32 API (at least whatever is supported by eVC++ for the Windows Mobile architecture), etc.

 

Microsoft MVP, Visual C#
My Articles
Questionmatching regex at exact index? Pin
Roger Alsing29-Jul-04 21:44
Roger Alsing29-Jul-04 21:44 
AnswerRe: matching regex at exact index? Pin
Heath Stewart30-Jul-04 4:55
protectorHeath Stewart30-Jul-04 4:55 
GeneralRe: matching regex at exact index? Pin
Roger Alsing30-Jul-04 5:14
Roger Alsing30-Jul-04 5:14 
GeneralRe: matching regex at exact index? Pin
Roger Alsing1-Aug-04 7:25
Roger Alsing1-Aug-04 7:25 
Generalspitter problem Pin
samithas29-Jul-04 19:30
samithas29-Jul-04 19:30 
GeneralRe: spitter problem Pin
Heath Stewart30-Jul-04 4:51
protectorHeath Stewart30-Jul-04 4:51 
GeneralUsing Interop.Outlook problem (Windows Services) Pin
enchanted29-Jul-04 18:37
enchanted29-Jul-04 18:37 
GeneralRe: Using Interop.Outlook problem (Windows Services) Pin
Heath Stewart30-Jul-04 4:41
protectorHeath Stewart30-Jul-04 4:41 
QuestionHas anybody used the control "MagicLibrary" supplied by codeproject? Pin
ILoveCS29-Jul-04 17:41
ILoveCS29-Jul-04 17:41 
AnswerRe: Has anybody used the control "MagicLibrary" supplied by codeproject? Pin
Colin Angus Mackay29-Jul-04 22:42
Colin Angus Mackay29-Jul-04 22:42 
GeneralRe: Has anybody used the control "MagicLibrary" supplied by codeproject? Pin
ILoveCS1-Aug-04 15:36
ILoveCS1-Aug-04 15:36 
GeneralRe: Has anybody used the control "MagicLibrary" supplied by codeproject? Pin
Colin Angus Mackay1-Aug-04 20:12
Colin Angus Mackay1-Aug-04 20:12 
QuestionHow can I get Web Client IP address Pin
stevenhe29-Jul-04 15:23
stevenhe29-Jul-04 15:23 
AnswerRe: How can I get Web Client IP address Pin
Andy Brummer29-Jul-04 15:44
sitebuilderAndy Brummer29-Jul-04 15:44 
GeneralRe: How can I get Web Client IP address Pin
stevenhe29-Jul-04 16:02
stevenhe29-Jul-04 16:02 
GeneralWM_NCLBUTTONUP Pin
Guinness4Strength29-Jul-04 12:34
Guinness4Strength29-Jul-04 12:34 
GeneralRe: WM_NCLBUTTONUP Pin
Nick Parker29-Jul-04 17:38
protectorNick Parker29-Jul-04 17:38 

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.