필터 지우기
필터 지우기

How to get IMLApp for COM automation server in C++

조회 수: 2 (최근 30일)
Peter Pebler
Peter Pebler 2017년 9월 1일
답변: Amit Doshi 2017년 9월 8일
The mlapp.tlb type library indicates that the MLApp coclass implements IMLApp. However, trying to obtain this interface fails:
CoCreateInstance(CLSID_MLApp, NULL, CLSCTX_LOCAL_SERVER, IID_IMLApp, (void **)&mlapp)
Creating using IUnknown or DIMLApp works, but then QueryInterface to get IMLApp fails. Using the dispatch interface from C++ is very annoying. Why is the IMLApp interface not available?

답변 (1개)

Amit Doshi
Amit Doshi 2017년 9월 8일
Hello Peter,
Thank you for your feedback. I have created an enhancement request for this feature based on your feedback. The development team may consider this for a future MATLAB release.

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by