when iam trying to include a resource file to my project following error are showing in the output console.The resource file include a bitmap and iam using Pelles C IDE.
Code For Calling Resource Name "SavePic "
- Code: Select all Expand view
@288,395 BUTTONBMP oBtnSave prompt "SAVE" TEXTRIGHT SIZE 45,20 PIXEL OF odlg;
RESOURCE "SavePic" lTrans TRANSPARENT ;
FONT oFontBtn MESSAGE "Click here to Save"
SavePic .rc code (Resource)
- Code: Select all Expand view
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
SavePic BITMAP "Icons\\Save.bmp"
Error in the OutPutConsole
- Code: Select all Expand view
Done.
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_OS_WIN_32 -ID:\FWH\include -ID:\Borland\BCC55\Include;D:\xHarbour\Include -nD:\PAYROL~3\Obj Report.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Report.c:
[1]:Harbour.Exe PayrollFiles\PaySlipMain.prg /m /n /gc0 /w0 /es2 /a /iD:\FWH\include /iD:\xHarbour\Include /d__EXPORT__ /oObj\PaySlipMain.c
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'PayrollFiles\PaySlipMain.prg'...
Lines 740, Functions/Procedures 13
Generating C source output to 'Obj\PaySlipMain.c'...
Done.
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_OS_WIN_32 -ID:\FWH\include -ID:\Borland\BCC55\Include;D:\xHarbour\Include -nD:\PAYROL~3\Obj PaySlipMain.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
PaySlipMain.c:
[1]:Harbour.Exe PayrollFiles\ModificationDtls.prg /m /n /gc0 /w0 /es2 /a /iD:\FWH\include /iD:\xHarbour\Include /d__EXPORT__ /oObj\ModificationDtls.c
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'PayrollFiles\ModificationDtls.prg'...
Lines 125, Functions/Procedures 3
Generating C source output to 'Obj\ModificationDtls.c'...
Done.
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_OS_WIN_32 -ID:\FWH\include -ID:\Borland\BCC55\Include;D:\xHarbour\Include -nD:\PAYROL~3\Obj ModificationDtls.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
ModificationDtls.c:
[1]:PORC.EXE Resource\Icon.rc /I D:\PellesC\include /I
Pelles Resource Compiler, Version 5.00.0
Copyright (c) Pelle Orinius 1997-2008
Syntax:
PORC [options] input[.rc]
Options:
/C<cp> Define codepage for NLS conversion (default: 1252)
/D<name>[=<text>] Define a symbol
/E Preprocess only (to stdout)
/Fo<file> Rename the output file (default: input.res)
/I<path> Add a search path for #include files
/L<langid> Set default language ID
/N Append null character to all strings in the string table
/R Create a .res file (default, can always be omitted)
/V Display more information
/X Don't search standard places for #include files
Regards,
sajith