Version 5.0

Previous topic - Next topic

Kitty Hello

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.

matty47

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

Kitty Hello

Sorry, update is online.

Brice Manuel

Thank you, Gernot!  You da man!! :D

matty47

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

bigsofty

Not had a chance to download it yet but congrats Gernot on another fine update! :)
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Kitty Hello

oh no!? It worked fine here. Can you test again?
I also uploaded the setup again. Maybe that's better?

matty47

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

Kitty Hello

Hmm. See line 397. It should read:
Code (glbasic) Select
// 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?

matty47

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

Kitty Hello

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.

matty47

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

Kitty Hello

Update is online. The DDgui sample program work on my PC...

matty47

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

Synthetic

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.
"Impossible is a word people use to make themselves feel better when they quit."

My AMXMODX plugins for Day of Defeat 1.3 can be found here.