Hi sir,
Can we create user defined class in vtl programming. Or is structure concept is present in vtl programming like mql4.
Thanks in advance.
BGT
Hi sir,
Can we create user defined class in vtl programming. Or is structure concept is present in vtl programming like mql4.
Thanks in advance.
BGT
Dear BGT
You can do it that but as a following
1- create the class you need outside the VTL then generate it as DLL .
2- call your DLL inside the VTL such as :
A - If your Dll is registered
Code:Set myObject = CreateObject("MyReallyCoolObject.HelloWorld") myObject.Print
B - If your object is not registered use GetObject with a path to the file containing your object
Code:Set myObject = GetObject("C:\some\path\helloworld.dll", "appname.HelloWorld") myObject.Print
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks