User forums > Using Code::Blocks

codeblock problem under windows vista rtm

(1/3) > >>

garanzia:
i am trouble compiling under vista , but my source running fine in xp

here the error :?:



[attachment deleted by admin]

MortenMacFly:

--- Quote from: garanzia on December 14, 2006, 08:33:36 am ---i am trouble compiling under vista , but my source running fine in xp

--- End quote ---
- Settings -> Environment -> "General Settings"
- Disable "Check & set file associations"
(This isn't the final solution, though - just a workaround.)
With regards, Morten.
Ps.: No, I don't have Vista and I doubt I'll soon have.

thomas:
Killerbot now owns a copy of Vista (or so I've been told). Poor guy  8)

Currently the general answer to any question starting with "I have this problem under Vista,..." that you'll generally get is:

We don't know, we don't care, we don't do Vista.

The "we don't care" part may not be entirely true, but for the time being, that much has to do. It will probably take several months before we can answer the Vista-related questions without guessing.

That does not mean that Code::Blocks may not run under Vista. It means we simply don't know anything about it, nor have we really tested anything profoundly. What we do know is that Microsoft changed quite a lot things which they previously advocated, and now they claim that they have always discouraged their use. Inhowfar this affects the operation of Code::Blocks, who knows.
Also, we know that the new "security" features as well as the filesystem virtualisation may interfere with a few components, for example plugin installation. However, it may also be that the user does not even notice this, as the worst part of Vista is that it silently replaces things behind your back in a typical Microsoft-like manner, leaving you hardly any way of actually knowing.

We do have a report from one user who has successfully compiled Code::Blocks using Code::Blocks under Vista. On the other hand side, it has been reported that for example MinGW does not work under Vista at all (again, this is hearsay, no idea whether it is true).

garanzia:
thanks for the clarification and yes wingw is not working in vista. guess i have to use another pc .  :cry:

killerbot:

--- Quote from: garanzia on December 14, 2006, 08:33:36 am ---i am trouble compiling under vista , but my source running fine in xp

here the error :?:



--- End quote ---


Yes I have a vista at work (test machine, thank god). I can compile with MinGW, but I had to add some extra paths to the compiler settings.
Secondly I looked at your log. Yes, CB should not mess in that part of the registry (it used to do that in the past, I remember I have fixed that) [registering file types are a per user setting, not machine setting !]. Probably CB doesn't recognize Vista, in such a way that it knows there are user parts (HKEY_CURRENT_USER) and then falls back on writing in the HKCR. Will try to test that next week, should be easy to fix.


[edit] : we only fall back to the global key when the windows version is of the famile 95/98/Me.
So it might be a wx problem :


--- Code: --- int family = wxGetOsVersion(&Major, NULL);
if(family == wxWIN95)
        return osWindows9598ME;
    if(family == wxWINDOWS_NT)
    {
        if(Major > 4)
            return osWindowsXP;
        else
            return osWindowsNT2000;
    }
    else
        return osUnknownWindows;

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version