Sep 2, 2010 at 11:29 AM
Edited Sep 2, 2010 at 12:16 PM
I created a new WPF project with VS2008 and added the Reference of Scintilla and WindowsFormsIntegration. So far so good.
Now i added the WindowsFormsHost as a child of a Grid and the ScintillaNet as a child of the WindowsFormsHost.
This looks like:
Title="Window1" Height="300" Width="300">
No Code behind or other stuff only the 4 lines...but when i try to start/build that little Program i get a a Error
"Could not create an instance of type 'Scintilla'." or "Cannot create instance of 'Scintilla' defined in assembly 'ScintillaNet, Version=2.2.3581.19319, Culture=neutral, PublicKeyToken=948d6c9751444115'. Exception has been thrown
by the target of an invocation. Error at object 'System.Windows.Forms.Integration.WindowsFormsHost' in markup file 'WpfApplication1;component/window1.xaml' Line 8 Position 14." I should say that i run this code followed system: Win7 Home Premium
I tried on an other machines too: Win7 Ultimate Version x86/x64 but i get
no error!!!! WTF?
Can anyone confirm that too?
Have anyone any suggestions for my problem? Maybe its not compatible with Home Versions but i don't think so.