Flash ocx 中的 AxShockwaveFlashObjects 和 ShockwaveFlashObjects [英] AxShockwaveFlashObjects and ShockwaveFlashObjects from Flash ocx
问题描述
我正在尝试创建:
AxShockwaveFlashObjects.dll 和ShockwaveFlashObjects.dll
AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll
输入以下命令:
aximp C:WINDOWSsystem32MacromedFlashFlDbg10.ocx/nologo
aximp C:WINDOWSsystem32MacromedFlashFlDbg10.ocx /nologo
但我收到 E_ACCESSDENIED 错误.
but I get an E_ACCESSDENIED error.
我做错了什么?谢谢!
推荐答案
访问被拒绝可能是由于程序试图修改 Program Files 或 Windows 顶级文件夹中已注册应用程序目录中的文件而导致的 Vista/Win7 问题.
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
将 AxImp.exe 和您的
.OCX
文件都复制到某个用户创建的文件夹(例如:c: est
).
Copy the AxImp.exe and your
.OCX
files both to some user-made folder (eg:c: est
).
然后只需从该文件夹中的命令行运行命令 AxImp.exe Flash10c.ocx/source
.
Then just simply run the command AxImp.exe Flash10c.ocx /source
from a command line in that folder.
这不仅会生成(在同一个 test
文件夹中)您的两个 DLL 文件,还会生成 .CS
源文件(用于包含在项目中)和 .PDB
调试器符号文件.享受!
That will generate (in that same test
folder) not only your two DLL files, but also the .CS
source file (for inclusion in projects) and the .PDB
file for debugger symbols. Enjoy!
这篇关于Flash ocx 中的 AxShockwaveFlashObjects 和 ShockwaveFlashObjects的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!