-
MAKEINTRESOURCE mystery
Hello,
Could anyone tell me what MAKEINTRESOURCE turns a resource identifier into? I thought it was a string, but the KERNEL32 access violations on using lstrlen and lstrcpy tell me otherwise. Is it a DWORD?
If I were to convert it into a string (So I can index different resources in my program's linked list) could I still pass that string to resource functions? :confused:
-
MSDN
>>>
Pointer to a null-terminated string that contains the name of the icon resource to be loaded. Alternatively, this parameter can contain the resource identifier in the low-order word and zero in the high-order word. Use the MAKEINTRESOURCE macro to create this value.
<<<
-
So, rather than being a pointer to something it's just a value? That means I'll have to add specific resource-handling information to my code above a string identifier, but thanx.