Animated cursors from embedded resources

Hi!

I know that the .NET Framework doesn't support animated cursors. However, i also know that it's possible doing that with the Win32 API (functionLoadCursorFromFile from user32.dll) . I have done that with success.
The problem is that i want to get the animated cursor from the resources of my application. I have no problems getting other kind of embbeded resources (icons, images, etc) with the following method:
System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream()

How can i get an animated cursor from the embedded resources?

Many Thanks!
Rui Silva

[666 byte] By [RuiSilva] at [2007-12-16]
# 1
As GetManifestResourceStream() simply returns a binary Stream, there should be no problem getting an animated cursor from embedded resources.

Are you having any issues?

DavidM.Kean at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...