Windows Resources

Prudence via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 5 19:37:20 PDT 2015


On Sunday, 6 September 2015 at 00:29:13 UTC, Adam D. Ruppe wrote:
> On Saturday, 5 September 2015 at 19:06:15 UTC, Prudence wrote:
>> That's about as far as I can get. (what resource data? Where I 
>> do put it? How, who, when?)
>
> Resource data in Windows is data compiled into your exe. It is 
> stuff like icons, menus, or other arbitrary stuff you attach.
>
> However, the code you posted doesn't access any of that so it 
> shouldn't be an issue here... what import did you use to access 
> the windows api? `import core.sys.windows.windows;` or 
> something else? Also, are you building 32 bit (the default) or 
> 64 bit?

32-bit and I'm using the latest win32 wrappers distributed on 
github from someone. (suppose to be more complete than 
core.sys.windows)

Obviously the issue is that I'm not using any resources yet it is 
giving me such an error. (again, I pretty much copied the code 
directly from MSDN)





More information about the Digitalmars-d-learn mailing list