News:

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

Convert a com asm to a win32 asm

Started by hfheatherfox07, July 17, 2011, 07:07:01 PM

Previous topic - Next topic

hutch--

Now you know why I said "rewrite it". produce a decent description of what the app is supposed to do and unless you have very good reason to make it a Win32 Console app, do it as a normal GUI application, the benefits are massive and the costs are low. Trying to do anything clewver in a console mode app is a pain in the arse, CMD.EXE has nothing like the power, speed or control of a full GUI app.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

hfheatherfox07

Yes you are right win32 is definitely the way to go ..... I think I will brake down the app into sections than work on every section on it's on ....

the autotyper -I am going to look at Vortex's example
the numbers with rows and columns (no idea how to begin that)
and the Matrix it self.....

hfheatherfox07

#17
I found another MATRIX example that is already 32bit but it is in TASM ... can any body write a "buildit.bat" for it taking into consideration that tlink.exe tlink32.exe are in the same folder as the asm , so are any of the includes and dll...

Sorry as it was pointed out .... this asm created some funky links and not the actual matrix in tasm so I removed the attachment

Sorry about that

Gunner

the author puts the cl for TASM in the source:
;   matrix.asm - source code for matrix.htm
;   build:
;   tasm matrix.asm /m2
;   tlink matrix.obj, matrix.htm /t /3


You get a lot of your stuff from questionable sites!  that is from an IE exploit?  tsktsk
~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com

hfheatherfox07

Quote from: Gunner on July 29, 2011, 09:43:07 PM
the author puts the cl for TASM in the source:
;   matrix.asm - source code for matrix.htm
;   build:
;   tasm matrix.asm /m2
;   tlink matrix.obj, matrix.htm /t /3


You get a lot of your stuff from questionable sites!  that is from an IE exploit?  tsktsk

Hi Gunner, I saw that and I tried that before I posted my question , that did not work!  :(

As for were I get my stuff from .... All I did Was Google  "Matrix", than "Matrix.asm", than "Matrix MASM" .... and so on until I found a few examples....

I have no idea what  IE exploit is  ::)


anunitu

As Hutch has said, the easiest way is to write down your observations of the programs functions in the form of an algorithm, and then work through writing a program to create those effects.

hfheatherfox07

Quote from: anunitu on July 30, 2011, 12:49:35 AM
As Hutch has said, the easiest way is to write down your observations of the programs functions in the form of an algorithm, and then work through writing a program to create those effects.

I agree... and I am still working on that;

I broke it down into sections , the typing ( which I have), the cursor( almost there) , the numbers(no idea how to do yet), and the matrix(no idea how to do yet)....

I just found this new matrix example in TASM which is 32bit , And all I wanted is to assemble it , to see it work and borrow from that...

The instructions say to build it like this:

;   build:
;   tasm matrix.asm /m2
;   tlink matrix.obj, matrix.htm /t /3


But it does not work , and I have no idea how to use tasm, I was hoping someone with more tasm knowledge can show me a proper build it.bat

Gunner

What doesn't work?  What error are you getting when you assemble with tasm and link?
~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com

hfheatherfox07

Quote from: Gunner on July 30, 2011, 12:57:18 AM
What doesn't work?  What error are you getting when you assemble with tasm and link?

I am getting a 0 bytes exe but no errors....basically it is not a valid program when you double click on it to run it

I tried doing it several other ways , including putting TASM in my c drive and using RadASM  but that gives me an error in the main code but no line number or any other info like MASM?

Like I said I have 0 knowledge in TASM ... I put "tlink" ,"tlink32" ,"imports.lib" and dll in a folder and ran the bat like the asm said to do , but all I got was a 0 byte app

Gunner

I had no problems:
e:\tasm\bin\tasm.exe matrix.asm /m2
e:\tasm\bin\tlink.exe matrix.obj, matrix.htm /t /3

it creates the file matrix.htm.  which is some code to expoit IE in some way.  Do yourself a favor... write your program from scratch and don't download this crap please
~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com

hfheatherfox07

Quote from: Gunner on July 30, 2011, 01:22:48 AM
I had no problems:
e:\tasm\bin\tasm.exe matrix.asm /m2
e:\tasm\bin\tlink.exe matrix.obj, matrix.htm /t /3

it creates the file matrix.htm.  which is some code to expoit IE in some way.  Do yourself a favor... write your program from scratch and don't download this crap please

LOL

I am laughing so hard now .... I thought this created an actual app.... I changed "matrix.htm" to "matrix.exe" and tried "matrix.res" I thought it was a typo
I had no idea all this does is create an htm ....

I am very sorry about that... Should I delete that attachment?

hfheatherfox07

I deleted the attachments I think that is better

Gunner

~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com