It looks like you may be using Text names for the
ResName. Your script file should look something like:
#include <windows.h>
10 ICON "chip.ico"
1 RT_MANIFEST "WindowsXP.Manifest"
Can you post the .rc script file you are using?
Thanks,
Mike H.
--- bj <address@hidden> wrote:
i forgot to put the output of LinkRes2Exe.exe,
sorry :)
DataSize = 0
HeaderSize = 32
ResType = NULL
ResName = 0
DataVersion = 0
MemFlags = None
LangId = 0
Version = 0
Charistics = 0
------------------------------------------------------------
DataSize = 55776
HeaderSize = 40
ResType = Unknown
ResName = 4E
DataVersion = 68
MemFlags = MOVEABLE PURE PRELOAD DISCARDABLE
LangId = 104
Version = 0
Charistics = 67698736
------------------------------------------------------------
DataSize = 1769234802
HeaderSize = 28271
ResType = Unknown
ResName = 0
DataVersion = 5505106
MemFlags = MOVEABLE PRELOAD
LangId = 70
Version = 5111887
Charistics = 84
------------------------------------------------------------
my resource file has a sound file, font file and a
manifest file. if
anyone could give me an example c and rc source code
that uses resources
like a sound file, a font file and a text file using
LinkRes2Exe that Mike
sent to us all, i would gladly appreciate it.
or if anyone had made LinkRes2Exe work with
resources, please email me the
source code or email it to us all.
thanks :)
On Thu, 05 Oct 2006 02:01:11 +0800, bj
<address@hidden> wrote:
> to Mike Henning
> your program doesn't work.
> i have tried compiling it with MinGW, tcc, Borland
C compiler bcc32, and
> Microsoft Visual C++ Toolkit 2003 but only MinGW
and tcc were able to
> compile it to exe files. both exe files got an
error.
> these are their error reports:
> LinkRes2Exetcc(LinkRes2Exe.c compiled with tcc)
got this error report,
> the one you get when you click "click here" and
"click here" again in
> the dialog where you can send the error report.
> <?xml version="1.0" encoding="UTF-16"?>
> <DATABASE>
> <EXE NAME="LinkRes2Exetcc.exe"
FILTER="GRABMI_FILTER_PRIVACY">
> <MATCHING_FILE NAME="LinkRes2Exe.exe"
SIZE="5632"
> CHECKSUM="0xF525AD9E" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x0"
> LINKER_VERSION="0x0" LINK_DATE="01/01/1970
00:00:00"
> UPTO_LINK_DATE="01/01/1970 00:00:00" />
> <MATCHING_FILE NAME="LinkRes2Exe2.exe"
SIZE="22379"
> CHECKSUM="0x6B3B6C39" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x13D53"
> LINKER_VERSION="0x10000" LINK_DATE="10/04/2006
14:27:39"
> UPTO_LINK_DATE="10/04/2006 14:27:39" />
> <MATCHING_FILE NAME="LinkRes2Exegcc.exe"
SIZE="22379"
> CHECKSUM="0x6B3B6C39" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x59A2"
> LINKER_VERSION="0x10000" LINK_DATE="10/04/2006
16:28:25"
> UPTO_LINK_DATE="10/04/2006 16:28:25" />
> <MATCHING_FILE NAME="LinkRes2Exetcc.exe"
SIZE="5632"
> CHECKSUM="0xF525AD9E" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x0"
> LINKER_VERSION="0x0" LINK_DATE="01/01/1970
00:00:00"
> UPTO_LINK_DATE="01/01/1970 00:00:00" />
> </EXE>
> <EXE NAME="msvcrt.dll"
FILTER="GRABMI_FILTER_THISFILEONLY">
> <MATCHING_FILE NAME="msvcrt.dll"
SIZE="343040"
> CHECKSUM="0x1BFAF375"
BIN_FILE_VERSION="7.0.2600.2180"
> BIN_PRODUCT_VERSION="6.1.8638.2180"
PRODUCT_VERSION="7.0.2600.2180"
> FILE_DESCRIPTION="Windows NT CRT DLL"
COMPANY_NAME="Microsoft
> Corporation" PRODUCT_NAME="Microsoft® Windows®
Operating System"
> FILE_VERSION="7.0.2600.2180
(xpsp_sp2_rtm.040803-2158)"
> ORIGINAL_FILENAME="msvcrt.dll"
INTERNAL_NAME="msvcrt.dll"
> LEGAL_COPYRIGHT="© Microsoft Corporation. All
rights reserved."
> VERFILEDATEHI="0x0" VERFILEDATELO="0x0"
VERFILEOS="0x40004"
> VERFILETYPE="0x1" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x57CD3"
> LINKER_VERSION="0x50001"
UPTO_BIN_FILE_VERSION="7.0.2600.2180"
> UPTO_BIN_PRODUCT_VERSION="6.1.8638.2180"
LINK_DATE="08/04/2004 07:59:14"
> UPTO_LINK_DATE="08/04/2004 07:59:14"
VER_LANGUAGE="English (United
> States) [0x409]" />
> </EXE>
> <EXE NAME="kernel32.dll"
FILTER="GRABMI_FILTER_THISFILEONLY">
> <MATCHING_FILE NAME="kernel32.dll"
SIZE="983552"
> CHECKSUM="0x4CE79457"
BIN_FILE_VERSION="5.1.2600.2180"
> BIN_PRODUCT_VERSION="5.1.2600.2180"
PRODUCT_VERSION="5.1.2600.2180"
> FILE_DESCRIPTION="Windows NT BASE API Client DLL"
> COMPANY_NAME="Microsoft Corporation"
PRODUCT_NAME="Microsoft® Windows®
> Operating System" FILE_VERSION="5.1.2600.2180
> (xpsp_sp2_rtm.040803-2158)"
ORIGINAL_FILENAME="kernel32"
> INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="©
Microsoft Corporation. All
> rights reserved." VERFILEDATEHI="0x0"
VERFILEDATELO="0x0"
> VERFILEOS="0x40004" VERFILETYPE="0x2"
MODULE_TYPE="WIN32"
> PE_CHECKSUM="0xFF848" LINKER_VERSION="0x50001"
> UPTO_BIN_FILE_VERSION="5.1.2600.2180"
> UPTO_BIN_PRODUCT_VERSION="5.1.2600.2180"
LINK_DATE="08/04/2004 07:56:36"
> UPTO_LINK_DATE="08/04/2004 07:56:36"
VER_LANGUAGE="English (United
> States) [0x409]" />
> </EXE>
> </DATABASE>
> LinkRes2Exegcc(LinkRes2Exe.c compiled with MinGW)
has this error report
> <?xml version="1.0" encoding="UTF-16"?>
> <DATABASE>
> <EXE NAME="LinkRes2Exegcc.exe"
FILTER="GRABMI_FILTER_PRIVACY">
> <MATCHING_FILE NAME="LinkRes2Exe.exe"
SIZE="5632"
> CHECKSUM="0xF525AD9E" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x0"
> LINKER_VERSION="0x0" LINK_DATE="01/01/1970
00:00:00"
> UPTO_LINK_DATE="01/01/1970 00:00:00" />
> <MATCHING_FILE NAME="LinkRes2Exe2.exe"
SIZE="22379"
> CHECKSUM="0x6B3B6C39" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x13D53"
> LINKER_VERSION="0x10000" LINK_DATE="10/04/2006
14:27:39"
> UPTO_LINK_DATE="10/04/2006 14:27:39" />
> <MATCHING_FILE NAME="LinkRes2Exegcc.exe"
SIZE="22379"
> CHECKSUM="0x6B3B6C39" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x5AD6"
> LINKER_VERSION="0x10000" LINK_DATE="10/04/2006
16:33:33"
> UPTO_LINK_DATE="10/04/2006 16:33:33" />
> <MATCHING_FILE NAME="LinkRes2Exetcc.exe"
SIZE="5632"
> CHECKSUM="0xF525AD9E" MODULE_TYPE="WIN32"
PE_CHECKSUM="0x0"
> LINKER_VERSION="0x0" LINK_DATE="01/01/1970
00:00:00"
> UPTO_LINK_DATE="01/01/1970 00:00:00" />
> </EXE>
> <EXE NAME="msvcrt.dll"
FILTER="GRABMI_FILTER_THISFILEONLY">
> <MATCHING_FILE NAME="msvcrt.dll"
SIZE="343040"
> CHECKSUM="0x1BFAF375"
BIN_FILE_VERSION="7.0.2600.2180"
> BIN_PRODUCT_VERSION="6.1.8638.2180"
PRODUCT_VERSION="7.0.2600.2180"
> FILE_DESCRIPTION="Windows NT CRT DLL"
COMPANY_NAME="Microsoft
=== message truncated ===>
_______________________________________________
Tinycc-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel
__________________________________________________
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