I believe everything is coded correctly, only when the ActiveX is downloaded, after going through the security thing, it claims that the control has been disabled, and then doesn't appear at all.
I am not sure why it does this.
Here is the setup file information:
Expand|Select|Wrap|Line Numbers
- [version]
- signature="$CHICAGO$"
- AdvancedINF=2.0
- [DefaultInstall]
- CopyFiles=install.files
- RegisterOCXs=RegisterFiles
- [Add.Code]
- loadgame_et.ocx=loadgame_et.ocx
- [install.files]
- loadgame_et.ocx=loadgame_et.ocx
- [loadgame_et.ocx]
- file-win32-x86=thiscab
- clsid={0E33EB0C-6321-4F69-B547-84A4063995FC}
- FileVersion=1,0,0,1
- RegisterServer=yes
- DestDir=11
- [RegisterFiles]
- %11%\loadgame_et.ocx
And the page HTML code is:
Expand|Select|Wrap|Line Numbers
- <html>
- <head>
- <title>Run the web game</title>
- <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
- </head>
- <body bgcolor="#666699" text="#FFFFFF">
- <div align="center"><object classid="clsid:0E33EB0C-6321-4F69-B547-84A4063995FC"
- codebase="loadgame_et.cab#version=1,0,0,1"
- align="CENTER" width=700 height=524 id="T1">
- <param name="Enable" value=1>
- <param name="strDownload" value="Game.gam">
- <param name="strRun" value="Game\Mario 101">
- <param name="strGameTitle" value="Mario 101">
- <param name="ClBackGround" value=0>
- <param name="ClBar" value=16711680>
- <param name="ClText" value=8421504>
- <param name="ClBEdge" value=8388608>
- <param name="strText" value="">
- <param name="ScreenMode" value=0>
- </object><br>
- <font size="2" face="Arial, Helvetica, sans-serif" color="#333333">The web game
- is runing, please read the document if it doesn't work properly.</font></div>
- </body>
- </html>
estatualgui.tripod.com/Game/run.html
right now it is for testing purposes only.
*Note- it said invalid handle once too.*