I'm trying to use a mix of VBScript CT's and a couple of new (albeit very basic) Compound CT's on my very old, complex legacy VBScript PT (!!) but the presence of the Compound CT's is causing Tridion to write out the compLink declaration at the top of my PT:
<% Dim compLink %> <% Set compLink = Server.CreateObject("cd_link.ComponentLink") %>
This is already taken care of and in the correct place under the @ command using a different variable name for the other VBScript links.
Removing the Default Finish Actions from my Compound CT doesn't help as it's the LinkResolver C# fragment which is manipulating the links.
Any thoughts would be much appreciated although I know I could have simply rewritten the DWT into VBScript in the time it's taken me to compose this post! :)