ClipboardCopy broken in CLR 2.0 referencing 1.7 SDK?

The most generic clipboard code I can think of:

io.Ink.ClipboardCopy(io.Selection,InkClipboardFormats.Default,InkClipboardModes.Copy);

throws "
An unhandled exception of type 'System.TypeLoadException' occurred in Test.EXE

Additional information: Could not load type 'IOleDataObject' from assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."

Any thoughts?

[613 byte] By [LarryOBrien] at [2008-1-12]
# 1

This is a know issues that the sdk team is currently working on the fix ....


Posted by Stefan Wick[MS] on 06-29-05 04:46 AM:

Re: Calls relating to the clipboard fail on Visual Studio 2005 Beta 2

Hello Aryeh,

There are a few known issues with Microsoft.Ink running on the .NET
Framework 2.0 Beta that we are currently working on:

1) Ink.Clipboard* APIs do not work
2) Divider.LineHeight property does not work

Thanks,
Stefan Wick

http://hardware.mcse.ms/printthread.php?threadid=206774

WeerapanWilairat-MSFT at 2007-9-9 > top of Msdn Tech,Software Development for Windows Vista,Notebook, Tablet PC, and UMPC Development...
# 2
http://www.microsoft.com/downloads/details.aspx?FamilyID=84bbefa4-7047-41df-8583-e3bdbf9d805f&DisplayLang=en

Not sure if it'll fix anything, but this might help.

Nicholas Nezis

GrkEngineer at 2007-9-9 > top of Msdn Tech,Software Development for Windows Vista,Notebook, Tablet PC, and UMPC Development...
# 3

Nicholas,

That TOTALLY solved the problem for me. Thanks, you're a life saver.

Bill

bmilano at 2007-9-9 > top of Msdn Tech,Software Development for Windows Vista,Notebook, Tablet PC, and UMPC Development...

Software Development for Windows Vista

Site Classified