Any reference website for Object Oriented Programming in MASM32?

Started by ictsecurity0, September 19, 2010, 09:01:05 AM

Previous topic - Next topic

ictsecurity0


Vortex

ObjAsm32 :

Quote
ObjAsm32 is a high performance OOP development suite for MASM.
It makes it possible to perform complex tasks and large projects in a very easy way. It is provided with a rich, optimized and tested object repository that can be embedded directly into your applications. All sources are supplied.

http://objasm32.tripod.com

diablo2oo2

I wonder if there is a way to use data collections with dynamic arrays like in java.
is there a library for MASM which is similar to the java collection classes (like HashMap)?
i am coding one, but i wonder if there is already a way to simulate the HashMap class from java in MASM.

jj2007

Something like this, or more complex?

include \masm32\MasmBasic\MasmBasic.inc   ; download
   Init
   Dim MyArray(1000) As INPUT_RECORD
   mov MyArray(123, EventType), KEY_EVENT
   mov MyArray(123, KeyEvent.wVirtualKeyCode), VK_ESCAPE
   Inkey "ok"
   Exit
end start

dedndave

the masm32 package has a set of macros and functions for use with dynamic string arrays
look in the masm32\help\hlhelp.chm file, Macro Catagories, Dynamic String Arrays

diablo2oo2

Quote from: dedndave on March 13, 2012, 02:34:49 PM
the masm32 package has a set of macros and functions for use with dynamic string arrays
look in the masm32\help\hlhelp.chm file, Macro Catagories, Dynamic String Arrays
Good thing, that the masm package has some macros for dynamic arrays.
anyway, i am coding my own hashtable library now.
my goals:
-it will organize memory itself (will use the windows Heap functions)
-like in java you can access items via a key which can be a String or a number
-support for nested hashtables (so you can create very easy complex data trees)
-save/load the hashtable to disk or memory (with nested hashtables)

when i finish this work, i will publish the sourcecode on my homepage.