I created an ocx that i want to use within my ASP script. No matter what i do, it errors out with a Catastrophic error when i call any of the methods and/or properties.
I created a new OCX that has one method that just returns a short int... and still the same error. The OCX works in VB6, but not ASP. what am i not doing first before i call the methods.
this is how im calling it in ASP:
the code in the OCX is this:Code:set *** = Server.CreateObject("TESTCTRL.TestCtrlCtrl.1") dim rc rc = ***.TestMethod()
it crashes on the call to TestMethod()Code:short CTestCtrlCtrl::TestMethod(){ return 0; }
please, oh please... what am i doing wrong.




Reply With Quote