SGL - win32 made simple!

Started by henrin, September 05, 2015, 12:12:34 AM

Previous topic - Next topic

henrik

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


d3dx

Сool thing! :)

Thank you very much, Henri!

henrik

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.

cnoob

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. :'(

opaque

Quote from: henrik 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.

Do you still develop this software?

opaque

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.

henrik

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

1e9t8m29

Hi. Is this library still in development? I go to this forum from the FreeBASIC binding of this library here:

https://github.com/ruanjiaxing/SGL-FreeBASIC

The developer's account now is a guest so it seems he's not there for a long time.