|
I'm trying to figure out how to convert a game I'm working on into an ActiveX control so it can be played online in a browser. This is the first time I've dealt with ActiveX so I'm a little lost. I've done a lot of searching around and followed a few tutorials but nothing that really works well. Does anyone here work with ActiveX enough to give me a few starter tips?
What I've managed to pull off is writing a little c# test code and compiling that with csc.exe to produce a dll. I registered the dll with regasm.exe and have been able to call the control on a web page via javascript.
The big things I'm having trouble with right now are:
When I make changes to the code to try to test things I can't overwrite the old dll, I get an error saying it is in use.
I'm not sure how to get a canvas to draw to on the webpage. I thought about passing in an empty image via javascript when I make the call to launch the control, but that doesn't really seem like a good way to do it.
Any help you can give me would be greatly appreciated.
|