Problem porting DropMaster 2.4.9 to C++Builder 10.2 Tokyo

Support forum for our inter-application drag-n-drop components.

Problem porting DropMaster 2.4.9 to C++Builder 10.2 Tokyo

Postby Geocentrix » Tue May 30, 2017 11:00 am

I wonder if anyone can help me, please?

I am porting a large application from C++Builder 10.1 Berlin to 10.2 Tokyo. The app uses the latest release of DropMaster (v2.4.9)

When I compile the program's user interface I get:

[C++ Error] DMMiscIntf.hpp(22): no member named 'IAsyncOperation' in the global namespace


I have made no changes to the code between Berlin and Tokyo.

Is this a known problem with DropMaster and, if so, is there a workaround?

Thanks in advance for your help.

Andrew
Last edited by Geocentrix on Wed May 31, 2017 2:52 am, edited 1 time in total.
Geocentrix
 
Posts: 19
Joined:
Tue Aug 09, 2016 12:23 pm

Re: Problem porting DropMaster to C++Builder 10.2 Tokyo

Postby Geocentrix » Tue May 30, 2017 11:03 am

I should have said, the erro occurs on line 22 of DMMiscIntf.hpp:

typedef System::DelphiInterface<IBindCtx> _di_IBindCtx;
DECLARE_DINTERFACE_TYPE(IAsyncOperation) << error occurs here
DECLARE_DINTERFACE_TYPE(IDataObjectAsyncCapability)
Geocentrix
 
Posts: 19
Joined:
Tue Aug 09, 2016 12:23 pm

Re: Problem porting DropMaster 2.4.9 to C++Builder 10.2 Toky

Postby Geocentrix » Wed May 31, 2017 2:54 am

I have experimented with some things and the workaround appears to be to comment out the offending line:

typedef System::DelphiInterface<IBindCtx> _di_IBindCtx;
//DECLARE_DINTERFACE_TYPE(IAsyncOperation) << error occurs here; comment line out to fix
DECLARE_DINTERFACE_TYPE(IDataObjectAsyncCapability)


Can someone from Raize please confirm this is okay to do?
Geocentrix
 
Posts: 19
Joined:
Tue Aug 09, 2016 12:23 pm

Re: Problem porting DropMaster 2.4.9 to C++Builder 10.2 Toky

Postby Raize Support » Wed May 31, 2017 4:25 am

Yes, that should be fine. The IAsyncOperation is the old name of the interface and Microsoft renamed the interface IDataObjectAsyncCapability, but they kept the old GUID, which really goes against everything that Microsoft has stated regarding interfaces. The change also caused an issue when trying to use the new CLANG C++ compiler, but that particular issue was addressed the latest build of DropMaster.

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 603
Joined:
Fri Mar 25, 2011 9:04 pm

Re: Problem porting DropMaster 2.4.9 to C++Builder 10.2 Toky

Postby Geocentrix » Wed May 31, 2017 6:03 am

Thanks for confirming, Ray
Geocentrix
 
Posts: 19
Joined:
Tue Aug 09, 2016 12:23 pm


Return to DropMaster

Who is online

Users browsing this forum: No registered users and 1 guest