|
|
#2 |
|
Microsoft Dynamics
|
Вот что об этом сказано в Писании:
The IAxaptaObject interface derives from IDispatch, and provides methods for calling methods of Microsoft Axapta objects. The IAxaptaObject interface is a dual interface, and objects can be created using IAxapta::CreateObject or IAxapta::CreateObjectEx only. И здесь же пример использования из приложения на VB: Код: Dim Axapta As Object
Dim MyObject As Object
Set Axapta = CreateObject("AxaptaCOMConnector.Axapta")
Axapta.Logon
‘ create an Axapta object
Set MyObject = Axapta.CreateObject("MyClass", "new parameter1", 2)
‘ we can now call methods of "MyObject" using its "Call" method
MyObject.Call "MyMethod", "parameter1", 2 |
|
|