Version 5.0 is out now. You must download the SDK, live-update does not work.
You license keys will still work with no restrictions.
Thanks for the update. It installed fine. I hate to mention this but when I tried the DDGui example the dialogs exhibited a strange behaviour. When dragging the dialog in X the title bar gets bigger in X and likewise in Y. This happened on both WinXP and Win2K in VMWare under Ubuntu..
Really like the fact that you have now included MacOS.
Thanks again
Matthew
Sorry, update is online.
Thank you, Gernot! You da man!! :D
Hi , I tried the internet update. The download went OK but when installing got to 22% and I got a Visual C++ Runtime Library Error caused by Update_E.exe.Error just says abnormal program termination.
Thanks for your prompt attention always you do provide marvelous support
Matthew
Not had a chance to download it yet but congrats Gernot on another fine update! :)
oh no!? It worked fine here. Can you test again?
I also uploaded the setup again. Maybe that's better?
Hi Gernot,
fast response thanks. Update worked (to 5.016) - that was the good news however the ddgui bug is still there. The grey area in the title bar grows in size as you drag the dialog in increasing x and in increasing y.
I did download the full SDK again and reinstalled it, then updated it and still the bug remained.
Thanks
Matthew
Hmm. See line 397. It should read:
// Dialog backgrnd
// DDgui_backgnd(c1, c2, x,y,width, height)
DRAWRECT x,y,width, height, c2
DRAWRECT x+2,y+2,width-4, height-4, c1
ytop=y
If it doesn't, tell me. Very strange.
Also compare the file in C:\Program Files\GLBasic\Samples\Common. Is that one different?
Hi,
The lines are correct in both places so I don't know what going on. It is only the light grey background to the title bar that is changing. In its initial position it is correct but as I drag in x it extends that way. If i drag the dialog in Y it gets bigger behind the rest of the dialog. I don't recall this happening before. It is only a small bug and would only affect moveable dialogs. I will see if I can spot what's going on. Thanks
Matthew
Change the 'c1' and c2 to RGB(255,0,0) or something. Very strange, I had thad bug, but the line above should fix it.
Hi again,
Probably not explaining the error correctly. I think that it is in the
//caption
section where there are two DrawRect commands. If I comment out the first of these the error remains so for some reason the command is not picking up the correct width / height. If I comment out the second and leave the first the caption bar is invisible (black?). I note that in the earlier version (see below) the first rectangle is white.
I reinstalled version 4.279 and ddgui works fine. In the ddgui file with that version the line number is 407-414 and there are two FillRect commands.
Could this be somehow related to the DrawSprite errors that others have reported.
Hope that this may help you track down the problem - Not trying to be a pest .
Thanks again
Matthew
Update is online. The DDgui sample program work on my PC...
Yep. it does on mine now too, however when I first installed the update it would not. I had to manually copy the files from c:\Program Files\GLBasic\Samples to My documents folder where my projects are stored. (normally this is done automatically I think). Then it worked. Anyway thanks greatly for all your hard work
Matthew
Well it's been awhile. I just downloaded the latest SDK, installed, then I get an error message when trying to run GLB:
This application has failed to start because the application configuration is incorrect.
I tried playing with things to get it to work but no luck so far. Downloading and reinstalling the SDK didn't work either. Has anyone else run into this and know a fix?
Edit: I just updated my version 4 to the latest version 4 update and it's now doing the same thing LOL.
Ok I resolved this issue and will post what it was in case someone runs into this also. Apparently there are several versions of the C++ redist. My specific issue was that I had an older version and the original vscredist.msi file was long lost so when the C++ redist with the GLB SDK tried to install, it couldn't uninstall the old version without that file and refused to install. I figured the C++ 05 redist was the same as any other 05 version. To be able to fix this, fire up regedit or what ever you use and go here:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall
Then look through the keys in there for one that contains data on the C++ redist and delete the key. Reinstall the GLB SDK and your all good to go now. While this won't cause any problems by deleting it, it's always a good idea to make a backup of your registry in the off chance you delete or modify the wrong thing. This can be done via File>Export in the menu of regedit. Why Microsoft decided to store the install file vscredist.msi in the documents and settings\user\local settings\temp folder is beyond me. This folder along with windows\temp are cleaned up by common cleaning programs.