Jump to content
  • Advertisement
Sign in to follow this  
Eldritch

Problem with IOleObject::DoVerb [SOLVED]

This topic is 3629 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I am experiencing some weird problems with DoVerb (part of the IOleObject interface). It returns E_UNEXPECTED when I call it like this:
hr = m_pOle->DoVerb
				(
				OLEIVERB_SHOW,
				NULL,
				(IOleClientSite*)this,
				0,
				NULL,
				NULL
				);


The class calling the function implements the IOleClientSite interface, and it has a valid IOleObject (m_pOle variable). The thing that I am trying to do is display Flash in a C++ OLE container. Is there any alternative to using DoVerb() in this case to display the OLE object? [Edited by - Eldritch on October 13, 2008 12:57:06 PM]

Share this post


Link to post
Share on other sites
Advertisement
Hrmm, yeah. It is very hard to find something about this on the net... So, now I just need to figure out what a view rectangle is :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!