Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

compiler plugin works only with admin rights

<< < (2/3) > >>

mariocup:
Hi MortenMacFly,

I changed the code for e.g. ARM in read mode so the error is elminated. The problem with the access occurs specially if you start CB for the first time without an existing default.conf.

Here a example the log of browse Tracker (only the compiler with read/write access to the registry issue an error.)


--- Code: ---13:10:29: BrowseTracker Plugin Logging Started[0.1.7 2007/06/7]
13:10:29: Argv[0][D:\eigene_dateien\codeblocks-trunk\src\output\codeblocks.exe] Cwd[D:\eigene_dateien\codeblocks-trunk\src\output]
13:10:29: FindAppPath: AbsolutePath[D:\eigene_dateien\codeblocks-trunk\src\output]
13:10:29: CfgFolder[C:\Dokumente und Einstellungen\lumi\Anwendungsdaten\codeblocks]
13:10:29: ExecFolder[D:\eigene_dateien\codeblocks-trunk\src\output]
13:10:29: TrackerCfgFullPath[C:\Dokumente und Einstellungen\lumi\Anwendungsdaten\codeblocks\BrowseTracker.ini]
13:10:29: Menubar[00EDC3C8]idMenuViewTracker[895]
13:10:29: Error: Execution of command 'C:\MinGW\bin\mingw32-gcc.exe --version' failed (error 3: das System kann den angegebenen Pfad nicht finden.)
13:10:29: Error: Can't open registry key 'HKLM\Software\Dev-C++' (error 2: das System kann die angegebene Datei nicht finden.)
13:10:29: Error: Execution of command 'C:\MinGW\bin\mingw32-gcc.exe --version' failed (error 3: das System kann den angegebenen Pfad nicht finden.)
13:10:29: Error: Can't open registry key 'HKCU\Software\Microsoft\Win32SDK\Directories' (error 2: das System kann die angegebene Datei nicht finden.)
13:10:29: Error: Can't open registry key 'HKCU\Software\Microsoft\DebuggingTools' (error 2: das System kann die angegebene Datei nicht finden.)
13:10:29: Error: Can't open registry key 'HKCU\Software\Microsoft\Win32SDK\Directories' (error 2: das System kann die angegebene Datei nicht finden.)
13:10:29: Error: Can't open registry key 'HKCU\Software\Microsoft\MicrosoftSDK\InstalledSDKs' (error 2: das System kann die angegebene Datei nicht finden.)
13:10:29: Error: Can't open registry key 'HKCU\Software\Microsoft\DebuggingTools' (error 2: das System kann die angegebene Datei nicht finden.)

--- End code ---

killerbot:
well, if you have patches, please post them.
I will apply them, if we don't need write rights, then we should not open something with write rights. It will also be more safe.

mariocup:
Hi killerbot,

Mandrav said that he will add me to the committers list, so I will be able to update the documentation for codeblocks. Shall I commit the changes for the sources or better post the patches on berlios?

Biplab:

--- Quote from: mariocup on July 22, 2007, 03:00:22 pm ---Mandrav said that he will add me to the committers list, so I will be able to update the documentation for codeblocks. Shall I commit the changes for the sources or better post the patches on berlios?

--- End quote ---

If you've been given full access to the repo, then you'll be able to commit it. Otherwise pass it to anyone of us and we'll put it in repo. :)

Pecan:

--- Quote from: mariocup on July 22, 2007, 01:06:41 pm ---Here a example the log of browse Tracker (only the compiler with read/write access to the registry issue an error.)

--- End quote ---

Did I accidently leave the BrowseTracker log active, or did you turn it on yourself ?

I really didn't mean to publish BrowseTracker with the log polluting the users screen.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version