Advertisement

scripting

Started by January 31, 2000 02:57 PM
1 comment, last by LeeIsMe 24 years, 8 months ago
Is it possible for a scripting program to access classes and member functions without having the header for each class and without making wrapper functions for the class. http://mazurek.dhs.org/3d/
The simple answer is no.

However, if you''re using MIDL to generate your interfaces, you can derive all the exposed classes from IDispatch and create dual interfaces for them so you can access type information programatically without the need for explicit headers. Check out http://msdn.microsoft.com/library under OLE Automation for more information.

MSN
Advertisement
You can use ATL, a library that eases the development of COM interfaces. It''s really easy to create objects that can be accessed from languages such as VB, VBScript, java-script, and Python (and probably others) using ATL.

This topic is closed to new replies.

Advertisement