NO

Author Topic: SGL - win32 made simple!  (Read 15716 times)

Offline henrik

  • Member
  • *
  • Posts: 7
Re: SGL - win32 made simple!
« Reply #30 on: November 24, 2018, 09:07:40 pm »
Hi cnoob

I do not know why there was a problem with only one function of the standard library (ctype.c: toupper()).
So I reworked sgl_tools.c:SGL_ProfileIntGet(), the only function which uses toupper().
The result:
  • toupper() is no more used and the generated lib is compatible with PellesC versions 8 and 9 (64-bit version).
  • SGL_ProfileIntGet() has been updated for error handling.
The updated development kit (*.h, *.lib and *.chm) and the samples are still there http://perso.numericable.fr/hserindat/sgl/.

Attached files:
  • sgl.chm: the updated documentation
  • the source files: release_sglsrckit.7z
  • the only modified source: sgl_tools.c


Offline d3dx

  • Member
  • *
  • Posts: 4
  • Thank you very much for PellesC! It's a best IDE!
Re: SGL - win32 made simple!
« Reply #31 on: February 22, 2019, 11:02:40 pm »
–°ool thing! :)

Thank you very much, Henri!

Offline henrik

  • Member
  • *
  • Posts: 7
Re: SGL - win32 made simple!
« Reply #32 on: March 20, 2019, 11:48:20 am »
The edit popup appeared to have a bug.

The first parameter of the callback function (virtKey) should indicate what is the user action which triggered the callback function. In some circumstances, it is VK_RETURN instead of VK_ESCAPE. This has been corrected in the 1.3.4 release.

The updated development kit (*.h, *.lib and *.chm) and the samples are still there http://perso.numericable.fr/hserindat/sgl/.
Source code and documentation are attached to this post.

Offline cnoob

  • Member
  • *
  • Posts: 19
Re: SGL - win32 made simple!
« Reply #33 on: May 14, 2019, 06:32:59 am »
Sorry Henri for my many previous post. I have a bit trouble of reconsidering what I really like to do. I deleted them all.

Thank you for this library, it really helps me with creating small apps for fun. But I decided I was not fit to be a programmer so I will quit. Hope you will continue to develop this library to ease newbies to Win32 C programming easier to make Gui. Bye. :'(

Offline opaque

  • Member
  • *
  • Posts: 10
Re: SGL - win32 made simple!
« Reply #34 on: March 28, 2020, 04:04:32 pm »
The edit popup appeared to have a bug.

The first parameter of the callback function (virtKey) should indicate what is the user action which triggered the callback function. In some circumstances, it is VK_RETURN instead of VK_ESCAPE. This has been corrected in the 1.3.4 release.

The updated development kit (*.h, *.lib and *.chm) and the samples are still there http://perso.numericable.fr/hserindat/sgl/.
Source code and documentation are attached to this post.

Do you still develop this software?

Offline opaque

  • Member
  • *
  • Posts: 10
Re: SGL - win32 made simple!
« Reply #35 on: April 03, 2020, 04:26:27 am »
Here is my codeblocks project and so could find my .def file inside Debug/bin folder. I also attached a test application linked with sgl.dll.

Offline henrik

  • Member
  • *
  • Posts: 7
Re: SGL - win32 made simple!
« Reply #36 on: April 10, 2020, 10:46:16 am »
Thanks cnoob and opaque for your help.

A new version is here 1.3.5.

What is new:
  • bug corrected in SGL_Error (!!!)
  • kit distribution have evolved - see below
  • minor update of the documentation

The distribution now consists of:
  • the documentation (chm file)
  • the development kit with a LIB runtime
  • the development kit with a DLL runtime
  • the source files
The samples (sources and exe files[/li][/list]) are too big to be attached to this post. You can find them on the SGL home page http://perso.numericable.fr/hserindat/sgl/index.html