Leak between v.5 and v.6

jmuria wrote on 11/30/2005, 12:41 AM
Hi.

I'm Sotware developer and I did a script that opened an external DLL using DllImport.

With the version 5 It worked perfectly but with the v.6 version It does not work. I have made several test to isolate the problem and That's the issue.

Is the use of a DLL using the JScript script file not longer supported or is it a bug?

If I make a C# compiled script, will I can use the external DLL?

Thanks.
Jorge Muria.

Comments

JohnnyRoy wrote on 11/30/2005, 7:37 AM
Jorge,

I don’t use JScript but I can tell you that Vegas 6 made a big change in the way scripts are loaded. In Vegas 5 all scripts are loaded into one application domain. In Vegas 6, each script is given its own application domain. This definitely changes the way things are loaded and gives you much more control and isolation. I use C# and I have no problems working with external DLL’s. JScript is great for small quick and dirty scripts but if you’re loading DLL’s and calling functions in them, you would be much better off using C# (just my opinion).

~jr