PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: CGdiPlus.inc  (Read 424 times)

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8366
  • Windows 10
    • PlanetSquires Software
CGdiPlus.inc
« on: December 18, 2017, 09:00: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).
Code: [Select]
      IF m_Status <> 0 THEN MessageBoxW(0, "GDI+ initialization failed - Error: " & STR$(m_Status), "Error", MB_OK OR MB_ICONERROR OR MB_APPLMODAL)
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • Moderator
  • Master FireFly Member
  • *****
  • Posts: 2918
    • Jos
Re: CGdiPlus.inc
« Reply #1 on: December 18, 2017, 09:51:52 AM »

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

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8366
  • Windows 10
    • PlanetSquires Software
Re: CGdiPlus.inc
« Reply #2 on: December 18, 2017, 10:05: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).
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • Moderator
  • Master FireFly Member
  • *****
  • Posts: 2918
    • Jos
Re: CGdiPlus.inc
« Reply #3 on: December 18, 2017, 10:47: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.