0

私は作成しようとしています:

AxShockwaveFlashObjects.dll および ShockwaveFlashObjects.dll

次のコマンドを入力します。

aximp C:\WINDOWS\system32\Macromed\Flash\FlDbg10.ocx /nologo

しかし、E_ACCESSDENIED エラーが発生します。

私は何を間違っていますか?ありがとう!

4

3 に答える 3

1

このエラーが Windows 7 または Vista で発生するのは事実です。管理者としてコマンド プロンプトを実行し、コマンド プロンプトからこのコマンドを実行するだけです。他に何もしなくてもこのように機能します。

于 2010-02-07T08:06:51.527 に答える
1

コマンド プロンプトを開きます。aximp.exe ファイルを含むディレクトリに切り替えます。通常; C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>

次のコマンドを入力します (バージョンに合わせて COX ファイルの名前を変更する必要がある場合があります。

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

C:\WNDOWS\system32\Macromed\Flash\ ディレクトリを調べます。ファイルがそこにあるはずです。

于 2009-03-08T05:17:18.337 に答える
1

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 the AxImp.exe and your .OCX files both to some user-made folder (eg: c:\test\).

  • Then just simply run the command AxImp.exe Flash10c.ocx /source from a command line in that folder.

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!

于 2009-12-08T23:28:27.607 に答える