U
Utilisateur1
Hello,
I'm trying to use an OCX written in VC++ 6.0 in an ASPX page.
I've set a reference to it in the project. I can see it in the object
explorer with all of its methods and properties.
So when I try to instanciate the object, I've got the following error :
thread is not STA.
I've so try to import it with AXImp.exe myocx.ocx /source (to get the
wrapper's source). Watching at this code, I remark that it refers the
winform namespace and use it in all the code.
Has anybody idea on how to do that ?
Thanks for your ansers.
I'm trying to use an OCX written in VC++ 6.0 in an ASPX page.
I've set a reference to it in the project. I can see it in the object
explorer with all of its methods and properties.
So when I try to instanciate the object, I've got the following error :
thread is not STA.
I've so try to import it with AXImp.exe myocx.ocx /source (to get the
wrapper's source). Watching at this code, I remark that it refers the
winform namespace and use it in all the code.
Has anybody idea on how to do that ?
Thanks for your ansers.