Can I use resource file(*.rc,*.res) in D under Win32 API?
Stewart Gordon
smjg_1998 at yahoo.com
Fri Sep 11 07:53:10 PDT 2009
Sam Hu wrote:
> Greetings to everybody!
>
> As subjected.I use vc++ to generate a very simple dialog resource,and then compiled with rcc.exe accompanied with dmc:
> rcc -32 mydialog.rc
>
> it generated mydialog.res file.
Did you remember to include this .res file on the command line when
linking your program? Seeing what command lines you're using might help.
> In my main win32 SDK source file,I use DialogBox to try to load the dialog,but it failed.
<snip>
By "failed", do you mean that the function returned an error value but
otherwise did nothing?
Stewart.
More information about the Digitalmars-d-learn
mailing list