S
svx
greetings,
I have a C++ class, which I want to compile as a .DLL to run as
codebehind from ASP.NET.
The problem is that the instance gets constructed & destructed
everytime a class method is called from ASP. I need the instance to
keep "running" until I destruct it upon some specific event.
I wanted the constructor to create a DataTable with the appropriate
collumns, and then provide a method to add new rows to this DataTable,
another to search the DataTable etc. But as I mentioned, the instance
gets destructed so I loose the data I entered into the DataTable.
The code runs (with minor modifications of course) as a .NET C++
console project so Im convinced my problem concerns ASP.NET & C++
interaction.
I would greatly appreciate any suggestions, links etc...
.... and yes, Im a .NET newbie
I have a C++ class, which I want to compile as a .DLL to run as
codebehind from ASP.NET.
The problem is that the instance gets constructed & destructed
everytime a class method is called from ASP. I need the instance to
keep "running" until I destruct it upon some specific event.
I wanted the constructor to create a DataTable with the appropriate
collumns, and then provide a method to add new rows to this DataTable,
another to search the DataTable etc. But as I mentioned, the instance
gets destructed so I loose the data I entered into the DataTable.
The code runs (with minor modifications of course) as a .NET C++
console project so Im convinced my problem concerns ASP.NET & C++
interaction.
I would greatly appreciate any suggestions, links etc...
.... and yes, Im a .NET newbie