Page 1 of 1

clipwks , xhb rc14

Posted: Mon Jun 11, 2007 9:20 am
by demont frank
Who is using ClipWks , i can not build it anymore with xhb rc14

Frank Demont

Posted: Mon Jun 11, 2007 5:00 pm
by R.F.
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.

Posted: Mon Jun 11, 2007 7:52 pm
by Gale FORd
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.

Clipwks

Posted: Tue Jun 12, 2007 5:06 am
by demont frank
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

Posted: Tue Jun 12, 2007 9:37 am
by Antonio Linares
Frank,

Try to add this code to your main PRG:

Code: Select all

#pragma BEGINDUMP 

#include "hbstack.h" 

void * hb_stack = &HB_VM_STACK; 

#pragma ENDDUMP 

Posted: Wed Oct 03, 2007 6:15 pm
by dionie
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:

Code: Select all

#pragma BEGINDUMP 

#include "hbstack.h" 

void * hb_stack = &HB_VM_STACK; 

#pragma ENDDUMP 

Posted: Wed Oct 03, 2007 8:09 pm
by Antonio Linares
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

Posted: Wed Oct 03, 2007 8:16 pm
by dionie
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

Posted: Wed Oct 03, 2007 8:24 pm
by Antonio Linares
Dionie,

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

Posted: Wed Oct 03, 2007 8:26 pm
by Gale FORd
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.

Re:

Posted: Tue Apr 27, 2010 5:51 pm
by hua
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.

Re: clipwks , xhb rc14

Posted: Thu Apr 29, 2010 7:45 am
by hua
Found a skeletal xml that can be used as a template here