Re: Callingo into .Net from Win32 dll

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"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



.



Relevant Pages

  • Re: Windows Vista
    ... third party software) to remove Internet Explorer from my machine. ... jumping through those hoops is dangerous. ... Ken Blake - Microsoft MVP Windows: ...
    (microsoft.public.windowsxp.newusers)
  • Re: Are you converting your RAW images to DNG?
    ... large software collection instead of having to download it separately ... hoops). ... That too is jumping through ...
    (rec.photo.digital)
  • I smoked their stuff.
    ... Hi T.J., You know I don't want to become and employer or a landlord, right? ... You know that I'm jumping through your hoops to get liquid cash, ...
    (sci.physics)
  • Re: WSJ Poll: 70% would oppose Alito if he would overturn Roe
    ... >> When dealing with Pal Jerry, the correct answer to any one word question ... >> jumping through his hoops trying to answer stuff he already knows while he ...
    (soc.retirement)
  • [SLE] CD volume control (solved)
    ... it was identified in the SuSE support database under ... hoops I'm jumping through. ... the volume, check the LOCK buttons, etc. but it doesn't ...
    (SuSE)