FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour 8.04 and oWnd:end( )
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
8.04 and oWnd:end( )
Posted: Fri Apr 18, 2008 10:02 PM

Robert,

Are you using xHB commercial ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 95
Joined: Fri Nov 23, 2007 04:43 AM
8.04 and oWnd:end( )
Posted: Fri Apr 18, 2008 10:15 PM
Antonio Linares wrote:Robert,

Are you using xHB commercial ?


No.
I use xHarbour 1.0.0 from FTDN, last one which works with my sql library.
But I got the same error.

There were some topics about problem with SQL libraries, when xHarbour 1.1.0 occurs. I guess it's going on with xHarbour from CVS. So I decided to use 1.0.0. This is last month of my FTDN, so I know that next one I have to buy will be when official stable version of xHarbour will be released.
Robert Frank
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
8.04 and oWnd:end( )
Posted: Fri Apr 18, 2008 10:42 PM

Robert,

> But I got the same error.

Could you please provide me a PRG sample to reproduce the error here ? Thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Libs
Posted: Fri Apr 18, 2008 10:48 PM

Antonio,

I simply re-downloaded the FWH install after you noted it had been rebuilt, and then I did a rebuild of my application ( complete ).

I did not rebuild any libraries.

I'm using xHarbour commercial (Nov. stable build) with your latest FWH 8.04.

I did revert to FWH 8.03 and there are no problems.

Tim

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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
8.04 and oWnd:end( )
Posted: Fri Apr 18, 2008 11:06 PM

Tim,

Could you provide a sample PRG to generate the error ? Thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Sample
Posted: Sat Apr 19, 2008 12:44 AM

Built using FWH 8.04 and xHarbour(.com) Nov 2007
Under Vista, this program dies on startup and generates a Vista GPF message:

include "fivewin.ch" //

INCLUDE "wcolors.CH"

include "common.ch"

DEFINE HELP_FINDER

DEFINE HKEY_LOCAL_MACHINE 2147483650

DEFINE INTERNET_FLAG_PASSIVE 0x08000000

FUNCTION main( nMode )

// SET options
SET _3DLOOK ON
SET DELETED ON
SET EPOCH TO 1950
SET CENTURY ON
SETHandleCount( 220 )
SET EXCLUSIVE OFF
SetBalloon(.t.)

// Fonts Master definition
DEFINE FONT oMfont NAME "MS Sans Serif" SIZE 0, -10 BOLD

// Now open the window and apply settings
DEFINE WINDOW oWnd FROM 1,1 TO 768,1024 PIXEL TITLE "Test Open"

oWnd:oFont := oMfont
WNDCENTER( oWnd:hWnd ) // Center the window on the screen

// Establish the message bar
SET MESSAGE OF oWnd TO "(c) Test 2008" 2007 NOINSET DATE KEYBOARD FONT oMfont
oWnd:oMsgBar:nHeight := oMFont:nHeight( ) * 1.08 + 12

// Activate the window
ACTIVATE WINDOW oWnd VALID MsgYesNo( "Do you want to quit ? ", "Exiting Test")

// Close and release
SET 3DLOOK OFF

RETURN ( NIL )

function __ClsActive() ; return nil

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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
8.04 and oWnd:end( )
Posted: Sat Apr 19, 2008 07:15 AM

Tim,

Probably this line:
function __ClsActive() ; return nil
is the one that generates the GPF.

Could you please ask xHB.com to provide you a working __ClsActive() code ? Thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
8.04 and oWnd:end( )
Posted: Sat Apr 19, 2008 12:28 PM
Antonio Linares wrote:Probably this line:
function __ClsActive() ; return nil
is the one that generates the GPF.

Antonio, Tim,
The line genetating the GPS is
oWnd:oFont := oMfont

Regards

Manuel Mercado
manuelmercado at prodigy dot net dot mx
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
8.04 and oWnd:end( )
Posted: Sat Apr 19, 2008 12:32 PM

Manuel,

Just a simply DATA assignment ? Thanks for your feedback,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
8.04 and oWnd:end( )
Posted: Sat Apr 19, 2008 12:43 PM
Antonio Linares wrote:Just a simply DATA assignment ?

I don't know, but if you comment that line, the gps goes away.
Regards

Manuel Mercado
manuelmercado at prodigy dot net dot mx
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
8.04 and oWnd:end( )
Posted: Sat Apr 19, 2008 12:49 PM
Antonio Linares wrote:Tim,

Probably this line:
function __ClsActive() ; return nil
is the one that generates the GPF.

Could you please ask xHB.com to provide you a working __ClsActive() code ? Thanks

It is not necessary to create dummy function __ClsActive, If xbrowse.prg is complied with xharbour 1.0.0, __ClsActive is not referred to at all. __ClsActive is called by TOleAuto class used in toExcel method.
Regards



G. N. Rao.

Hyderabad, India
Posts: 39
Joined: Tue Jan 24, 2006 06:16 PM
Re: Sample
Posted: Sat Apr 19, 2008 02:25 PM
Hello Tim,

Tim Stone wrote:Built using FWH 8.04 and xHarbour(.com) Nov 2007
Under Vista, this program dies on startup and generates a Vista GPF message:

I just compiled your sample with latest upcoming xHarbour Builder APRIL BETA + FWH 8.04 and it does not GPF. It works with or without adding:
function __ClsActive() ; return nil

Patrick
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
8.04 and oWnd:end( )
Posted: Sat Apr 19, 2008 04:11 PM

GPF gotten with XP using FWH 8.04 and a prior version of xHarbour (that supplied from FiveTechSoft with FWH 8.02)

Patrick is right, with the last xHarbour version (that supplied from FiveTechSoft with FWH 8.04), there is not GPF nor missing __ClsActive function.

Regards

Manuel Mercado
manuelmercado at prodigy dot net dot mx
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
8.04 and oWnd:end( )
Posted: Sat Apr 19, 2008 04:29 PM

Patrick,

Thanks for your feedback,

Please provide the xHB April beta to users asap! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 39
Joined: Tue Jan 24, 2006 06:16 PM
8.04 and oWnd:end( )
Posted: Sun Apr 20, 2008 07:46 AM
Antonio Linares wrote:Patrick,
Thanks for your feedback,
Please provide the xHB April beta to users asap! :-)

Yes! :-)

I's just a matter of days.

Patrick

Continue the discussion