Problem with compiling

Discussion in 'Questions (Windows Mobile)' started by Arrie, Oct 22, 2009.

  1. Arrie

    Arrie Member Licensed User

    Hi All,

    I have a problem with compiling for device. I don't use optimized compiling, but when i compile i get an error.

    Error compiling program:
    Toegang tot het pad C:\Program files\Anywhere Software\Basic4ppc
    Desktop\Icondata.dat is geweigerd.

    This is dutch for " Access to path C:\........dat is refused."

    I have already removed and reinstalled b4ppcv6.8 but the same problem exists.

    Thanks
     
  2. Ariel_Z

    Ariel_Z Active Member Licensed User

    If you are running windows vista, then you sould place the program (source and executable) under My Documents rather than the default Program Files. Try this and see if it helps.
     
  3. Arrie

    Arrie Member Licensed User

    Hi Ariel,

    What do you mean with source and executable? Must i reinstall B4PPC in My Documents ?

    Thx
     
  4. Ariel_Z

    Ariel_Z Active Member Licensed User

    No, What I meant was that you must save your program under My Documents and not under the Basic4ppc folder. For some security reasons, the Program Files folder is unaccessible on Vista.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    You will need to run Basic4ppc as an administrator.
    Open Basic4ppc folder: c:\program Files\Anywhere Software\Basic4ppc Desktop
    Right click on Basic4ppc Desktop.exe and choose Run As Administrator.

    You can also reinstall Basic4ppc in a folder under My Documents.
    BTW, why don't you use the optimized compiler?
     
  6. Arrie

    Arrie Member Licensed User

    In my application i use a msgbox for info to the user. Depending on the decision of the user (he presses ok or cancel) i continue.

    When i use optimized compiling i get an error on this line. At this moment i don't have much free time to find out whats the problem, and with non optimized compiling my program runs. Maybe later i ask this great forum for help.

    Thanks anyway,

    Greetings from Holland
     
  7. Ariel_Z

    Ariel_Z Active Member Licensed User

    Post the code, we'll try to find out.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice