Click here to Skip to main content
15,916,293 members
Home / Discussions / COM
   

COM

 
QuestionActiveX Pin
Rajesh R Subramanian20-Dec-05 19:29
professionalRajesh R Subramanian20-Dec-05 19:29 
AnswerRe: ActiveX Pin
Aamir Butt22-Dec-05 23:47
Aamir Butt22-Dec-05 23:47 
GeneralRe: ActiveX Pin
vishalmore28-Dec-05 20:03
vishalmore28-Dec-05 20:03 
GeneralRe: ActiveX Pin
lemur211-Jan-06 9:55
lemur211-Jan-06 9:55 
QuestionCreating a COM Pin
vidyarani_14120-Dec-05 10:26
vidyarani_14120-Dec-05 10:26 
AnswerRe: Creating a COM Pin
MarcelDijk20-Dec-05 12:44
MarcelDijk20-Dec-05 12:44 
GeneralRe: Creating a COM Pin
vidyarani_14121-Dec-05 5:03
vidyarani_14121-Dec-05 5:03 
AnswerRe: Creating a COM Pin
MarcelDijk21-Dec-05 11:45
MarcelDijk21-Dec-05 11:45 
Hi Vidya,

I actually misunderstood your problem. So you are not programming the DLL, but you are thinking about making something in COM for MATLAB. Am I right in assuming that the DLL has already got a COM interface with which other programs can access its data? I assume this is the case because otherwise there would be no use in writing anything in COM if you do not want to change the DLL. How is this event/notification done? Also through COM?

Lets assume the DLL exports COM(ActiveX) automation objects then MATLAB can directly connect to these COM server objects in your DLL. Open you registry “Start-Run-regedit” then goto ”My Computer \ HKEY_CLASSES_ROOT \ CLSID”. Select CLSID and search for your DLL or application name. As an example search for “Microsoft Office Excel Application”. If I do this, regedit finds the key “My Computer \ HKEY_CLASSES_ROOT \ CLSID \ {00024500-0000-0000-C000-000000000046}”. Now you can find the subkey “ProgID” with value “Excel.Application.11” or something similar.

Now you can connect to this COM server object by using its ProgID in MATLAB.
Type in the command window:

e = actxserver('Excel.Application.11');<br />
methodsview(e);<br />
e.Help();


If actxserver() succeeds you can use methodsview() to see the functions you can access. As an example we can ask the Excel COM object to display help information by calling e.Help();

I hope this is what you are looking for.

Regards,
   Marcel
GeneralRe: Creating a COM Pin
vidyarani_14122-Dec-05 4:53
vidyarani_14122-Dec-05 4:53 
GeneralRe: Creating a COM Pin
vishalmore28-Dec-05 20:25
vishalmore28-Dec-05 20:25 
AnswerRe: Creating a COM Pin
Brian C Hart30-Dec-05 23:22
professionalBrian C Hart30-Dec-05 23:22 
QuestionImplementing Doc/View/Frame in an ActiveX control Pin
zulat20-Dec-05 2:26
zulat20-Dec-05 2:26 
AnswerRe: Implementing Doc/View/Frame in an ActiveX control Pin
Sheng Jiang 蒋晟3-Jan-06 17:30
Sheng Jiang 蒋晟3-Jan-06 17:30 
Questionproblems with WM_COPYDATA to BSPlayer (C# Pin
bart.burkhardt19-Dec-05 14:30
bart.burkhardt19-Dec-05 14:30 
AnswerRe: problems with WM_COPYDATA to BSPlayer (C# Pin
bart.burkhardt1-Jan-06 11:56
bart.burkhardt1-Jan-06 11:56 
QuestionOut-of-Process DLL Pin
MarcelDijk19-Dec-05 13:43
MarcelDijk19-Dec-05 13:43 
AnswerRe: Out-of-Process DLL Pin
Gizzo19-Dec-05 22:04
Gizzo19-Dec-05 22:04 
GeneralRe: Out-of-Process DLL Pin
MarcelDijk20-Dec-05 1:53
MarcelDijk20-Dec-05 1:53 
QuestionCOM. C++. Interface IDispatch::Invoke Pin
shaman-marakame19-Dec-05 10:19
shaman-marakame19-Dec-05 10:19 
AnswerRe: COM. C++. Interface IDispatch::Invoke Pin
Welf Wiest31-Jan-06 1:37
Welf Wiest31-Jan-06 1:37 
QuestionDisable Word Macro Pin
kim3er18-Dec-05 23:57
kim3er18-Dec-05 23:57 
AnswerRe: Disable Word Macro Pin
Rajesh R Subramanian20-Dec-05 19:24
professionalRajesh R Subramanian20-Dec-05 19:24 
QuestionMonitor disk writes by particular running processes Pin
Anthony Brenelière16-Dec-05 6:38
Anthony Brenelière16-Dec-05 6:38 
AnswerRe: Monitor disk writes by particular running processes Pin
TheGreatAndPowerfulOz16-Dec-05 7:01
TheGreatAndPowerfulOz16-Dec-05 7:01 
GeneralRe: Monitor disk writes by particular running processes Pin
Anthony Brenelière17-Dec-05 2:19
Anthony Brenelière17-Dec-05 2:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.