Im not sure which forum to posts this in, but seems ageneral compiler/settings type of error no one seemingly can answer anything about.
I've got a dll project that modifies a native unmanaged c++ application/win64 console.
Now it works fine, and changes it's things, mods stuff to my liking.
However one day i decided to add a menu to mod and control some of my custom stuff.
What i did was in my dll findwindow, create a menu and appendmenu.
I then made a asm hook to DefWindowProc in the application/program, to handle and control messages.
This works fine.
The problem comes when i click an option in my menu, that opens a dialogbox using a resource i've created.
None of my resources seemingly get loaded into the application from the dll.
Neither my ico files or the box itself.
And i'n very confused.
I've done the same things to an earlier version of the Program, altho there i used a hex asm hook to use loadlibrary, so it would load my dll.
My question is:
Would LoadLibrary load all resources as well, whereas standard declspec import not load it, when attaching dll to import table?
Or am i dong something screwy in VS c++ settings ?
Ill share code if needed, just at work atm.