clipwks , xhb rc14

clipwks , xhb rc14

Postby demont frank » Mon Jun 11, 2007 9:20 am

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

Frank Demont
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Postby R.F. » Mon Jun 11, 2007 5: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.
R.F.
 
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

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

Clipwks

Postby demont frank » Tue Jun 12, 2007 5: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
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Postby Antonio Linares » Tue Jun 12, 2007 9:37 am

Frank,

Try to add this code to your main PRG:
Code: Select all  Expand view
#pragma BEGINDUMP

#include "hbstack.h"

void * hb_stack = &HB_VM_STACK;

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41405
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby dionie » Wed Oct 03, 2007 6: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:
Code: Select all  Expand view
#pragma BEGINDUMP

#include "hbstack.h"

void * hb_stack = &HB_VM_STACK;

#pragma ENDDUMP
dionie
 
Posts: 6
Joined: Wed Dec 21, 2005 5:16 pm

Postby Antonio Linares » Wed Oct 03, 2007 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41405
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby dionie » Wed Oct 03, 2007 8: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
dionie
 
Posts: 6
Joined: Wed Dec 21, 2005 5:16 pm

Postby Antonio Linares » Wed Oct 03, 2007 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41405
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Gale FORd » Wed Oct 03, 2007 8: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.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re:

Postby hua » Tue Apr 27, 2010 5: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
hua
 
Posts: 1050
Joined: Fri Oct 28, 2005 2:27 am

Re: clipwks , xhb rc14

Postby hua » Thu Apr 29, 2010 7: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
hua
 
Posts: 1050
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 32 guests