|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
C++ 6.0 dll work with asp.netI 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! -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200601/1 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. "Andy Sutorius via DotNetMonster.com" <u9025@uwe> wrote in message news:5a4c6e0763120@uwe...Show quoteHide quote >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! > > -- > Message posted via DotNetMonster.com > http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200601/1 Thank you.
Andy Sutorius wrote: Show quoteHide quote >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! -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200601/1
Other interesting topics
global functions?
Basic question about database connection in ASP.NET Why so much trouble with ellipses? reference to a "global" variable from within an aspx page Common functionality across pages, what's the best solution? Asp.net 2.0 caching and images DataGrid, Edit and the Enter Key ASP.NET Embedded Resources Very Strange Problem! (Derived Controls) - Help! Architectural assistance needed! |
|||||||||||||||||||||||