Re: Callingo into .Net from Win32 dll
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Fri, 13 Jan 2006 14:08:53 -0500
"Greg" <gm@xxxxxxxxxxxxx> wrote in message
news:F71FF139-D883-4A0A-AC57-12253C853107@xxxxxxxxxxxxxxxx
> Is there any way to access .NET from a good old-fashioned win32 dll even
> if
> it requires jumping through some hoops?
Yes, there are a few ways. How do you feel about jumping through COM's
hoops?
If you are OK with that one thing you can do is to use the regasm utility
(register assembly) to register an assembly as a COM component.
I posted a trivial example in a response to the question by Alex here:
http://groups.google.com/group/microsoft.public.dotnet.framework.interop/browse_frm/thread/4f4fe6e4347686e3/ad2dcbc2def47d35?tvc=1&q=regasm+group%3Amicrosoft.*+author%3Adepalo&hl=en#ad2dcbc2def47d35
Another option is to host the runtime as, say, SQL Server and ASP.Net do.
That's a lot of work.
Regards,
Will
.
- Prev by Date: Re: Windows Services
- Next by Date: Reg-free COM problem
- Previous by thread: Re: Windows Services
- Next by thread: Reg-free COM problem
- Index(es):
Relevant Pages
|