Re: calling DLL from a Device Drive
- From: Chris Doré <c_d_o_r_e@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Nov 2006 20:43:55 +0000 (UTC)
In theory, your MSIL should be able to execute on any machine that contains the same kind of support as the .net framework (depends what your app requires). Take for example the mono project (www.mono-project.com). mono is the .net runtime for Linux, Solaris, Mac, etc.
Platform invoke (pinvoke) is used to make calls into the underlying operating system. Therefore as soon as you use pinvoke, your application is tied to the underlying platform (OS).
It probably isn't relavent in your situation since you are probably only targetting Windows for this project. But if not, be warned that pinvoke'd functions are platform dependent.
....Chris
In which sense do I become platform dependant?
"Chris Doré <cdore.connecttech.com>" wrote:
Willy wrote:
Note that the user application (at least the driver interface part)However, you may be able to achieve what's needed by using pinvoke
in the "inverted call model" as mentioned by Don can only be written
in C/C++, not in any of the pure managed languages like C#, VB or
C++/CLI
from a managed app. Of course, you then become platform dependent.
Willy:
Or is there some other reason you say it cannot be done? I admit
I've never done it from a managed app and I may be missing something.
....Chris
.
- Prev by Date: Re: Question about IRP
- Next by Date: Re: Driver Question
- Previous by thread: Re: calling DLL from a Device Drive
- Next by thread: What is the name of a filter?
- Index(es):
Relevant Pages
|