OpenGL and ActiveX

I’m trying to turn a Delphi-based OpenGL - program into an ActiveX - control so that it could be embedded into a web page. I have managed to generate the control up to the point where I have all the form’s control elements in the web page and operational, but for some reason the graphics themselves do not appear. Any ideas on this, anyone?

So, I actually have two questions:

  • What is the easiest way to turn a normal, existing Delphi / OpenGL application into an ActiveForm?

  • How is it possible, that eventhough the code compiles Ok all the way, it still fails to draw any graphics?

I realize that not many of you are Delphi-programmers, but I’m starting to get desperate with this thing… I know this can be done because I have seen working versions of similar ActiveX controls. Thanks.

I managed to fix the problem, so just forget about it… although I wouldn’t mind some additional hints regarding this mixture if anyone happens to have any.