Sony.Vegas.dll

amendegw wrote on 1/11/2012, 12:55 PM
First thanks to Gary James for bringing this issue to light (and providing a downloadable copy of Sony.Vegas.dll from Sony Vegas 8.)

So, here's the issue. If I compile a script using the Sony Vegas 11 Sony.Vegas.dll, it will not run in Vegas 8, 32bit. If I build with a reference the Version 8 dll, it will not run in Vegas 11, 64bit. A catch 22.

Is there any solution to this? That is, creating a script that is both backward & forward compatible?

...Jerry

System Model:     Alienware M18 R1
System:           Windows 11 Pro
Processor:        13th Gen Intel(R) Core(TM) i9-13980HX, 2200 Mhz, 24 Core(s), 32 Logical Processor(s)

Installed Memory: 64.0 GB
Display Adapter:  NVIDIA GeForce RTX 4090 Laptop GPU (16GB), Nvidia Studio Driver 566.14 Nov 2024
Overclock Off

Display:          1920x1200 240 hertz
Storage (8TB Total):
    OS Drive:       NVMe KIOXIA 4096GB
        Data Drive:     NVMe Samsung SSD 990 PRO 4TB
        Data Drive:     Glyph Blackbox Pro 14TB

Vegas Pro 22 Build 239

Cameras:
Canon R5 Mark II
Canon R3
Sony A9

Comments

Gary James wrote on 1/11/2012, 1:57 PM
Jerry,

Are you writing a script, or compiling a DLL? If you are compiling a DLL, try this:

Inside of Microsoft Visual Studio, select "Any CPU" as the Platform build target. Compile your DLL and it should work on SVP v8 - v11, 32 or 64 bit.

Gary
amendegw wrote on 1/11/2012, 3:14 PM
Gary,

Whoops! Stop the music! Now it's working!

And yes, I'm building a DLL, using "Any CPU" and the Vegas 8 Sony.Vegas.dll.

Sorry for the false alarm. Must have been those @#%! cosmic rays striking my CPU.

Thanks for the response,
...Jerry

System Model:     Alienware M18 R1
System:           Windows 11 Pro
Processor:        13th Gen Intel(R) Core(TM) i9-13980HX, 2200 Mhz, 24 Core(s), 32 Logical Processor(s)

Installed Memory: 64.0 GB
Display Adapter:  NVIDIA GeForce RTX 4090 Laptop GPU (16GB), Nvidia Studio Driver 566.14 Nov 2024
Overclock Off

Display:          1920x1200 240 hertz
Storage (8TB Total):
    OS Drive:       NVMe KIOXIA 4096GB
        Data Drive:     NVMe Samsung SSD 990 PRO 4TB
        Data Drive:     Glyph Blackbox Pro 14TB

Vegas Pro 22 Build 239

Cameras:
Canon R5 Mark II
Canon R3
Sony A9