AxShockwaveFlashObjects and ShockwaveFlashObjects from Flash ocx

岁酱吖の 提交于 2019-12-02 10:04:50

Open your command prompt. Switch to the directory that contains the aximp.exe file. Typically; C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>

Enter the following command (you may need to change the name of your COX file to match your version.

aximp.exe -source "C:\WNDOWS\system32\Macromed\Flash\Flash10a.ocx"

Look in the C:\WNDOWS\system32\Macromed\Flash\ directory. Your files should be there.

It's true that this error comes in Windows 7 or vista. You can simply run the command prompt as an administrator and then execute this command from the command prompt. It works this way without doing anything else.

The access denied is likely a Vista/Win7 issue resulting from programs attempting to modify files in registered application directories within the Program Files or Windows top-level folders. The workaround (and it worked for me) is to copy AxImp.exe and your target .OCX file to some folder under your user area then just simply run the command "AxImp.exe Flash10c.ocx /source" from a command line in that folder. That will generate not only your two DLL files, but also the .CS source file (for inclusion in projects) and the .PDB file for debugger symbols. Enjoy!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!