Pumpkin User Forums
  Configuration
  Win2000 setting.

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Win2000 setting.
aek
Moderator
posted January 26, 2001 14:41     Click Here to See the Profile for aek     Edit/Delete Message   Reply w/Quote
Here is how to get the error and warning output of PIC C and PICC-18 to work within MPLAB, in that you can double-click on the error/warning message and have MPLAB's editor automatically take you to the offending line of source code.

In Windows 2000 Pro, do either:

My Computer > Properties > Advanced > Environment Variables ...

or

Start > Settings > Control Panel > System > Advanced > Environment Variables ...

then in "User Variables for Userid" do:

New > Variable, enter HTC_ERR_FORMAT , OK
Variable Value, enter Error[] %f %l : %s , OK

and

New > Variable, enter HTC_WARN_FORMAT , OK
Variable Value, enter Warning[] %f %l : %s , OK

Then log off and log back on for these changes to take effect. You can see that they are in force by running the MS-DOS Prompt (C:\WINNT\system32\command.com) and entering the SET command. Type EXIT to leave the MS-DOS command prompt.

Note that you must log off and log back on for these changes to take effect. If you change the environment variables without logging off and back on, MPLAB may behave strangely, like do nothing when you click on the error/warning message.

[This message has been edited by aek (edited January 26, 2001).]

IP: 63.203.232.106

ChrisV
Junior Member
posted January 26, 2001 14:14     Click Here to See the Profile for ChrisV     Edit/Delete Message   Reply w/Quote
Hello,

In regards to the response by Matt on the Hi Tech forum, where axactly do you put the error configuration settings in "enviroment variables".

Thanks,
Chris

IP: 198.175.253.66

All times are ET

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Pumpkin Home Page

©2000-2008 Pumpkin, Inc. All Rights Reserved. Pumpkin and the Pumpkin logo, Salvo and the Salvo logo, The RTOS that runs in tiny places, CubeSat Kit and the CubeSat Kit logo are all trademarks of Pumpkin, Inc. All other trademarks are the properties of their respective owners.


Ultimate Bulletin Board 5.46a