xHarbour.org updated!

User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

xHarbour.org updated!

Post by Enrico Maria Giordano »

xHarbour.org has been update with the new builds, sources and compilers!

Please visit:

http://www.xharbour.org

Many thanks to Mel for all his hard work in creating the new builds!

EMG
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: xHarbour.org updated!

Post by karinha »

Enrico, falta la versión del xHarbour para BCC7.0 gracias, saludos.
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: xHarbour.org updated!

Post by karinha »

Gracias Master. Usted é mui amable en me responder. Saludos.
João Santos - São Paulo - Brasil
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Post by Rick Lipkin »

To All

I like Bcc72, however if you have any embedded #include headers in your .rc files, they will not compile into .res without errors. Also, had problems compiling .rc's that have datepick controls as well. :(

Rick Lipkin

Code: Select all

// Generated by ResEdit 1.6.6
// Copyright (C) 2006-2015
// http://www.resedit.net

#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include "resource.h"

 
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: xHarbour.org updated!

Post by Enrico Maria Giordano »

BCC 7.2 still uses the old brc32.exe:

Code: Select all

Borland Resource Compiler / Binder
Version 5.40 Copyright (c) 1992, 1999 Inprise Corporation
Send me a compilable sample of the problem and I will try to give you a solution.

EMG
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Post by Rick Lipkin »

Enrico

Just sent you my monolithic .rc file .. Compile to .res with brc32 -r and you will see the problems associated with the ResEdit header files.

Thanks
Rick Lipkin
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: xHarbour.org updated!

Post by Enrico Maria Giordano »

I got:

Code: Select all

Error VehW32.RC 5 11: Cannot open file: windows.h
So I set:

Code: Select all

SET INCLUDE=c:\bcc72\include\windows\sdk
Then I got:

Code: Select all

Error guiddef.h 147 11: Cannot open file: string.h
So I set:

Code: Select all

SET INCLUDE=c:\bcc72\include\windows\sdk;c:\bcc72\include\windows\crtl
Then I got:

Code: Select all

Error combaseapi.h 283 9: Symbol PURE is already defined. Redefinition is not the same
So I fix combaseapi.h line 283 (commented out). Then I got an error on resource.h that is not a known include file.

EMG
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Post by Rick Lipkin »

Enrico ..

Here is the thread we discussed a few months ago ..

http://forums.fivetechsupport.com/viewt ... ilit=bcc72

Here is Resource.h

Code: Select all

#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif
 
Thanks
Rick Lipkin
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: xHarbour.org updated!

Post by Enrico Maria Giordano »

Ok, now I get:

Code: Select all

Error VehW32.RC 2022 35: Cannot open file: .\\Add16.bmp
I don't see any severe problem, or am I wrong?

EMG
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Post by Rick Lipkin »

Enrico ..

Sorry about the file .. the .rc is looking to load all my icons and bitmaps .. lets try it this way ..

Go To \Samples and lets use Buildx.bat AdoRick .. before you compile substitute this AdoRick.rc file.

Code: Select all

// Generated by ResEdit 1.6.6
// Copyright (C) 2006-2015
// http://www.resedit.net

#include <windows.h>
#include <commctrl.h>
#include <richedit.h>

CUSTOMER DIALOG 3, 13, 538, 356
STYLE WS_CHILD
FONT 8, "Arial"
{
 CONTROL "", 109, "TFolderex", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 3, 4, 524, 308
}
CUSTVIEW DIALOG 12, 11, 513, 311
STYLE WS_CHILD
FONT 6, "MS Sans Serif"
{
 LTEXT "Customer Type", 110, 8, 8, 37, 22, SS_NOPREFIX | WS_GROUP
 CONTROL "  Individual   ", 150, "BUTTON", BS_AUTORADIOBUTTON, 46, 10, 63, 12
 CONTROL "  Commercial", 151, "BUTTON", BS_AUTORADIOBUTTON, 46, 24, 63, 12
 CONTROL "Customer Id", 111, "STATIC", SS_CENTER | SS_NOPREFIX | WS_BORDER | WS_GROUP, 112, 11, 94, 10
 EDITTEXT 152, 112, 23, 94, 12, ES_AUTOHSCROLL | NOT WS_TABSTOP | WS_BORDER
 LTEXT "Company or Last Name", 112, 7, 39, 105, 10, SS_NOPREFIX | WS_GROUP
 LTEXT "First Name", 113, 119, 39, 73, 10, SS_NOPREFIX | WS_GROUP
 EDITTEXT 153, 7, 50, 105, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
 EDITTEXT 154, 117, 50, 76, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
 GROUPBOX "", 196, 2, -2, 213, 304, BS_GROUPBOX
 CONTROL "Customer Info", 172, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 221, 1, 290, 215
}
SERVVIEW DIALOG 12, 11, 436, 311
STYLE WS_CHILD
FONT 6, "MS Sans Serif"
{
 LTEXT "Company or Last Name", -1, 24, 58, 105, 10, SS_NOPREFIX | WS_GROUP
 EDITTEXT 120, 24, 70, 105, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
}
 
You should get the Bcc72 errors .. however, if you remove the ResEdit header files .. the AdoRick compiles perfectly. Unfortunately, for those of us that use ResEdit or the Pelles C resource editor .. the header files are part of each .rc :(

Rick Lipkin
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: xHarbour.org updated!

Post by Enrico Maria Giordano »

Rick,

can you tell me exactly which is the error message you get that you cannot fixed?

EMG
User avatar
carlos vargas
Posts: 1421
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: xHarbour.org updated!

Post by carlos vargas »

i modify the header in "resource scrip template" in resedit
//#include <winresrc.h>
#include <windows.h>
//#include <commctrl.h>
//#include <richedit.h>

#define WC_TABCONTROL "SysTabControl32"
#define MONTHCAL_CLASS "SysMonthCal32"

#include "resource.h"
Image
and all work ok.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Post by Rick Lipkin »

Carlos

Thanks for your help ..

I had to fix the header prsht.h :
Error prsht.h 917 1: '#endif' before '#if'

and Header combaseapi.h
Error combaseapi.h 283 9: Symbol PURE is already defined. Redefinition is not the same

For the above errors was the fix for the resedit headers to just rem them out ? meaning if I rem out commctrl.h and richedit.h will that stop the calls to prsht.h and to combaseapi.h ?

//#include <commctrl.h>
//#include <richedit.h>

Also have three other errors .. DateTimePick and a Black frame used for a picture control .. and my Version.rc
Image
Image
Image

I ran into these errors several months ago and decided the 'juice wasn't worth the squeeze'

If you can make any suggestions to allow the picture frame and datepick to work .. I can make Bcc72 work ..

Rick Lipkin
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: xHarbour.org updated!

Post by Antonio Linares »

Rick,

Were you able to fix this for BCC 7.1 64 ?

> I had to fix the header prsht.h :
> Error prsht.h 917 1: '#endif' before '#if'
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply