I use VS 2008 and C#, I want to embed cursor file (x.cur) in开发者_开发知识库 the resources, to be included in the EXE and I want to call it.
Any suggestion to do that please?
Add the file to your application resources
and use something like this to load it:
var cursor = new Cursor(System.Reflection.Assembly.GetEntryAssembly().GetManifestResourceStream("x.cur"));
精彩评论