8.04 and oWnd:end( )

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Robert,

Are you using xHB commercial ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Robert Frank
Posts: 95
Joined: Fri Nov 23, 2007 4:43 am
Location: Gdynia-Poland
Contact:

Post by Robert Frank »

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

Post by Antonio Linares »

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
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Libs

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Tim,

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

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Sample

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Post by mmercado »

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

Post by Antonio Linares »

Manuel,

Just a simply DATA assignment ? Thanks for your feedback,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Post by mmercado »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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
User avatar
patrickmast
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm
Contact:

Re: Sample

Post by patrickmast »

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:

Code: Select all

function __ClsActive() ; return nil
Patrick
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Post by mmercado »

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

Post by Antonio Linares »

Patrick,

Thanks for your feedback,

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

Antonio Linares
www.fivetechsoft.com
User avatar
patrickmast
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm
Contact:

Post by patrickmast »

Antonio Linares wrote:Patrick,
Thanks for your feedback,
Please provide the xHB April beta to users asap! :-)
Yes! :wink:

I's just a matter of days.

Patrick
Post Reply