xHarbour.org updated!
- Enrico Maria Giordano
- Posts: 8734
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Been thanked: 1 time
- Contact:
xHarbour.org updated!
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
Please visit:
http://www.xharbour.org
Many thanks to Mel for all his hard work in creating the new builds!
EMG
- Enrico Maria Giordano
- Posts: 8734
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Been thanked: 1 time
- Contact:
- karinha
- Posts: 7910
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: xHarbour.org updated!
Gracias Master. Usted é mui amable en me responder. Saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: xHarbour.org updated!
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
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
// 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"
- Enrico Maria Giordano
- Posts: 8734
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Been thanked: 1 time
- Contact:
Re: xHarbour.org updated!
BCC 7.2 still uses the old brc32.exe:
Send me a compilable sample of the problem and I will try to give you a solution.
EMG
Code: Select all | Expand
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
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: xHarbour.org updated!
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
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
- Enrico Maria Giordano
- Posts: 8734
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Been thanked: 1 time
- Contact:
Re: xHarbour.org updated!
I got:
So I set:
Then I got:
So I set:
Then I got:
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
Code: Select all | Expand
Error VehW32.RC 5 11: Cannot open file: windows.h
So I set:
Code: Select all | Expand
SET INCLUDE=c:\bcc72\include\windows\sdk
Then I got:
Code: Select all | Expand
Error guiddef.h 147 11: Cannot open file: string.h
So I set:
Code: Select all | Expand
SET INCLUDE=c:\bcc72\include\windows\sdk;c:\bcc72\include\windows\crtl
Then I got:
Code: Select all | Expand
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
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: xHarbour.org updated!
Enrico ..
Here is the thread we discussed a few months ago ..
viewtopic.php?f=3&t=33117&hilit=bcc72
Here is Resource.h
Thanks
Rick Lipkin
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
#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif
Thanks
Rick Lipkin
- Enrico Maria Giordano
- Posts: 8734
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Been thanked: 1 time
- Contact:
Re: xHarbour.org updated!
Ok, now I get:
I don't see any severe problem, or am I wrong?
EMG
Code: Select all | Expand
Error VehW32.RC 2022 35: Cannot open file: .\\Add16.bmp
I don't see any severe problem, or am I wrong?
EMG
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: xHarbour.org updated!
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.
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
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
// 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
- Enrico Maria Giordano
- Posts: 8734
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Been thanked: 1 time
- Contact:
Re: xHarbour.org updated!
Rick,
can you tell me exactly which is the error message you get that you cannot fixed?
EMG
can you tell me exactly which is the error message you get that you cannot fixed?
EMG
- carlos vargas
- Posts: 1721
- Joined: Tue Oct 11, 2005 5:01 pm
- Location: Nicaragua
Re: xHarbour.org updated!
i modify the header in "resource scrip template" in resedit
and all work ok.
//#include <winresrc.h>
#include <windows.h>
//#include <commctrl.h>
//#include <richedit.h>
#define WC_TABCONTROL "SysTabControl32"
#define MONTHCAL_CLASS "SysMonthCal32"
#include "resource.h"
and all work ok.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
Carlos Vargas
Desde Managua, Nicaragua (CA)
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: xHarbour.org updated!
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
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
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
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
- Antonio Linares
- Site Admin
- Posts: 42393
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 9 times
- Been thanked: 41 times
- Contact:
Re: xHarbour.org updated!
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'
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'