I have a static function in a dll that loads a string from a resource using LoadString (). When I call this function from this DLL, everything works fine. But, when I call this function from another module (activeX control), the LoadString fails with the error ERROR_RESOURCE_NAME_NOT_FOUND. I tried using the AFX_MANAGE_STATE macro, but that did not help. Does anyone know what could be the problem here and what is the solution?
Aleksandar
source
share