[Pharo-dev] XMLParser does not close input stream

2014-02-17 Thread paolo.bernardi...@gmail.com
hi, after parsing the input stream is left open, so Dia can't save the next version of my toy-designs. added streamReader stream close. at the end of XMLParserTokenizernextEndDocument this made Dia (and me) happy. cheers

[Pharo-dev] unloading a module used by NativeBoost

2014-02-17 Thread paolo.bernardi...@gmail.com
hi all, I need to find out a way for unloading a module previously loaded by NativeBoost. Smalltalk vm unload:'mylib.dll' works perfectly, but NB does not like it, How to ask NB to unload a module, or: how to tell NB that one module has been unloaded? thanks

[Pharo-dev] mouse-wheel (on Windows)

2014-01-29 Thread paolo.bernardi...@gmail.com
hi all, there are some differences between how vm handles Windows messages of type mouse-wheel and all the other ones? It seems to me that primitiveEventProcessingControl suspends vm's message handling, but does not suspend mouse-wheel ones. thanks

Re: [Pharo-dev] how to debug NB?

2014-01-16 Thread paolo.bernardi...@gmail.com
Il 15/01/2014 19.43, Igor Stasenko ha scritto: On 15 January 2014 17:58, paolo.bernardi...@gmail.com mailto:paolo.bernardi...@gmail.com paolo.bernardi...@gmail.com mailto:paolo.bernardi...@gmail.com wrote: Il 13/01/2014 2.25, Igor Stasenko ha scritto: On 13 January 2014 00

Re: [Pharo-dev] how to debug NB?

2014-01-15 Thread paolo.bernardi...@gmail.com
Il 13/01/2014 2.25, Igor Stasenko ha scritto: On 13 January 2014 00:08, paolo.bernardi...@gmail.com mailto:paolo.bernardi...@gmail.com paolo.bernardi...@gmail.com mailto:paolo.bernardi...@gmail.com wrote: Il 12/01/2014 19.41, Igor Stasenko ha scritto: All i can say

[Pharo-dev] how to debug NB?

2014-01-12 Thread paolo.bernardi...@gmail.com
Hi all, I'm trying to write a binding of wxWidgets 3.0 into Pharo 3.0. I wrote some glue-code to implement a C interface to wxWidgets (that is C++). I can open windows on the screen of my Winxp-box, I place buttons into them, I change position and size of the windows and I can attach

Re: [Pharo-dev] how to debug NB?

2014-01-12 Thread paolo.bernardi...@gmail.com
Il 12/01/2014 19.41, Igor Stasenko ha scritto: All i can say that callbacks for handling window events need special handling: - you basically should prevent VM to do event handling during handling of event by callback. Do I achieve that when starting in headless mode? (no ui, no messages...)