• Welcome to PlanetSquires Forums.
 

CGdiPlus.inc

Started by Paul Squires, December 18, 2017, 09:00:55 AM

Previous topic - Next topic

Paul Squires

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)

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

José Roca

Yes, all the suffixes were removed time go. Thanks anyway.

Paul Squires

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).
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

José Roca

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.