UPDATED NEW UNSHROUDED W32ENGIN UPLOADED
- Posted by "Bernard W. Ryan" <xotron at bluefrognet.net> Oct 26, 2003
- 370 views
I just sent w32engin.ew library to RDS. The library is no longer shrouded. It has been changed extensivly from the original so you should change to this version if you are using tthe older version. Features of the w32engin.ew library Version 5.60 This is a different Win32 library written for the advance user or any beginner who wants to learn how to use the Windows API. The library and utilities support "C" style Windows Programming. The library is fully and easily extendable by the user. Resources from any Windows RES type file can be easily converted automatically to a Euphoria Include file for use in the a Euphoria Windows program. The library allows you to use the following Window's resources : 1. Bitmaps 2. Dialogs 3. Icons 4. Cursors 5. String Tables 6. Accelerators 7. WaveFile 8. MidiFile 9. AviFile 10. RCData -- user data This library is not meant to compete with the win32lib but is written for the user that is familar with "C" or beginners that want to learn and understand Windows API programming. I know that there are many Euphoria user's who want to use a Window's library that can be easily extended without having to be concerned with how the internal library code works. Many users don't have the time to pore through lines of internal code and patch in changes. Finaly these same user's want to be able use Window's .res files directly within a program without loading external files or appending files to the exe. The w32engin.ew library solves all these problems and allows you to write a single stand-alone program protecting your resources from be changed because they are enbedded in your code. The majority of the Window's constants, functions, and procedures are predefined in the library of about 697k + in size. When a Window's program is written it will look just as it would in "C". using the Window's function names which makes it easier to translate from a "C" source code listing. The library comes with a utility called eru.ex that takes a standard compiled 32-bit Window's .res file; reads the file and writes a complete stand-alone Euphoria include file. This allows you to create your resources with a resource editor, a dialog editor or a text editor. Run the Window's .rc file through a 32-bit resource compiler like the free Borland BRCC32 and then use the eru.ex utility to generate a Euphoria include file. The final Euphoria generated include file will contain all that is needed to use the resources; the bmps, icons, cursors, string tables, WaveFile, MidiFile, AviFile, RCData and dialogs. NO EXTERNAL FILES ARE NEEDED just the Euphoria include file. Note ************************************************************ ERU will generate the include code for AVIs; but there will be no demos included with this library ( because of their size ). The problem is that converting an AVI file into a sequence increases the size of an AVI file by four which is not too practical. The Avi files can be played from MEMORY using MCI but for some reason some smaller AVI files would cause crashing of win98. This was a problem that I could not solve because I think it is a MCI driver problem on Win9x. If the user can't run an AVI from MEMORY the user could always run any AVI from a FILE using MCI. The end user can add any discription or function. This will automatically interface them to all the features of the library. ANY structure can be described and accessed. ANY function or procedure including from ANY NON-WIN32 dll can be added and used. BE SURE TO READ ALL THE TEXT FILES IN THE DOCS DIRECTORY ! DON'T FORGET TO VOTE FOR THIS LIBRARY IF YOU FEEL IT IS OF ANY VALUE TO YOU. Thanks, Bernie