CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Can't see MPLAB project

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Electronguru



Joined: 26 May 2013
Posts: 11

View user's profile Send private message Send e-mail

Can't see MPLAB project
PostPosted: Tue Jun 25, 2013 5:22 am     Reply with quote

Hi ,

I have been using MPLAB to create and compile my PIC projects for sometime now, recently I have created a few projects in MPLAB and using Hi-TECHC compiler.

When I open my project folder from my computer, I can't see MPLAB project or workspace files , neither I see the recent changes to my .c files. I only see the original .c files I pasted in that folder originally.

On the other hand running MPLAB and opening that particular project shows me everything ???

I don't understand where the changes that I make go ??


Thanks in advance
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Tue Jun 25, 2013 6:39 am     Reply with quote

This is CCS forum, not HI-TECH.

Mike
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Tue Jun 25, 2013 7:12 am     Reply with quote

Hi,

It's a 'Windows 7 thing' - data is no longer stored in the the Program Files directory, or any of its sub-directories. You will probably find your data in:

"C:\Users\UserName\AppData\Local\VirtualStore\Program Files\PICC"

Note, that 'UserName' should be replaced with the Logon ID you use with your machine......

Frankly, this is one of the more annoying security 'features' of Windows 7. I don't necessarily have a problem with data being relocated, but I do have
a problem with it being done transparently without making the user aware...

John
Electronguru



Joined: 26 May 2013
Posts: 11

View user's profile Send private message Send e-mail

PostPosted: Tue Jun 25, 2013 8:32 am     Reply with quote

Hi ,

I couldn't find the anything like :

C:\Users\UserName\AppData\Local\VirtualStore\Program Files\PICC"

this happens whether I am using HI-TECHC compiler or PICC complier or MASM

Yes I have windows 7 ultimate with service pack 1

I don't where its storing my files ?
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Tue Jun 25, 2013 10:38 am     Reply with quote

Hi,

Well, I told you where the files are being stored now by MPLAB, but you didn't follow my directions. The path I provided is NOT the exact path to
your files, it is a generic path. To find the specific location of your files you will have to substitute your specific Logon ID.....

I wasn't sure whether Windows Search would show you the 'true' location of these files, so I didn't mention it earlier. I just tried it now, and the Windows
Search will show you the actual place the files are being stored. Do a search for '*.mcp', and you'll find what you are looking for......

It's not rocket science!

John
Electronguru



Joined: 26 May 2013
Posts: 11

View user's profile Send private message Send e-mail

PostPosted: Thu Jun 27, 2013 12:09 am     Reply with quote

HI ezflyr,

Yes i did look into the location you have mentioned below and i couldn't find any of the project files or *.mcp files.

I did a computer wide search for project name. mcp files for multiple projects, still no luck finding their location.

I also made a new .c file within one of the MPLAB project and saved it and tried to search for it but i couldn't find it.

Please see the screen shot.

Regards,
Electronguru



Joined: 26 May 2013
Posts: 11

View user's profile Send private message Send e-mail

PostPosted: Thu Jun 27, 2013 12:12 am     Reply with quote

I couldn't find any option on CCS forum to attach an image file ???
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Thu Jun 27, 2013 8:51 am     Reply with quote

Hi,

First of all, this is purely a Window 7 issue, and NOT a CCS one!

Recognize that the new '.c', and '.mcp' files you create can be found by MPLAB, correct? That means they exist *somewhere* on your computer,
right? My guess is that you aren't using the Windows 7 Search correctly or that your folder/file View options are hiding these files. Again, this is a
Windows 7 issue, so I suggest you find a knowledgeable friend to help you out!

I like to see everything, so my Windows 7 installation is setup to show all hidden files/folders, and all system files.

Also, when you searched for the '.mcp' files did you use the '*' wildcard as I showed you??

John
Electronguru



Joined: 26 May 2013
Posts: 11

View user's profile Send private message Send e-mail

PostPosted: Fri Jun 28, 2013 12:23 am     Reply with quote

Hi ,


Recognize that the new '.c', and '.mcp' files you create can be found by MPLAB, correct?

Yes

That means they exist *somewhere* on your computer,
right? My guess is that you aren't using the Windows 7 Search correctly or that your folder/file View options are hiding these files. Again, this is a
Windows 7 issue, so I suggest you find a knowledgeable friend to help you out!

I used search option which comes up when you click on windows start button


I like to see everything, so my Windows 7 installation is setup to show all hidden files/folders, and all system files.

Also, when you searched for the '.mcp' files did you use the '*' wildcard as I showed you??

No , when I use wildcard the windows lists all the projects which i already see within MPLAB , i wanna search for the ones that i cantt see in their respective folders .
Electronguru



Joined: 26 May 2013
Posts: 11

View user's profile Send private message Send e-mail

PostPosted: Fri Jun 28, 2013 12:46 am     Reply with quote

Hi ,

Just to add to that.

All my projects are here C:\program files \ Microchip \ all project folders

This phenomena is happening on two separate computers, i am 100% sure i have administrative rights on both.
Electronguru



Joined: 26 May 2013
Posts: 11

View user's profile Send private message Send e-mail

PostPosted: Fri Jun 28, 2013 5:06 am     Reply with quote

Hi ,

Yes i have found the files:

C:\Users\UserName\AppData\Local\VirtualStore\Program Files\Microchip

All the projects are there, now how to prevent Windows to put my projects there ??


Regards
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Fri Jun 28, 2013 6:58 am     Reply with quote

Hi,

You probably can't do that, at least easily.... My recommendation would be to just accept it, and find a way to live with it...... Life is too short to be
fighting battles with your Windows OS Sad

John

PS You found your files in essentially the exact path I gave you in my first reply. I told you then it wasn't going to be exact, and that you'd have to
play around a bit to find the exact location. I'm glad you finally did.....
oxo



Joined: 13 Nov 2012
Posts: 219
Location: France

View user's profile Send private message

PostPosted: Fri Jun 28, 2013 7:04 am     Reply with quote

Gurus are not what they used to be... Wink
Electronguru



Joined: 26 May 2013
Posts: 11

View user's profile Send private message Send e-mail

PostPosted: Mon Jul 01, 2013 3:41 am     Reply with quote

HI ,

No i dont agree ... " just accept it, and find a way to live with it"

If i run MPLAB in "run as Administrator" its keeps all your files where they should be .

You can also right-click in MPLAB and in properties set it to run as Administrator "

Thanks for the tips and advice

Regards,
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group