-
IDataObject from VC++ to VB
Hello everybody,
I work in VC++ and I have an application of the
Document/view architecture which also exposes some
interfaces. This application also allows for OLE objects
(like MS Word documents) to be contained(embedded/linked).
This is my task: I want to expose an interface so that
other apllications gain access to the OLE objects of my
documents.
I thought the following. Since I have acces to my
COleClientItem(s)to declare a local variable of type
COleDataSource for example pDataSource then call
COleClientItem::GetClipboardData(pDataSource) and the
return pDataSource->GetIDispatch(TRUE);
Unfortunately this does not work when I call this function
from VBasic. Am I in the right direction and what is
missing?
Thank you in advance.
Vassilis
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks