AxShockwaveFlashObjects and ShockwaveFlashObjects from Flash ocx

后端 未结 3 2067
栀梦
栀梦 2020-12-22 12:35

I\'m trying to create:

AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll

entering the following command:

aximp C:\\WINDOWS\\system32\\Macrome

相关标签:
3条回答
  • 2020-12-22 13:13

    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!

    0 讨论(0)
  • 2020-12-22 13:24

    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.

    0 讨论(0)
  • 2020-12-22 13:24

    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.

    0 讨论(0)
提交回复
热议问题