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
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
#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
Code: Select all
#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
}
sajith