Connecting to a "Type Library" type automation server

2 views (last 30 days)
Scott
Scott on 20 Dec 2013
Edited: Scott on 20 Dec 2013
I have an executable written in C++ that supports automation. The executable includes a .tbl file. When the program is installed, it registers under "HKLM\Software\Classes\Typelib\{GUID}".
No matter what I try, I cannot get it Matlab to recognize the exe as a COM or ActiveX server. When I query within Matlab using "info = actxcontrollist", i notice that the info returned ONLY includes DLL's and OCX's.
Meanwhile, I can open a .Net or VBA app and I can select and add my C++ server to the list of references and I can connect to it using "IDispatch".
Does Matlab support TypeLibary Server Automation? It would appear from the documentation that I should be able to using the ActxServer M file. If I try h=actxserver, I always get "server Creation Failed: invalid ProgID".
Thanks Scott

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!