Jump to content


Photo

error after upgrading to 4.2


  • Please log in to reply
27 replies to this topic

#21 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 19 October 2007 - 08:11 PM

according to madexcept log i put here, this causes that lock somehow
currently i dont have any more info i can think of
i put here the exact place where it happens
the exact line where it fails
it doesnt happen only on my computer so its not a problem here)

what more ?

#22 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 19 October 2007 - 08:55 PM

Hello Emailaya,

This don't help. Problem may be anywhere.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#23 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 20 October 2007 - 01:08 AM

what do u know
it seems that
HintWindowClass := TTntHintWindow;
made the problem
im still doing some tests but it seems to be the problem
fact is that u told me about it in 1 of the first replies here
so how can i get unicode hints if i remove this line?

btw removing this line completely causes an invalid typecast
each time a hint is about to be shown bcoz it tries to typecast into TTntHintWindow

#24 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 20 October 2007 - 01:54 AM

Hello Emailaya,

I didn't know that you didn't try this. Please tell me next time, and we will save a lot of time. You will need now to disable line in NxSuite.inc .

I will now inspect why this happen, I think that TntHintWindow made some problems, but not sure. At least I will made my own HintWindow.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#25 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 20 October 2007 - 02:12 AM

i put a breakpoint after breakpoint until i discover what causes this
and the reason it didnt fail each time was bcoz not each time the hint was activated
actually it was activated only when i hover a cutoff data on the grid, if i didnt, the app exited successfully

so for now, there is no way of showing unicode hints without getting into problems?

#26 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 20 October 2007 - 08:49 AM

Hello,

I am not sure yet. I will test it.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#27 drapsinski

drapsinski
  • Members
  • 1 posts

Posted 11 March 2008 - 09:42 PM

I actually have been trying to get this to work for a while, and finally got it working today. If you use the TTntHintWindow for your HintWindow, you can get it to stop causing access violations by changing where FHintWindow.ReleaseHandle is used to FHintWindow.Free; FHintWindow.Nil;. You will also need to add RecreateHintWnd before you use FHintWindow anywhere.

#28 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 11 March 2008 - 09:46 PM

Hello Drapinski,

I will try to test it. If you have any more details they are welcome.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users