C++ 6.0 dll work with asp.net

  • Thread starter Andy Sutorius via DotNetMonster.com
  • Start date
A

Andy Sutorius via DotNetMonster.com

I have asp.net 2.0 What steps do I need to take to get a c++ 6.0 dll to work
within the project? I assume regsvr32 and drop it in the bin folder? Those
are assumptions. Details please. Thanks!
 
W

Winista

Assuming that you are talking about a COM DLL...

1. "Add reference" and then pick the COM object. this will add ncessary
Interop tlibimport stuff into your project.
2. This will create the namespace for your Interop shim in your project and
you should be able to use it now.

If there is some complex data structures being marhalled then you will have
to do some manual marshaling of the types.
And if your COM object is single threaded then you will need to add
AspCompat attribute to Page directive and set it to true because ASP.Net
process runs in multithreaded mode by default.
 
A

Andy Sutorius via DotNetMonster.com

Thank you.

Andy said:
I have asp.net 2.0 What steps do I need to take to get a c++ 6.0 dll to work
within the project? I assume regsvr32 and drop it in the bin folder? Those
are assumptions. Details please. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top