CAD/CAM discussion forum > Other CAD/CAM Technology > GetInterfaceObject method doesn't work

GetInterfaceObject method doesn't work

Rank: 1

OldForumPost

Newbie

posts: 0

Registered: 2012-1-14

Message 1 of 5

27-03-2009 06:42 . pm | View his/her posts only
Hello,
I tried to use GetInterfaceObject method to run routines wrote on VB 6.0 (ActiveX DLL) and that method doesn't work:

Dim ThirdClass
Set ThirdClass = ThisDocument.Application.GetInterfaceObject("ThirdDll.ThirdClassName")
Call ThirdClass.ThirdRoutine
End Sub

Is it bug or my error (pls. show correct ver)

Rank: 1

OldForumPost

Newbie

posts: 0

Registered: 2012-1-14

Message 2 of 5

30-03-2009 05:08 . pm | View his/her posts only
Can you upload the relative *.dll?
We would like to have a check on that.

Rank: 1

OldForumPost

Newbie

posts: 0

Registered: 2012-1-14

Message 3 of 5

05-06-2009 03:47 . am | View his/her posts only
Hello, Sirius Zhu!



very thanks for your answer.



I had to have a break for few months (family reasons) but here I'm

and I'm going to restart testing ZwCAD ActiveX model to develop my application for surveyers



You can find related files on link below:

20090605_032417_ZwCAD_GetInterf.zip :

- vb60 project files

- dll file

- bas file which contains 'ZwCAD_GetInterfaceObject_TEST' routine to put into zvb file



Be Good!



Rank: 1

OldForumPost

Newbie

posts: 0

Registered: 2012-1-14

Message 4 of 5

08-06-2009 02:51 . pm | View his/her posts only
We have verified the problem. The GetinterfaceObject function can't get the object from DLL file, and our R&D is handling it now. We will inform you as soon as it is solved.

Rank: 1

OldForumPost

Newbie

posts: 0

Registered: 2012-1-14

Message 5 of 5

08-06-2009 05:58 . pm | View his/her posts only
Thanks for reply
I'm waiting leisurely
Take care
See also