In particular, I mean the following:
@@RenderComponentPresentation(Component, "<vbs-legacy-ct-tcm-uri>")@@
The problem I am facing is that in my case the VBS code breaks when it tries to access the component fields, giving "Error 13 type of mismatch".
(So, if I gave an answer, I would say: "Partially, practical use")
EDIT DWT above refers to another CT, so this is a component link rendering efficiently, so taskless overloading as suggested by Nuno will not work, unfortunately. BTW, the following lines inside VBS are not interrupted and give the correct values:
WriteOut Component.ID WriteOut Component.Schema.Title
EDIT 2
Dominic was absolutely right: these are the missing dependencies.
A little more information to make this information useful:
Suppose the original CT looked like this (type VBScript [Legacy] ":
[% Call RenderComponent(Component) %]
This CT scan was to be called from the PT, as well as based on VBS. This PT had a large chunk of "#include" instructions at the beginning.
Now the story is changing: the same CT is called from another, based on DWT, CT. Obviously (thank you for your invaluable help!), Dependencies are no longer included anywhere.
The decision to do the original CT job again is to explicitly manually select and enable all the necessary TBBS VBS, so the original CT becomes:
[% #include "tcm:<uri-of-vbs-tbb>" Call RenderComponent(Component) %]