REQUEST ?? FOUND!

REQUEST ?? FOUND!

Postby byte-one » Mon Feb 15, 2016 4:34 pm

I have the problem, that a routine with a xBrowse are called in a timer and the BTNBMP-Class (using in xBrowse) is at this state not present and a error is shown. If i call before a function including a xBrowse, the error is gone!
Now my question: How can i tell the linker to include the btnbmp-class? With REQUEST but what argument?
Last edited by byte-one on Thu Mar 03, 2016 2:20 pm, edited 1 time in total.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: REQUEST ??

Postby Antonio Linares » Mon Feb 15, 2016 6:08 pm

Günther,

REQUEST TBtnBmp
regards, saludos

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

Re: REQUEST ??

Postby byte-one » Mon Feb 15, 2016 9:25 pm

Antonio, thanks and i test and report!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: REQUEST ??

Postby byte-one » Tue Feb 16, 2016 10:10 am

Antonio, not the wished effect. Now i make a btnbmp in the dialog and hide it at ON INIT. This includes the class at this point and the error is gone.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: REQUEST ??

Postby Antonio Linares » Tue Feb 16, 2016 11:02 am

very good
regards, saludos

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

Re: REQUEST ??

Postby nageswaragunupudi » Thu Feb 18, 2016 5:28 pm

byte-one wrote:Antonio, not the wished effect. Now i make a btnbmp in the dialog and hide it at ON INIT. This includes the class at this point and the error is gone.

In any of your modules please include this statement.
EXTERNAL TBTNBMP
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: REQUEST ??

Postby byte-one » Fri Feb 19, 2016 10:29 am

Mr. Rao, thanks but no effect!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: REQUEST ??

Postby byte-one » Thu Mar 03, 2016 2:20 pm

Maybe for all interesting!?
By hazard i found the reason from this errors:
In a routine to fill foldertables with a brush i had a call of deleteobject() to the previous brush. At this moment something wents wrong.
Now i use only ::setbrush() (this ends also the previous brush) and all is ok!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 69 guests