The AllocResource function has been deleted. All Win32 resources are contained in mapped image files.
Use the LoadResource, LockResource, and FindResource functions.