Hi, folks!
MDLE32 is a library written in TASM that calculates the opcode size at the address given in the function argument. The whole library worked fine when I was using Visual Studio 2003, but now I switched to Visual Studio 2005 which for some reason can't convert OMF to COFF format anymore. I decided to port the library, as it's small, to MASM which supports COFF format, but I'm having few problems with it.
You can find my MASM converted code at: http://pastebin.com/502339
Here is the TASM code of the library: http://pastebin.com/502403
Here is where you can download the original library: [link deleted]
I want to include the .obj as static to my VS project, but I don't have much experience with MASM. My question to you is how can I export the function in this compiler. In TASM it was done something like this: public C mdle32.
Regards,
Black Dot
Perhaps it would be easier to create a library using an older version of LIB.EXE (or LINK.EXE) and then linking the library into your VS project. In the end this will work the same as including an .OBJ file, however I've never used VS for anything like this before.
Good luck :U
Zooba
blackd0t,
did you tried convert tfrom omf to coff using LINK -EDIT MDLE32.OBJ ?
i did this with a compression library (coded with tasm too), and worked fine, even under vs2005
jmgk
The diffrences in syntax in between TASM and MASM are not very big.
It is pretty easy / simple to convert source code for one compiler for the other.
Once you have it compilable with MASM32 it will be easy to include the LIB/OBJ in any Visual Studio project/application
Quote from: blackd0t on January 12, 2006, 02:44:39 PM
Here is where you can download the original library: [link deleted]
vx.netlux.org is a website full of virri code.
The .obj file in that zip comes up in a virus scan as containing the zombie virus, in a scan using AVG free edition.
Rags
rags,
are you afraid of vx.netlux.org? :P
who you trust more? your eyes and your assembler, or AVG antivirus? if i have the source code, i dont be afraid of anything, even if i download from a virus site
jmgk
Folks,
I have closed this topic because it contained a link to a virus related site which is not allowed under the rules of the forum.
Porting issues from TASM to MASM are another issue and I would invite anyone who is interested to post a new topic in this area but ANY viral code reference will be removed from the forum.