It's been reported twice before. It's a one-off glitch when migrating from v4.41 to v4.50. Nobody is able to reproduce it, so it can't get fixed at this stage. But now that it's happened, it won't happen to you again.
marc_256 wrote:Can I work with pb4.50 with no problem ?
Of course. What sort of question is that? Do you see a million bug reports here saying that v4.50 is unstable and destroying sources? It's like I said: a one-off glitch when reading the old prefs file and saving the new. Now that your new prefs file is saved, the glitch can't happen again because v4.50 is reading a v4.50 prefs file from now on.
just in case you'd like to work with different PBversions it would be good to use them with the /portable switch (see help / installation), so they all keep their preferences in their own application folder.
Otherwise you might experience the one or other mischief - but nothing really serious.
I still get this error and it's pretty annoying because the error message (as I stated someday ago in the bug forum) blocks the whole IDE so I'm not able to save my project anymore and my current progress is lost.
Anyway I'm able to reproduce it to that level that I can say it sometimes occures when closing the help file. So before I close it, I always have to save my project first. :roll:
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
What do you mean? If I use those functions in the IDE or in my program?
Well, it might be possible that I'm using StickyWindow() or SetForegroundWindow_() but I'm not sure about that and if it could be the issue.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
The IDE never crashed on my systems.
But i read the crash reports and save very often and do backups, so if it happens, it should not be a big show stopper for me.
c4s wrote:it sometimes occures when closing the help file.
I don't think this is a PB problem.
If you open the help, all that happens is that the MS HTML Help control is started (using the OpenHelp() PB command). Everything else you do with that help viewer, including closing it is done by the control itself. There is no action by the IDE when you close the help. So the crash must come from that activex control.
Maybe installing a clean version of the html help control would help. Dunno if that is available as a download somewhere.
I wrote a procedure called ForceFore which brings any given window to the front.
It works for every hWnd that I give it... EXCEPT PureBasic's! If I use it with that,
it crashes the IDE. Totally reproducible too. So, perhaps when you close the Help,
the focus is given back to the IDE and that might be crashing it, for some related
reason? I don't know. I'm just surmising here.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.