Seems it isn't the fault of your code.
I stepped trough the program and it crashes every time at
Code: Select all
Scr = OpenWindowedScreen(WindowID(Win), 0, 0, 1024, 768,#False, 0, 0, #PB_Screen_SmartSynchronization)
Code: Select all
Scr = OpenWindowedScreen(WindowID(Win), 0, 0, 1024, 768,#False, 0, 0, #PB_Screen_SmartSynchronization)
may be directx9 ?netmaestro wrote:I get an IMA at RenderWorld() for this code and every 3D example code from the examples folder. PB Win x86 on Win 8.1 64bit. Am I missing a dll or something?
Or better yet a crossplatform GetProcAddress() so it would be possible to use it not only with the gadget but with the opengl subsystem too.grabiller wrote: A suggestion though: Could we have a GetGadgetAttribute with(or something) so we can retrieve all the OpenGL extensions and use the full potential of the latest OpenGL versions ?Code: Select all
#PB_OpenGL_ProcAddress
Indeed, good point.luis wrote:Or better yet a crossplatform GetProcessAddress() so it would be possible to use it not only with the gadget but with the opengl subsystem too.grabiller wrote: A suggestion though: Could we have a GetGadgetAttribute with(or something) so we can retrieve all the OpenGL extensions and use the full potential of the latest OpenGL versions ?Code: Select all
#PB_OpenGL_ProcAddress
Lol! But think of the knowledge and experience you gainedkenmo wrote:Update looks great! I guess the JSON module I wrote last month is no longer needed
If you meant that notoriously odd Win PanelGadget behaviour that sends the whole form flickering like mad on every resize event including splitter shift — then it didn't have helped, once again. Tried binding together with smartwindowrefresh on WinXP, with exactly the same result. Guys, if you're so smart and assembly-wise and all (and you certainly are), why don't you devise a winpanel control of your own at last? Tons of posts through the past decade on this matter on this forum, several API workarounds, and still no clear solution. Something tells me that MS would never care to do this the right way.freak wrote:The #PB_Event_SizeWindow and #PB_Event_MoveWindow events are no longer reported in realtime in the main event loop. This is to reduce problems with flickering on resize.
Stargate already has:staringfrog wrote:...why don't you devise a winpanel control of your own at last?
Relax Alexi, Relax. Take a seat, take a tea and wait a while. You want so much, but not all of this is useful for everyone... I think also it´s not easy to implement.Alexi wrote:Thank's fantasie team.![]()
Unfortunately, i can't really see (or maybe i missed them) new features on the 3D side. (by referring to this)
Right, I've already noticed how IDE utilized this really cute Stargate lib, of course. However, what I need is a basic panel gadget (for a fixed set of resizable containers fitted with bookmarks), and not some 'visual stubs of bookmarks' with all that advanced functionality and flexibility. Look, I'm just a common user, not even an advanced 'recreational programmer', as Petzold put it. I've bought PB about a year ago, to re-write some of my code from the time when VB5 was young and powerful and unwieldy as hell. Thus, all I need for my forms is a standard set of controls, no more but no less. I understand from both your posts and my tests that this is indeed a perennial Windows graphic bug, and I'm not the first one here to suggest re-writing of PanelGadget for Windows. Here in this announcement thread I'm only to report the unchanged odd behaviour of PanelGadget (that sends the whole form wobbling on resize) in 5.3 b2, despite the improved window redrawning performance and algorithms.Tenaja wrote:Stargate already has:staringfrog wrote:...why don't you devise a winpanel control of your own at last?
http://www.purebasic.fr/english/viewtop ... bbargadget
That is the gadget used in the IDE itself. (...)
Using tabbargadget and that technique, the panelgadget becomes moot.