We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

transform MDI app into a dll and load it as child of another window

Agarici
Agarici asked
on
Medium Priority
255 Views
Last Modified: 2013-11-20
hello,
like the subject sais i want to transform a MDI application into a dll and
load from that dll the main window as a child of an other window.

what i have done so far is:
i created a dll using the same sources as my exe uses, i have created a
wrapper class in this dll which helps me access the functionality of
application. with this wrapper i created the main MDI window, as child of an
other window.

but now i have this problem: the buttons of my toolbars do not get updated
properly ( i mean enable/disable ), also i have no tooltips, and the text in
the statusbar does not update either.
i think it is because command_update_ui are not dispatched corectly... but
i'm stuck.

so, if you have any idea why this happens or an example of the proper way to
do this, please help


thank you.
A.
Comment
Watch Question

IT Professional
Top Expert 2005
Commented:
>>an example of the proper way to do this, please help

You may refer this articles for more :

Using a Doc/View exported from a dynamically loaded DLL
http://www.codeproject.com/docview/sdicviewdll.asp

Share the View/Doc Architecture in a DLL
http://www.codeguru.com/cpp/w-p/dll/article.php/c3637/

MAHESH

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.