FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour clipwks , xhb rc14
Posts: 167
Joined: Thu Mar 22, 2007 11:24 AM
clipwks , xhb rc14
Posted: Mon Jun 11, 2007 09:20 AM

Who is using ClipWks , i can not build it anymore with xhb rc14

Frank Demont

Posts: 840
Joined: Thu Oct 13, 2005 07:05 PM
clipwks , xhb rc14
Posted: Mon Jun 11, 2007 05:00 PM

ClipWKS requieres some functions in C not longer supported by xHarbour.

You'd better use FileXLS class works the same way and it's pure OOP code, pure (x)Harbour code.

Saludos

R.F.
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
clipwks , xhb rc14
Posted: Mon Jun 11, 2007 07:52 PM

The advantage of Clipwks was the speed and the ability to create worksheet without the need for Excel.

On a web application I am creating spreadsheet.xml files but saving them with an extension of xls.

This works very fast and does not need Excel. Excel treats them just like normal spreadsheet files.

Posts: 167
Joined: Thu Mar 22, 2007 11:24 AM
Clipwks
Posted: Tue Jun 12, 2007 05:06 AM

I agree with Gale : it is extemely fast and no need to exel

I could build it with xhb januari 2007 release , not anymore with rc14

Trying to compile with BCC55 gives a external :

iLink32.Exe -ap -Tpe /IDebug /LD:\XHARBOUR\Lib @READWKS.bcl
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_stack' referenced from
C:\FWH\CHANGED\CLIPWKS\XHB\BCCLIPWKS.LIB|IEEREAL

Frank Demont

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
clipwks , xhb rc14
Posted: Tue Jun 12, 2007 09:37 AM
Frank,

Try to add this code to your main PRG:
#pragma BEGINDUMP 

#include "hbstack.h" 

void * hb_stack = &HB_VM_STACK; 

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6
Joined: Wed Dec 21, 2005 05:16 PM
clipwks , xhb rc14
Posted: Wed Oct 03, 2007 06:15 PM
Antonio,

Been having the hb_stack problem also with the FWH we just upgraded/downloaded last week. Previously, we were using FWH 06/05 build and xHarbour (bcc) 10/05 build.

After adding the code below, the application does build but when executed, an unrecoverable error (9000) popup dialog "ALERT.PRG was compiled by older version, PCODE is no longer supported, please recompile" and the application would terminate.

FIVEHX and FIVEHC libs are being linked to our application.

Am using FWH_0907, xHarbour 0.99.70, bcc55 and xMate as the project manager.

Please let me know how to resolve this.

Thanks in advance.

Dionie


Antonio Linares wrote:
#pragma BEGINDUMP 

#include "hbstack.h" 

void * hb_stack = &HB_VM_STACK; 

#pragma ENDDUMP
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
clipwks , xhb rc14
Posted: Wed Oct 03, 2007 08:09 PM

Dionie,

> "ALERT.PRG was compiled by older version, PCODE is no longer supported, please recompile"

You have to recompile ALL your PRGs and used libraries (except FWH ones) as the xHarbour pcode has changed

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6
Joined: Wed Dec 21, 2005 05:16 PM
clipwks , xhb rc14
Posted: Wed Oct 03, 2007 08:16 PM
But I don't have ALERT.PRG on any of my linked source files. However, I found it referenced in fiveh.lib, fivehm.lib, fivehmx.lib and fivehx.lib.

Could these be what's causing this problem ?


Antonio Linares wrote:Dionie,

> "ALERT.PRG was compiled by older version, PCODE is no longer supported, please recompile"

You have to recompile ALL your PRGs and used libraries (except FWH ones) as the xHarbour pcode has changed
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
clipwks , xhb rc14
Posted: Wed Oct 03, 2007 08:24 PM

Dionie,

Check that you are using the right libraries from FWH 7.09 and not some old ones

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
clipwks , xhb rc14
Posted: Wed Oct 03, 2007 08:26 PM

I have been working more with .xml spreadsheet files lately. It is not as intuitive to design them but you can create them very fast and you do not need Excel.

I am creating them on the fly inside my web xbscript application. I can email them or display them in web browser.

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re:
Posted: Tue Apr 27, 2010 05:51 PM
Hi Gale,

Gale FORd wrote:I have been working more with .xml spreadsheet files lately. It is not as intuitive to design them but you can create them very fast and you do not need Excel.


Sorry for resurrecting an old thread but is there some snippet that you could share Gale? I've been hoping to be able to create xls without requiring Excel to be installed.

TIA.
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: clipwks , xhb rc14
Posted: Thu Apr 29, 2010 07:45 AM
Found a skeletal xml that can be used as a template here
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour

Continue the discussion