clipwks , xhb rc14

Post Reply
demont frank
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

clipwks , xhb rc14

Post by demont frank »

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

Frank Demont
R.F.
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

Post 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.
Saludos
R.F.
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post 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.
demont frank
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Clipwks

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

Post 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 
regards, saludos

Antonio Linares
www.fivetechsoft.com
dionie
Posts: 6
Joined: Wed Dec 21, 2005 5:16 pm

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

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
dionie
Posts: 6
Joined: Wed Dec 21, 2005 5:16 pm

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

Post by Antonio Linares »

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
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post 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.
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re:

Post 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.
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Re: clipwks , xhb rc14

Post by hua »

Found a skeletal xml that can be used as a template here
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
Post Reply