CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: Permission

  1. #1
    Join Date
    Jul 2002
    Posts
    7

    Smile Permission

    Running Microsoft Visual C++ 6.0, Have a program and resultant workspace called "parplot". When I load the workspace on my desktop and execute, it runs fine. When I load the same workspace on my laptop, try to execute, gets a link error C1083, "cannot access Debug/parplot.pch, permission denied". I am running Win 7 on both machines and am logged in as administrator. Any ideas?? Sid Kraft

  2. #2
    Join Date
    Apr 2009
    Location
    Cochin
    Posts
    83

    Re: Permission

    @ stfark

    You are using an outdated and unsuported compiler + IDE on Windows 7. MS doesnt guarentee VC6.0 works perfectly anymore on Vista+ platforms like it did in Win2k/XP before.

    You should switch to a new compiler, atleast to VS2003 or higher. I suggest you should use VS2008+ editions on Windows Vista or Windows 7.

    VC6.0 is considered obsolete, and MS is no more encouraging or supporting it. But for surprise, still lots of people are sticking with that 15 year old IDE.
    "I studied everything but never topped. Today, toppers of the world's best universities are my employees"

    -William Henry Gates (Bill Gates)

  3. #3
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Permission

    Try to delete the entire Debug folder from Windows explorer and then try build again in Visual Studio.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  4. #4
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: Permission

    Quote Originally Posted by CoolPG View Post
    VC6.0 is considered obsolete, and MS is no more encouraging or supporting it. But for surprise, still lots of people are sticking with that 15 year old IDE.
    It's still the choice compiler to use if you HAVE TO support targets for Win95 and Win98. You'd be surprised at how many computers out there are still running Win95, and where upgrading the OS simply is not an option.

  5. #5
    Join Date
    Apr 1999
    Posts
    3,585

    Re: Permission

    If Marc G's advice does not work, right click on the Visual Studio shortcut and select "run as administrator". Try this eventhough you are logged in as an admin.
    Gort...Klaatu, Barada Nikto!

  6. #6
    Join Date
    Jul 2002
    Posts
    7

    Re: Permission

    Mike Harnad: I tried your response to log into Visual C++ as an administrator and it worked. However, I do not know why I have to right click on the icon and log in as administrator on my laptop and I can log in regularly on my desktop and it works. Could it be something wrong with the account/user setup under Win 7? Sid Kraft

  7. #7
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Permission

    Maybe permissions on the folders where you are trying to build are wrong.
    That's why I suggested to try to delete the Debug/Release folders and try again.
    Alternatively, check if your user has full permissions to your project folder and all sub folders.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  8. #8
    Join Date
    Apr 2009
    Location
    Cochin
    Posts
    83

    Smile Re: Permission

    Quote Originally Posted by OReubens View Post
    It's still the choice compiler to use if you HAVE TO support targets for Win95 and Win98. You'd be surprised at how many computers out there are still running Win95, and where upgrading the OS simply is not an option.
    wow, thats amazing... and, i'm doubtful how can present day applications run perfectly and smoothly on Win9x operating systems.. :O

    I'd seen on documentations of most present day softwares that they require a minimum of Win2k...

    and, i commented just because the TS was using VC6.0 in Windows 7... i had experienced problems with using that compiler in my Vista Ultimate, and i got this advice from Microsoft that they will no longer be supporting that compiler...

    anyways, interesting to know still people using old age Operating Systems.. i know a developer in my office.. he loves only the WIndows classic look and feel.. and he still uses Windows 2000 and VC6.0 for development....i use to mock at him by calling him caveman
    "I studied everything but never topped. Today, toppers of the world's best universities are my employees"

    -William Henry Gates (Bill Gates)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured