AnsweredAssumed Answered

vb script compiler errors when referencing any VisualDSP data types

Question asked by nicklt on Jan 25, 2017
Latest reply on Feb 8, 2017 by Kader.M

Running VisualDSP v4.5 on a  windows XP based machine.

We are attempting to automate the collection of unit test data using an excel spreadsheet connecting to VisualDSP via the Automation API.

However if we reference any of  the VisualDSP defined datatypes we get a compilation error concerning user defined types.


Example - The ActiveSession Property VB example code is


Dim app As Application

Dim session As ADspDebugSession      Set app = CreateObject( "VisualDSP.ADspApplication" )     Set session = app.ActiveSession     app.PrintText tabConsole, session.SessionName

If we wrap the above code into a sub definition and try to compile it generates a 'user defined type not defined' error on the dim session line.