On Sunday, 6 September 2015 at 15:42:52 UTC, Prudence wrote:
So how does one actually include resources such as menu's (rc
files and all that) in a D project? Or am I stuff creating all
that stuff programmatically?
Just like in a C project: write, compile and link them.
On Sunday, 6 September 2015 at 10:28:59 UTC, Kagamin wrote:
On Sunday, 6 September 2015 at 02:37:21 UTC, Prudence wrote:
Obviously the issue is that I'm not using any resources yet it
is giving me such an error.
You do. See docs for lpszMenuName field. GUI projects generated
by Visual Studio
On Sunday, 6 September 2015 at 10:28:59 UTC, Kagamin wrote:
You do. See docs for lpszMenuName field.
I can't believe I missed that!
On Sunday, 6 September 2015 at 02:37:21 UTC, Prudence wrote:
Obviously the issue is that I'm not using any resources yet it
is giving me such an error.
You do. See docs for lpszMenuName field. GUI projects generated
by Visual Studio include resource generation, that's why it works
for them.
This may interest you:
https://github.com/Devisualization/window/blob/master/platforms/win32/devisualization/window/window.d
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
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
On Saturday, 5 September 2015 at 19:06:15 UTC, Prudence wrote:
[...]
Check this file
https://github.com/D-Programming-Language/dmd/blob/master/samples/winsamp.d ,it's distributed with your D setup.
I'm trying to create a win32 window. I coped the code pretty much
directly from msdn:
MSG msg;
BOOL bRet;
WNDCLASS wc;
// Register the window class for the main window.
if (!hPrevInstance)
{