8.04 and oWnd:end( )

Postby Antonio Linares » Fri Apr 18, 2008 10:02 pm

Robert,

Are you using xHB commercial ?
regards, saludos

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

Postby Robert Frank » 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
User avatar
Robert Frank
 
Posts: 95
Joined: Fri Nov 23, 2007 4:43 am
Location: Gdynia-Poland

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

Libs

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

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

Sample

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

Postby Antonio Linares » Sat Apr 19, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Sat Apr 19, 2008 12:32 pm

Manuel,

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

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

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

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

Re: Sample

Postby patrickmast » Sat Apr 19, 2008 2: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:
Code: Select all  Expand view  RUN
function __ClsActive() ; return nil

Patrick
User avatar
patrickmast
 
Posts: 39
Joined: Tue Jan 24, 2006 6:16 pm

Postby mmercado » Sat Apr 19, 2008 4:11 pm

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

Postby Antonio Linares » Sat Apr 19, 2008 4:29 pm

Patrick,

Thanks for your feedback,

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

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

Postby patrickmast » Sun Apr 20, 2008 7:46 am

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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests