I am trying to change the cursor when the user must wait from the built-in IDC_WAIT to a custom cursor file.
I added redcross.cur as a resource called IDC_REDCROSS to my VC 6.0 project,
hOldCursor = SetCursor (LoadCursor ((HINSTANCE)NULL, IDC_WAIT));
hOldCursor = SetCursor (LoadCursor ((HINSTANCE)NULL, IDC_REDCROSS));
However when I try to build, I get an error on that last line of code that reads:
error C2664: 'LoadCursorA' : cannot convert parameter 2 from 'const int' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Please advise me on how to remedy this. Thank you!