I have an application that embedding a resource file using the (FindResource, LoadResource and LockResource) functions. and it works properly ON WINDOWS.
Now I'm moving to Linux and other OS'es, where these functions are not defined! So I wonder if there are equivalents for them or another way to do the resource embedding.
Here is the part of the code that I'm using on windows.
HRSRC hFind, hLoad;
hFind = FindResource(hInstance , MAKEINTRESOURCE(ID_BIN), TEXT("Binary");
hLoad = (HRSRC)LoadResouce(hInstance, hFind);
pData = (char*) LockResource(hLoad);