|
From: | bj |
Subject: | Re: Fw: [Tinycc-devel] windows resources LinkRes2Exe.exe by Mike Henning |
Date: | Fri, 06 Oct 2006 02:47:17 +0800 |
User-agent: | Opera Mail/9.02 (Win32) |
YEAH!!!! it worked, i thought you meant like this hResource=FindResource( hInstance,MAKEINTRESOURCE(ID_FONT),"RT_RCDATA"); but what you meant was this hResource=FindResource( hInstance,MAKEINTRESOURCE(ID_FONT),RT_RCDATA); and at finally it worked!!! thank you very much!!to all, how does one code a c program that knows its executable name and can restart itself?
On Thu, 05 Oct 2006 16:42:58 +0800, Mike Henning <address@hidden> wrote:
--- bj <address@hidden> wrote://windowwithbutton.rc file #include "windowwithbutton.h" #include <linktosoundandsentencetemp.h> ID_SOUND SOUND SOUNDfileThis looks like the culprit, try using RCDATA instead of SOUND. example: ID_SOUND RCDATA SOUNDfile Then in your program you just reference the type as RT_RCDATA. I'll probably add support for text names in a future version, although they are rarely used anymore. Mike H. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Tinycc-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/tinycc-devel
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
[Prev in Thread] | Current Thread | [Next in Thread] |