Author | Topic: 2x :dynamicCast() | |
---|---|---|
AUGE_OHR | 2x :dynamicCast() on Tue, 06 Jul 2010 17:44:22 +0200 hi, im trying Nero"COM" API and have a Problem with *** Code *** Public WithEvents nero As nero ... Public drives As INeroDrives Public WithEvents drive As NeroDrive *** EOF *** NeroCOM.OCX can not be used with XbpActiveXControl() so i have to use CreateObject() and oObj:dynamicCast( ActiveXObject() ) but than *** Quote *** Hinweis: Nachdem ein AutomationObjekt in eine andere Klasse berfhrt wurde ist diese nicht lnger mit dem COM/ActiveX Objekt verbunden. *** eof *** i can not attach to Methode or Property of my AutomationObjekt any more, (empty in VX Debugger) only with :fireEvent() i can "reach" my :subscribeEvent() ::oNero:GetDrives method() will give me INeroDrives as AutomationObject but i need "Drives" Event too with oObj:dynamicCast( ActiveXObject() ) any Idee ? greetings by OHR Jimmy |