xHarbour.org updated!

xHarbour.org updated!

Postby Enrico Maria Giordano » Tue Jan 24, 2017 1:16 pm

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
Enrico Maria Giordano
 
Posts: 8696
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: xHarbour.org updated!

Postby karinha » Tue Jan 24, 2017 6:56 pm

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

Re: xHarbour.org updated!

Postby Enrico Maria Giordano » Tue Jan 24, 2017 6:59 pm

BCC 7.0 is not supported. Please use BCC 7.2.

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

Re: xHarbour.org updated!

Postby karinha » Fri Jan 27, 2017 12:13 pm

Gracias Master. Usted é mui amable en me responder. Saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7766
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: xHarbour.org updated!

Postby Rick Lipkin » Fri Jan 27, 2017 2:29 pm

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  Expand view

// 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
Rick Lipkin
 
Posts: 2662
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Postby Enrico Maria Giordano » Fri Jan 27, 2017 2:34 pm

BCC 7.2 still uses the old brc32.exe:

Code: Select all  Expand view
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
Enrico Maria Giordano
 
Posts: 8696
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: xHarbour.org updated!

Postby Rick Lipkin » Fri Jan 27, 2017 3:14 pm

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
Rick Lipkin
 
Posts: 2662
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Postby Enrico Maria Giordano » Fri Jan 27, 2017 3:33 pm

I got:

Code: Select all  Expand view
Error VehW32.RC 5 11: Cannot open file: windows.h


So I set:

Code: Select all  Expand view
SET INCLUDE=c:\bcc72\include\windows\sdk


Then I got:

Code: Select all  Expand view
Error guiddef.h 147 11: Cannot open file: string.h


So I set:

Code: Select all  Expand view
SET INCLUDE=c:\bcc72\include\windows\sdk;c:\bcc72\include\windows\crtl


Then I got:

Code: Select all  Expand view
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
Enrico Maria Giordano
 
Posts: 8696
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: xHarbour.org updated!

Postby Rick Lipkin » Fri Jan 27, 2017 3:39 pm

Enrico ..

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

viewtopic.php?f=3&t=33117&hilit=bcc72

Here is Resource.h
Code: Select all  Expand view

#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif
 


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

Re: xHarbour.org updated!

Postby Enrico Maria Giordano » Fri Jan 27, 2017 3:42 pm

Ok, now I get:

Code: Select all  Expand view
Error VehW32.RC 2022 35: Cannot open file: .\\Add16.bmp


I don't see any severe problem, or am I wrong?

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

Re: xHarbour.org updated!

Postby Rick Lipkin » Fri Jan 27, 2017 4:47 pm

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  Expand view

// 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
Rick Lipkin
 
Posts: 2662
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Postby Enrico Maria Giordano » Fri Jan 27, 2017 5:22 pm

Rick,

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

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

Re: xHarbour.org updated!

Postby carlos vargas » Fri Jan 27, 2017 6:03 pm

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
carlos vargas
 
Posts: 1715
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: xHarbour.org updated!

Postby Rick Lipkin » Fri Jan 27, 2017 8:53 pm

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
Rick Lipkin
 
Posts: 2662
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xHarbour.org updated!

Postby Antonio Linares » Sat Jan 28, 2017 10:45 am

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42048
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to WhatsNew / Novedades

Who is online

Users browsing this forum: No registered users and 3 guests

cron