@nospam: "Hi,
Cursor hot-spots don't seem to to be stored or loaded properly for my 
custom cursors.
If I create a Cursor (System888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Windows:Forms888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ursor) from a file, the 
hot-spot is correct (near the top-left corner of the cursor image).
But if I load a cursor into a resX file using a ResXResourceWriter, and 
thence into a managed resources file, the cursor hot-spot is not correct 
(in the center of the cursor image).
Am I doing something wrong? Or is there a bug?
Some C++ code:
       ResXResourceWriter* resX = new ResXResourceWriter(S"out.resX");
       Cursor cursor = new Cursor(S"MyCursor.cur");
       resX->AddResource(S"MyCursor", cursor);
       resX->Close();
and loading:
    ResourceManager* rm = new ResourceManager(S"MyCursors", 
Assembly888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4GetExecutingAssembly());
    Cursor cursor = __try_cast<Cursor*>(resources->GetObject(S"MyCursor"));
Thanks,
If you wish to reply to me directly, my addres is spam proofed as:
lisaanderson@example.org
Or if you prefer - <email_address>  :-)"
    @nospam: "<quote>
Aha!
I notice there is no Knowledge Base article on MS web site :-(
Thanks for the code sample. I will work with that.
Will the problem be fixed in Whitbey?
Cheers,
If you wish to reply to me directly, my addres is spam proofed as:
lisaanderson@example.org
Or if you prefer - <email_address>  :-)"
    @nospam: "Hi,
I have tried implementing the code snippet you posted and it appears to 
work.
But I have a further problem and MSDN documentation is not really helping.
I have serialized a CursorWrapper to a resX file using a 
ResXResourceWriter but when I try to compile the resX file using ResGen 
I get this error -
error: Invalid ResX input.
error: Specific exception: TypeLoadException  Message: Invalid ResX 
input. -> TypeLoadException: Could not load type 
MyNamespace.CursorWrapper from assembly System.Windows.Forms, 
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
There is no real documentation on how ResGen reads resX file but it 
appears that it assumes that all types encoded in the resX file are 
expressed in the System.Windows.Forms dll. How do I inform ResGen that 
the type is expressed in my DLL instead?
Any help would be appreciated.
<quote>
If you wish to reply to me directly, my addres is spam proofed as:
lisaanderson@example.org
Or if you prefer - <email_address>  :-)"
{'source': 'USENET', 'other_information': '{"reply_count": 2, "forum_name": "microsoft.public.dotnet.framework.windowsforms.20140711.mbox"}', 'file': 'data/output/usenet-microsoft.public.parquet'}