News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

The Library

Started by PBrennick, July 15, 2006, 03:30:49 PM

Previous topic - Next topic

Vortex

Hi Paul,

The update looks fine. I think you didn't include CreateBmpFromMem in the DLL. Could you check it?

In my modest opinion, you should put GeneSys.dll in the bin folder. I saw that Pelle puts everytime his C run-time DLL pocrt.dll in the bin folder. I guess this is a good programming practice.

Your splash screen is nice. Maybe, you can put a notification message during the installation of the package to allow the users to remove the dll displaying the splash screen if they wish. This message should instruct the user how to remove or re-install the dll depending on his choice.

PBrennick

Vortex,
I forgot to add it to the EXPORT table in the DEF file, I will fix it now.

Okay, it is in there now and the zip has been updated.  Sorry about that.

Paul
The GeneSys Project is available from:
The Repository or My crappy website

James Ladd

Guys,

This is a great start to what im sure will be a fine library.

Please can you ensure that with each library function the is a set of test routines to test them?
I know this sounds like a lot more work but it serves many purposes. Like:

1. People can look at a test to see how to use the function
2. People can make a small change and run all the tests to ensure that nothing is broken
    by the change.
3. People can be confident that the function is tested and workable before trying to  use
    it.
4. People can submit new routines but only if they supply the test. This helps you as well.
5. It will save you a lot of time in the future, trust me on this.

I'd suggest the test suite is not part of the core library but a stand-alone exe / library that
loads yours dynamically and tests each routine. Personally I'd go for a single or more exe to test
each function, with the simple batch loop to output pass or fail based on the return code.

The test code is also a good place to put timing / performance measurement code which is also
a plus for such a library.

Yes I practice this myself and this is what I have done for my projects. I just haven posted
this version of the projects yet.

Rgs, James.

PBrennick

James,
Some of this has already been done.  I have only had 5 hours sleep since Friday morning as I am scrambling to get the whole project up and running.  I will be posting the entire project tomorrow and then since the majority of the project is static, Vortex and I will have more free time.  He will be working on mixed C and ASM examples and I will be working on demo code and documentation.  Timing stuff may or may not be done, depending on how much time I have day-to-day.

Right now, Erol and I are in firefighting mode, I will be glad when things get to the main thrust of this project, helping others but that isn't going to happen until the project puts in an appearance.

Paul
The GeneSys Project is available from:
The Repository or My crappy website

PBrennick

The library has been updated.  Two functions have been added and three have been renamed.  The two versions have been moved to the repository and is no longer an attachment to this topic.  This makes things a whole lot simpler.

DLL Version
Library Version

This is the current list of functions:
        ClearConsole
        CompareStr
        ConsoleIn
        ConsoleOut
        CopyMem
        CopyString
        CreateBmpFromMem
        GetErrorMessage
        GetScreenHeight
        GetScreenWidth
        LowerCase
        StrLen
        UpperCase
        WriteToMemHeap

How does the list of names look?
Paul
The GeneSys Project is available from:
The Repository or My crappy website

Shantanu Gadgil

Hi,
I like the naming convention!  :U :U :U

Any plans of making _ALL_ the function names adhere to a standard pattern (I can see "copymem" in all small)?

Regards,
Shantanu
To ret is human, to jmp divine!

PBrennick

Sorry, I am currently updating the Repository.  The new version of the library has it correctly.  I am updating the GeneSys project right now/ So, in about five minutes the new library stuff will be there.

Paul
The GeneSys Project is available from:
The Repository or My crappy website