PDA

View Full Version : Basic Compiler won't work with Vista



AMay
- 2nd June 2008, 19:43
I got a new lap top with Vista Basic. Loaded the PicBasic compiler, and all was well for about 3 days.

Then 'Studio complained that it couldn't compile because the source directory was read only. I fixed that by moving the file.

Now it complaines that it can't create "run.bat" and then it hangs up.

Any thoughts?

skimask
- 2nd June 2008, 19:54
C:\del Windows\vista

:D

AMay
- 2nd June 2008, 21:28
1. Downloaded latest version of MicroCode Studio

2. Made a new folder under ProgramFiles\Mecanique\MCS for my programs

3. Moved that folder to where I want it so it is easy to find and back up.

4. Transferred all old programs to the new folder.

Every thing is working now, but then all was well for 3 days once before.

skimask
- 3rd June 2008, 01:38
One thing you might want to keep in the back of your head...
I've run into problems with LONG filenames...not the regular 'longer than 8.3 filenames' but the kind of filenames that include long path and make the entire 'path/file' name over so many characters (i.e. when storing your programs in MyDocuments).
I tend to keep everything in the root directory these days (PBP, MCS, program storage, include files, and so on). Never had a problem with it, don't have to worry about it.

locko
- 7th June 2008, 10:04
Couple of things to keep in mind with Vista....

The vista UAC... the program files folder can only be written to by a program with administrator rights. If you keep your pic files in your documents folder you should have more luck.
Also if you want MCS to launch a programmer that lives in the program files foder, MCS will have to be ran as administrstor.

The point about the long file names can be an issue with some programs/programmers and I also came across a compiler that could not launch because the path had spaces in it.

Take a look at my signature for what I am running with no problems/work-arounds.

Paul