Main Menu

Recent posts

#31
General Board / Re: Afx Strings. Afx, Afx2, Af...
Last post by Paul Squires - November 01, 2025, 12:52:19 PM
I built the Tiko Editor using Afx but there is way too much code in that codebase to now convert it over to AfxNova.
#32
General Board / Re: Afx Strings. Afx, Afx2, Af...
Last post by Paul Squires - November 01, 2025, 12:50:59 PM
Afx, Afx2, and AfxNova is basically Jose's progression of the library over the past couple of years. You should use AfxNova as it is the latest and greatest. In AfxNova, the dynamic unicode string is called DWSTRING rather than CWSTR which was in the prior library versions.
#33
José Roca Software / Re: GDI+ - SetBrushColor - Get...
Last post by hajubu - November 01, 2025, 08:27:36 AM
hi, just let you know -
now it works fine with the upload (afxNova ,internal-zip 2025-10-31 22:51 (GMT-7) )

( Gdi+  Set/Get BruschColor , and also no more compilererror and/or crash )

Thanks
#34
General Board / Afx Strings. Afx, Afx2, AfxNov...
Last post by HIGH-Zen - November 01, 2025, 05:21:37 AM
Hi!

I am new to José Roca's Windows Frameworks for FreeBasic. But has experience making little tools with FreeBasic.

I was reading kind words about CWSTR.
https://www.planetsquires.com/protect/forum/index.php?msg=30710
That is Afx. In AfxNova I couldn't find CWSTR, only DWSTRING. Is CWSTR deprecated?

Afx2 - I couldn't find it in GitHub (https://github.com/JoseRoca), only in Tiko Editor. What I did understand is AfxNova is a way to go. I am right?

Why there is Afx, Afx2, AfxNova?

Can someone explain?
#35
José Roca Software / Re: GDI+ - SetBrushColor - Get...
Last post by José Roca - October 31, 2025, 06:54:59 PM
Must be out of sync. I will have to reupload all the include files.
#36
José Roca Software / Re: GDI+ - SetBrushColor - Get...
Last post by hajubu - October 31, 2025, 06:31:23 PM
hi, - don't worry - no problem -

and thanks s lot again for your hard work on this subject.

p.s. I try form time to time to follow up .
I kown that all is a beta and in the flow  an such glitches can happen.

but I'm sorry that the new version uploaded causes other errors now :

... inc\AfxNova\CGpGraphics.inc(1089) error 158: Declaration outside the original namespace or class in 'BYVAL srcrect AS GpRectF PTR, BYVAL srcUnit AS GpUnit) AS GpStatus'
... inc\AfxNova\CGpGraphics.inc(1090) error 214: Member isn't static, before 'GdipDrawImagePointRect' in 'RETURN SetStatus(GdipDrawImagePointRect(m_pGraphics, pImage->m_pImage, x, y, srcrect->x, srcrect->y, srcrect->Width, srcrect->Height, srcUnit))'
... inc\AfxNova\CGpGraphics.inc(1095) error 158: Declaration outside the original namespace or class in 'BYVAL srcrect AS GpRect PTR, BYVAL srcUnit AS GpUnit) AS GpStatus'
... inc\AfxNova\CGpGraphics.inc(1096) error 214: Member isn't static, before 'GdipDrawImagePointRectI' in 'RETURN SetStatus(GdipDrawImagePointRectI(m_pGraphics, pImage->m_pImage, x, y, srcrect->x, srcrect->y, srcrect->width, srcrect->height, srcUnit))'
#37
José Roca Software / Re: GDI+ - SetBrushColor - Get...
Last post by José Roca - October 31, 2025, 06:01:05 PM
Apparently I forgot to update CGpGraphics.inc in the repository. Download the one that I have just reuploaded.

I'm currently updating the documentation and adding new examples. This leads to changes, like adding new overloaded methods. ScarleWorldTransformForDpi and SetResolutionForDpi are two recent additions that simplify making GDI+ DPI aware.

Sorry for the inconvenience, but the GDI+ classes are a work in progress. I have needed to write my own headers because the ones provided with the FreeBasic compiler are a very big mess.
#38
José Roca Software / GDI+ - SetBrushColor - GetBrus...
Last post by hajubu - October 31, 2025, 05:13:07 PM
Hi  Jose,
just stumpeld over a compile error :: undefined reference to `AFXNOVA::CGPGRAPHICS::SCALETRANSFORMFORDPI(int) with both files

Did I miss something for the just dowloaded  AfxNova-main 2025-10-31 20:11:47 (MEZ)
with the internal time : 2025-10-31 12:01:42 (GMT-7)
 my gdiplus.dll  - 2025-10-28 (win_11_Pro_DE) 10_0_26100_7019 w. 1.933.312 bytes

Thanks for reply in advance

#39
PlanetSquires Software / Re: Tiko Editor v1.3. Release
Last post by Paul Squires - October 11, 2025, 07:54:43 PM
My reasons for wanting the GDB debugger integrated into Tiko is a little selfish on my part. I have been trying to do more work on the FBC compiler source code and tracing my way through it at runtime is very difficult. There are countless files and you jump all over the place. You get lost very quickly. It will also be nice to be able to see the state of variables as I step through the code. I have tried using Sarg's FBDebugger but I find it a little not to my tastes and it only works with GAS64 compiles.

The current test state of the debugger in Tiko is such that I can set breakpoints and then run the code and it will break in the correct spots. I can then step over code and into and out of functions. The editor also displays red circle icons for the breakpoints, and a yellow pointing arrow on the active line as the debugger moves through the code. It's all still a work in progress but so far I am happy with it.

#40
PlanetSquires Software / Re: Tiko Editor v1.3. Release
Last post by Joerg B. - October 10, 2025, 06:11:42 AM
Hello Paul

I regularly check the developer version of the tiko editor on GitHub.
The customized version of the German language file is based on your developer version.

Just as I regularly visit Jose's GitHub page and integrate the latest versions of his AFXNova into my environment. :)

I look forward to hearing from you.

I will then create the new language file in good time before the new version is released.

Thank you for developing the new editor.