Connecting Tech Pros Worldwide Forums | Help | Site Map

How to use File Mapping to access OLD VC6 program?

jiatiejun
Guest
 
Posts: n/a
#1: Nov 15 '05
Can .Net use File Mapping function without Win32 API ?

thanks!



Rob Teixeira [MVP]
Guest
 
Posts: n/a
#2: Nov 15 '05

re: How to use File Mapping to access OLD VC6 program?


all system functions are invoked via win32 APIs.
If you don't want to tangle with them directly, i suppose you can try to
find someone who created a managed wrapper for those APIs.
Either way though, the code will be using P/invoke as file mapping is
completely done in unmanaged code. Also, to take full advantage of it,
you'll likely be using unsafe code blocks as well.

-Rob Teixeira [MVP]

"jiatiejun" <jiatiejun@126.com> wrote in message
news:u1juSvb%23DHA.3828@TK2MSFTNGP10.phx.gbl...[color=blue]
> Can .Net use File Mapping function without Win32 API ?
>
> thanks!
>
>[/color]


Closed Thread