== Quote from Tyro[a.c.edwards] ([email protected])'s article > Both implementations results in error code 1812 being returned from > GetLastError. explanation of the code reads: > ERROR_RESOURCE_DATA_NOT_FOUND > 1812 (0x714) > The specified image file did not contain a resource section. > The code I'm porting initially consisted of a resource.h file, a > generic.rc file and two icons. I have not tried to include the icons and > generic.rc file in the compilation because I do not know how to as yet > and I've only used half of the resource.h file: didn't think I need the > whole thing. Could this be the reason for the error? If so could you > direct me to the explanation of how to prepare these files for inclusion > in the compilation process? > Thanks, > Andrew
You need to compile the .rc file (see http://www.digitalmars.com/ctg/rcc.html), then add the resulting .res file to dmd's command line.
