I am trying to figure out how to make ActiveX component in C++ to be used in ASP.NET with VB.
Basically, what can I do to make this (from C++):
class MathX {
int Add(int a,int b);
}
useable like this (in VB in an .aspx file):
Sub Page_Load(sender as Object, e as EventArgs)
Dim oMathX=Server.CreateObject("Extra.MathX") 'or something similar
End Sub
So far, all I know is that I need the C++ compiled into a DLL. What specifically else do I need to do? Register with the registry or something? How? I tried searching for the answers but I kept coming up with irrelevant results.
jtmerchant
Member
95 Points
19 Posts
COM Object In C++
Aug 20, 2006 05:32 AM|LINK
I am trying to figure out how to make ActiveX component in C++ to be used in ASP.NET with VB.
Basically, what can I do to make this (from C++):
class MathX {
int Add(int a,int b);
}
useable like this (in VB in an .aspx file):
Sub Page_Load(sender as Object, e as EventArgs)
Dim oMathX=Server.CreateObject("Extra.MathX") 'or something similar
End Sub
So far, all I know is that I need the C++ compiled into a DLL. What specifically else do I need to do? Register with the registry or something? How? I tried searching for the answers but I kept coming up with irrelevant results.