Wish for OLEAutomationObject

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

Wish for OLEAutomationObject

Postby marten » Tue Oct 09, 2007 10:11 pm

Could we change the method

OLEAutomationObject>>smalltalkObject: anObject intoVariant: variant
class == self class
ifTrue: [variant vt: VtDispatch; pdispVal: anObject objIDispatch. ^variant].


anObject isOleAutomationObject
ifTrue: [variant vt: VtDispatch; pdispVal: anObject objIDispatch. ^variant].

where "isOLEAutomationObject" is a newly method. The original method makes it pretty difficult to subclass OLEAutomationObject.
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Postby wembley » Wed Oct 10, 2007 12:27 pm

Case 31784 open for this request. It will very linely make it into 7.5.3.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC

Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest