Hernan's TWBrowse

Hernan's TWBrowse

Postby TimStone » Thu Jul 26, 2007 7:54 pm

OK ... so I found a copy of Hernan's TWBrowse on the net. Although there is a .lib file, it won't compile with xHarbour Builder ( MS ). So I tried the source files, but the application still won't build.

Does anyone know precisely which source files need to be included in the application for the July 2007 versions of xHarbour ( Builder Beta ) and FWH ?

Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Francisco Horta » Thu Jul 26, 2007 8:16 pm

Tim,

here a link to download

http://www.savefile.com/files/875681

regards
Paco
Francisco Horta
 
Posts: 845
Joined: Sun Oct 09, 2005 5:36 pm
Location: la laguna, mexico.

WBrowse

Postby TimStone » Thu Jul 26, 2007 8:29 pm

I have the download already, but it creates an error when linking the library with the xHarbour Builder ( MS compatible ). That would indicate the lib was built perhaps with Borland.

Obviously we can rebuilt the source file but I need to know which files need to be included in the program.

Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Armando » Thu Jul 26, 2007 9:03 pm

Timm:

I did it with only two PRG files and one C file as follow:

TMULTISE.PRG
WBROWSE.PRG

and

WBRWLINE.C

I hope this can help you
Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3209
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

WBRWLINE.c

Postby TimStone » Thu Jul 26, 2007 10:14 pm

Unfortunately, the compiler will not build with wbrwline.c attached. I've checked and all of the *.h files specified are in the path, but it just gives me a "cannot build" error when that file is attached.

I'm using the July Beta of xHarbour Builder and FWH 7.07.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby James Bott » Thu Jul 26, 2007 11:44 pm

Tim,

I suggest using a file compare utility to look for differences between Hernan's wbrwline.c and the native FWH one. This might help you find the problem. You could comment out changed lines and replace them with the originals until it compiles.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Armando » Fri Jul 27, 2007 12:03 am

Timm:

When I compile gives to me eleven warning messages but the library works fine. perhaps you need to change some flags.

BTW I use xHarbour and VERCE to build the lib, these are the flags

/n /m /w /es2 /gc1

Best regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3209
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Too many errors

Postby TimStone » Fri Jul 27, 2007 6:10 pm

I tried the build but there are too many errors when using xHarbour Builder ( xCC compiler ) with this. I would need to rewrite at least one header file, and probably change some function names.

For those who are successful with this ( latest FWH, latest xHarbour, xCC ) what did you find, or are most of you using Borland to build this ?
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Rick Lipkin » Sat Jul 28, 2007 12:49 am

Tim

I gave up on MSVC and Hernan's TwBrowse .. went back to Borland 5.5 and now working with the Borland Turbo 5.82 compiler.. no problems at all.

Something about the way that .c file is written .. it just will not compile with MSVC7 or 8 ..

If I am working with ADS .. I use Hernan's Twbrowse .. if I am using ADO or writing for a local LAN app .. I use the standard FWH TwBrowse.

Hernan's browse does have some nice features and a lot more column control if you need that .. mostly for what I do .. I just need a standard listbox... either in code or .rc.

Rick Lipkin
SC Dept of Health, USA
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Too many errors

Postby Richard Chidiak » Sat Jul 28, 2007 1:19 pm

Tim

Sent to your email

I also use xcc and Hernan's browse, it works OK

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby dutch » Mon Jul 30, 2007 6:09 am

Dear Richard,

May I have Hernam's Twbrowse for FWH too?

Dutch
dutch@easyfo.com
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 51 guests