PlanetSquires Forums

Support Forums => José Roca Software => Topic started by: Paul Squires on December 18, 2017, 09:30:55 AM

Title: CGdiPlus.inc
Post by: Paul Squires on December 18, 2017, 09:30:55 AM
Hi Jose,

I will be using your GDI+ class for a portion of the WinFBE so I was testing a rectangle example.
You probably already have this fixed in your latest code but just in case.....

Using FB 1.06 we get that "suffixes not allowed" error when CGdiPlus is used. Specifically, it is the use of STR$ on line 101 (CGpBase.RefCount).

      IF m_Status <> 0 THEN MessageBoxW(0, "GDI+ initialization failed - Error: " & STR$(m_Status), "Error", MB_OK OR MB_ICONERROR OR MB_APPLMODAL)

Title: Re: CGdiPlus.inc
Post by: José Roca on December 18, 2017, 10:21:52 AM
Yes, all the suffixes were removed time go. Thanks anyway.
Title: Re: CGdiPlus.inc
Post by: Paul Squires on December 18, 2017, 10:35:57 AM
Thanks Jose, I must be working with an older copy of the code.... I will update my files tonight to be sure that I have the latest. (Thought I was using the latest but looks like it was from November).
Title: Re: CGdiPlus.inc
Post by: José Roca on December 18, 2017, 11:17:16 AM
The latest code is always in GitHub:
https://github.com/JoseRoca/WinFBX

As soon as I change anything (sometimes they are just typos in the comments) I upload it to my repository.