Custom Cursor?

Hello people, I'm trying to load a custom cursor into my Windows program using C++. The ID of my custom cursor is IDC_CURSOR1; here is the line of code from my windows class.

 
wcex.hCursor		= LoadCursor(hInstance, MAKEINTRESOURCE (IDC_CURSOR1));


Problem is I keep getting the error C2065: 'IDC_CURSOR1' : undeclared identifier on running the program. Little bit baffled on this one, can someone help me out please?
have you #include "resource.h" ??

(or the header file in which the IDC_CURSOR1 value is defined??)
Thanks a lot; that should help me sleep easier. After including "resource.h" I got another error which made me realise "resource.h" was on my hard drive and my project was on my flash drive. Probably mixed things up because of transferring code from system to system. Thanks again; much obliged.
Topic archived. No new replies allowed.