News:

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

lnk1136 error for C++ and masm

Started by zack1900, August 01, 2010, 11:55:55 PM

Previous topic - Next topic

zack1900

Well now for the reason I've actually joined the site. I have a massave problem with masm. I downloaded a key logger from http://win32assembly.on%20line.fr/source.html. I was hoping to look at, learn about key press reading, file I/O, and working with the windows API, all while doing something interesting. When I finished my download I extracted everything except the source from the zip, including a dll. My anti virus complained about the dll, no supprize here after all it's a keylogger's dll. I let AVG anti virus deal with it since I planed on building it from the source after I decided it was safe. I couldn't for the life of me convince RadASM to make the dll. Deciding it was probably safe and only wanting to deal with one unknown at a time as I tried to get the key logger working before I attempted to copy I extracted the dll and told my AV that it was a safe file. I continued to full around trying to get it to compile into an exe, but I couldn't. I'd been getting errors the whole way and I was getting annoyed. After trying to build a program I had successfully made the day before I realized I had a problem. I was getting the same error: "fatal error: LNK1136 invalid or corrupt file". I was horrified. I ran over to Microsoft Visual C++ 2010 Express and tried to compile a program that I knew to be good. The terrible lnk1136 error reared it's ugly head. Since then I've been to two diffrent sites requesting help and while they tried to help I couldn't get anything to fix my problem. A list of what I've tried and the results is below.

1)Deleted Masm directory and attempted to re install. Can not build libraries do to lnk1136 errors during the library building process

2)Uninstalled AVG. No change.

3)Dissabled UAC while anti virals is uninstalled. No change.

4)Tried to install to a portable drive. Same result as #1

5)Tried renaming a copy of polink.exe to link.exe in hopes that it could build the libraries. It simply did not build them, but did not kick out an error like link.exe, but I believe I saw it complain about the /lib option somewhere (I forget what window and why this showed).

6)Redownloaded masm from the site I believe I got it from originally. No Change

7) came crying here since google has failed me.

I will try to keep this post up to date (please let there be an edit feature)

MichaelW

Learning "about key press reading, file I/O, and working with the windows API" is no problem, but you've come to the wrong place for help with a keylogger. Find some interesting way to learn these things that doesn't conflict with the forum rules. Thread locked.
eschew obfuscation