Hi Viktor

<<<
I've found it: You need to build it in MT mode (maybe you
can put a screen message on this for ST build). So I did a new
build, and on 64-bit, here's the GPF what happens in every
ActiveX menu item:

---
Application Internal Error - Z:\demowvg.exe
Called from WVG_STATUSBARCREATEPANEL(0)
Called from WVGSTATUSBAR:ADDITEM(0) in .\wvgstatb.prg
Called from WVGSTATUSBAR:CREATE(0) in .\wvgstatb.prg
Called from EXECUTEACTIVEX(2382) in demowvg.prg
Called from (b)EVAL(1430)
---
>>>>

So to be sure that all other components are working or not,
except Statusbar control, attached is modified demowvg.prg.
Please do the above test with it and click only first prompt of
Active-X menu <Pure Xbase++>.

<<<<
Notice that xhb structure support isn't even MT safe,
so I'd avoid it at all cost. I'd suggest to code manually
a simpler structure (you can take Przemek code sent
to the list of use the ones I've sent to you as an
alternative solution), so you can see the issues, solve
them and you can then reuse the method for other
structure quite easily. I don't not how many structures
you need to support on the .prg level, but maybe coding
them one-by-one isn't something impossible. It would
surely result in much better portable and quality code
than xhb hack, which will need to be recoded in the
future again and again.
>>>>

I tried Przemek's code. It works but it is not that elegant
solution. May be he comes up with more sophisticated way
as is employed in xhb. Till then...

BTW I did not see any memory corruption if I use xhb
implementation of structures. I am using it since ages.
To be very sure I retested all my routines using xhb
structures in MT environmrnt and I could not find even
a single hb_out.log entry. But I may be wrong...

<<<<
The callback support also needs to be solved, you
didn't address that part.
>>>>

I told before, it is extremely gray area for me.
I just implemented Andy Wos code. He is better equipped
to refine it. He is not available online these days, may be 
on vacations, otherwise I must have requested him.

Regards
Pritpal Bedi

http://www.nabble.com/file/p22143032/demowvg.zip demowvg.zip 
-- 
View this message in context: 
http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-10378--trunk-harbour-tp22133738p22143032.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to