Resource Pblm(To Antonio)

Resource Pblm(To Antonio)

Postby sajith » Tue Sep 15, 2009 8:30 am

Hello,can some one help me
iam designing my Dialog using PellesC Resource Editor and XMate as my FiveWin Editor .After including Resource when i run the XMate iam getting an Error in Out Put Console .it would be really great full if some one help me.Thanks in Advance

ERROR::
Code: Select all  Expand view

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'Pic.prg'...
Lines 17, Functions/Procedures 1
Generating C source output to 'Obj\Pic.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  -nObj Obj\Pic.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Obj\Pic.c:
[1]:PORC.EXE D:\Sample\Pic1.rc   /I 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



Source Code::
Code: Select all  Expand view

#include "FiveWin.ch"
#include "DbCombo.Ch"
#include "Ado.ch"
//------------------------------------------------------------------------------
FUNCTION TestMain()            //MAIN FUNCTION()
//------------------------------------------------------------------------------
LOCAL oDlg
DEFINE DIALOG oDlg RESOURCE "aa" TITLE "SampleTest"

REDEFINE GET oGet   ID  4001 of oDlg

ACTIVATE DIALOG oDlg CENTERED

RETURN Nil
 

Resource(Pic1.rc) Code::

Code: Select all  Expand view


#include <windows.h>
#include <commctrl.h>
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
aa DIALOGEX DISCARDABLE 6, 18, 382, 174
STYLE DS_SHELLFONT|WS_POPUP|DS_MODALFRAME|DS_CONTEXTHELP|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION "Dialog"
FONT 8, "MS Shell Dlg", 0, 0, 1
{
  CONTROL "Edit", 4001, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 144, 56, 120, 20
}
 


Regards,
sajith
sajith
 
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India

Re: Resource Pblm(To Antonio)

Postby StefanHaupt » Wed Sep 16, 2009 7:19 am

Sajit,

PORC.EXE D:\Sample\Pic1.rc /I include /I


Try with

PORC.EXE /I include D:\Sample\Pic1.rc
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Resource Pblm(To Antonio)

Postby sajith » Thu Sep 17, 2009 7:16 am

Hai stefan,

I tried it out with your suggestion,But same error occuring


regards Sajith
sajith
 
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India

Re: Resource Pblm(To Antonio)

Postby StefanHaupt » Thu Sep 17, 2009 8:07 am

Hi Sajit,

sorry, here it´s working.

you can try to change to the directory where the .rc file is and call it like this

c:\PellesC\bin\porc /i .\include sample.rc
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Resource Pblm(To Antonio)

Postby sajith » Sat Sep 19, 2009 8:32 am

Many thanks for ur support,

Pblm still remain

Regards,
sajith
sajith
 
Posts: 110
Joined: Wed Feb 18, 2009 9:58 am
Location: India

Re: Resource Pblm(To Antonio)

Postby Antonio Linares » Sat Sep 19, 2009 8:42 am

Sajith,

I just tried it here and worked fine this way:
Code: Select all  Expand view

c:\Program Files\PellesC\Bin>porc -Ic:\bcc55\include pic1.rc
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41403
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Horizon and 47 guests