Import OCX at runtime

Please discuss general Delphi programming topics here.

Import OCX at runtime

Postby HPW » August 21st, 2008, 11:46 am

Hello,

Has anyone managed to import a OCX at runtime?

(Including reading the property list and offered functions/callbacks)
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 236
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » August 21st, 2008, 12:14 pm

I didn't do it but I know you should read the "Type Library" information from the OCX resource, and then parse it.

Maybe you can find some free components/libraries to do the parsing for you.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2430
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron