Dear Diego, Thank you for your reply. I tried out your method, and the compiler does compile and pop up the error window. However, after I double-click on the error message, a message pops up with: Unmatched '( or {' I think it has something to do with the Regular Expression (RE). I copied exactly the way you have: ^.*\([a-zA-Z]:[^]+\)\([0-9]+\]): and somehow it still doesn't work properly. Any idea? Regards, Hai -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Diego Sierra Sent: Tuesday, August 13, 2002 11:06 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Integrate Textpad and MPLAB Hi! > I finally have mpasmwin.exe compiled in Textpad. However, after it > compile, the error file does not pop up. I open the error file manually > and double-click on the error, the cursor doesn't jump to the error > line. What's wrong? Nothing. That is because mpasmwin does not write the errors to stdout but to a file. Textpad capture the stdout output, but not the file, the double-click only works in the captured output from stdout. I have just made this work-around: Create this batch file and save it in c:\mpasm\mpasm.bat, (use the directory you want): @echo off c:\mpasm\asm21500\mpasmwin %1 %2 %3 %4 %5 %6 %7 %8 %9 type c:\temp\mpasm.err Take care to change the path where you have mpasmwin installed and where you want the error file, mpasm.err, to be written. Now, instruct textpad not to run mpasmwin but this mpasm.bat file. You have to pass the parameter /e pointing to the error file you are going to "type" in the mpasm.bat file (c:\temp\mpasm.err) in this case. The "problem" here is that you don4t have a .err file for each file you compile. Attached you have a picture of the texpad config window (yes,I know this is an english list, sorry for the spanish words ;-) Cheers, Diego. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body