Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: COM+ to .NET


Message #1 by "Michael Morisoli" <Michael@M...> on Wed, 19 Dec 2001 17:23:06 -0800
This is a multi-part message in MIME format.



------_=_NextPart_001_01C188F4.E0740218

Content-Type: text/plain;

	charset="us-ascii"

Content-Transfer-Encoding: quoted-printable



Does anybody know if it is possible to have a COM+ object call a .NET

object?



I have a client that is running Cold Fusion and we want to write a lot

of new objects in .NET.  Problem is I can't figure out how Cold Fusion

can call the .NET objects.



We could write the objects in as standard old COM+ objects which Cold

Fusion supports, but I really want to do them in .NET.  I just can't

figure out how to get the two to work together.  That is where I was

thinking about writing a simple COM+ object that could talk to a .NET

object then.  If that works, this may be a way to get CF working with

.NET...



Any ideas, thoughts, suggestions are welcome.



Mike




Message #2 by "Mike Amundsen" <mike@a...> on Wed, 19 Dec 2001 20:37:36 -0500
This is a multi-part message in MIME format.



------=_NextPart_000_00F1_01C188CC.FE8BB840

Content-Type: text/plain;

	charset="us-ascii"

Content-Transfer-Encoding: 7bit



yep it's possible.



you need to create a COM wrapper for the .NET assembly for this to work.



there's a utility called REGASM that can do this quite easily. It's in the

BIN folder where the SDK bits are installed.  Check the docs for some simple

examples.



MCA

  -----Original Message-----

  From: Michael Morisoli [mailto:Michael@M...]

  Sent: Wednesday, December 19, 2001 8:23 PM

  To: ASP+

  Subject: [aspx] COM+ to .NET





  Does anybody know if it is possible to have a COM+ object call a .NET

object?







  I have a client that is running Cold Fusion and we want to write a lot of

new objects in .NET.  Problem is I can't figure out how Cold Fusion can call

the .NET objects.







  We could write the objects in as standard old COM+ objects which Cold

Fusion supports, but I really want to do them in .NET.  I just can't figure

out how to get the two to work together.  That is where I was thinking about

writing a simple COM+ object that could talk to a .NET object then.  If that

works, this may be a way to get CF working with .NET.







  Any ideas, thoughts, suggestions are welcome.







  Mike












  Return to Index