GetLastError() :- 1814
-
hi all, I am using FindResource api for getting Handle of a resource. but i am getting null in the handle and GetLastError is returning 1814... Can anybody tell me what might be the error.... thanks in advance
-
hi all, I am using FindResource api for getting Handle of a resource. but i am getting null in the handle and GetLastError is returning 1814... Can anybody tell me what might be the error.... thanks in advance
neha.agarwal27 wrote:
Can anybody tell me what might be the error....
"The specified resource name cannot be found in the image file. " With Visual studio there is a tool called error look. You can enter the error code and it will show you the error string. To take error lookup from visual studio take "tools menu->Error Lookup"
nave [OpenedFileFinder]
-
hi all, I am using FindResource api for getting Handle of a resource. but i am getting null in the handle and GetLastError is returning 1814... Can anybody tell me what might be the error.... thanks in advance
Winerror.h:
//
// MessageId: ERROR_RESOURCE_NAME_NOT_FOUND
//
// MessageText:
//
// The specified resource name cannot be found in the image file.
//
#define ERROR_RESOURCE_NAME_NOT_FOUND 1814L:)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
Winerror.h:
//
// MessageId: ERROR_RESOURCE_NAME_NOT_FOUND
//
// MessageText:
//
// The specified resource name cannot be found in the image file.
//
#define ERROR_RESOURCE_NAME_NOT_FOUND 1814L:)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain ClarkeHow can i remove this error??
-
How can i remove this error??
Simply make sure the resource is indeed in the image file. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke