Author Message

Posted: Tue Mar 16, 2010 8:40 am   Post subject: Invalid cast

I need to test iSpring SDK in our platform of e-learning. I referenced the iSpring 5.0 type library in a project. Net (console application, VS2008, framework 3.5) and I get an error during execution.

Here's the code:

Code:
PresentationConverter converter = new PresentationConverter();
try
{
   converter.OpenPresentation("M:\\IspringTest\\test.pptx");
   converter.Settings.Navigation.HyperlinksTarget = "_blank";
   converter.GenerateSolidPresentation("M:\\IspringTest\\test.swf", "", "");
  converter.ClosePresentation();
}
   catch (Exception)


Here is the error:
Quote:
Impossible d'effectuer un cast d'un objet COM de type 'iSpring.PresentationConverterClass' en type d'interface 'iSpring._PresentationConverter'. Cette opération a échoué, car l'appel QueryInterface sur le composant COM pour l'interface avec l'IID '{D408B878-2162-4F12-A1FC-DF2CCC99D2EC}' a échoué en raison de l'erreur suivante : No such interface supported (Exception de HRESULT : 0x80004002 (E_NOINTERFACE)).


Do you know why this error?

thank you for all information


Profile profile test

Posted: Tue Mar 16, 2010 10:42 am   Post subject: Re: Invalid cast

This issue has been fixed in the most recent build of iSpring SDK.
Please uninstall your current version of the SDK and install the latest version from our web site


Profile profile test WWW www ICQ ICQ

Posted: Wed Mar 17, 2010 2:44 pm   Post subject: Re: Invalid cast

Thank you for your quick response.

I can run my test program.

Best regards


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 7 users online :: 3 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]


cron