Embedded Viewer - unable to cast error on load call

This forum is for all Flare issues related to the DotNet Help target, and the Dot Net Viewer
Post Reply
ALawson
Jr. Propeller Head
Posts: 2
Joined: Sun Sep 20, 2009 6:33 pm

Embedded Viewer - unable to cast error on load call

Post by ALawson »

We were planning to use the external viewer and I decided to try testing the embedded and I cannot get it to load. So I went back to the sample app and it is throwing the same exception on the following line:

mHelpSystemClient.Load( mHelpSystemPath.Text )

Unable to cast object of type 'B3.HelpViewerKit.HelpViewerEmbeddedApplication' to type 'IEmbeddedHelpSystem'.

I have the v5 of the API installed and the help file was created with Flare 4.2.


Thanks for your help.
ALawson
Jr. Propeller Head
Posts: 2
Joined: Sun Sep 20, 2009 6:33 pm

Re: Embedded Viewer - unable to cast error on load call

Post by ALawson »

I saw that I was using the newer version of the API so I switched to the 4.2 version and my sample application works. Not sure why the API sample app wasn't working, but not worried now.
Post Reply