Hozzá nem értők kérdései
  • Peregrin
    #1
    Sziasztok!

    Elöljáróban: nem értek a C programozáshoz.

    Felraktam az MS Visual C++ 6-ost, majd a Platform SDK-t, és szerettem volna egy már meglévő EXE-t lefordítani, de valamiért nem megy.
    Az alábbi hibákat kapom:

    --------------------Configuration: XPEinit - Win32 Release--------------------
    Compiling...
    commons.cpp
    D:\PeBuilder\XPEStuff\XPEinit\XPEinit.h(99) : error C2871: 'std' : does not exist or is not a namespace
    runonce.cpp
    D:\PeBuilder\XPEStuff\XPEinit\XPEinit.h(99) : error C2871: 'std' : does not exist or is not a namespace
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(73) : error C2065: 'vector' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(73) : error C2065: 'string' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(73) : error C2065: 'keys' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(73) : warning C4804: '>' : unsafe use of type 'bool' in operation
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(73) : warning C4552: '>' : operator has no effect; expected operator with side-effect
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(74) : error C2065: 'subkeys' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(74) : warning C4804: '>' : unsafe use of type 'bool' in operation
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(74) : warning C4552: '>' : operator has no effect; expected operator with side-effect
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(75) : error C2039: 'iterator' : is not a member of '`global namespace''
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(75) : error C2065: 'iterator' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(75) : warning C4804: '>' : unsafe use of type 'bool' in operation
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(75) : error C2146: syntax error : missing ';' before identifier 'k'
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(75) : warning C4552: '>' : operator has no effect; expected operator with side-effect
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(75) : error C2065: 'k' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(75) : error C2065: 'sk' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(76) : error C2065: 'todelete' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(76) : warning C4804: '>' : unsafe use of type 'bool' in operation
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(76) : warning C4552: '>' : operator has no effect; expected operator with side-effect
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(97) : error C2228: left of '.push_back' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(101) : error C2065: 'sort' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(101) : error C2228: left of '.begin' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(101) : error C2228: left of '.end' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(105) : error C2228: left of '.begin' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(105) : error C2228: left of '.end' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(107) : error C2227: left of '->c_str' must point to class/struct/union
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(113) : error C2228: left of '.push_back' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(118) : error C2228: left of '.begin' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(118) : error C2228: left of '.end' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(122) : error C2228: left of '.begin' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(122) : error C2228: left of '.end' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(125) : error C2227: left of '->c_str' must point to class/struct/union
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(139) : error C2228: left of '.push_back' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(139) : error C2227: left of '->c_str' must point to class/struct/union
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(147) : error C2228: left of '.begin' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(147) : error C2228: left of '.end' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(148) : error C2227: left of '->c_str' must point to class/struct/union
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(151) : error C2227: left of '->c_str' must point to class/struct/union
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(156) : error C2065: 'remover' : undeclared identifier
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(156) : warning C4804: '>' : unsafe use of type 'bool' in operation
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(156) : warning C4552: '>' : operator has no effect; expected operator with side-effect
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(157) : error C2228: left of '.clear' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(158) : error C2228: left of '.clear' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(159) : error C2228: left of '.swap' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(160) : error C2228: left of '.swap' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(163) : warning C4804: '>' : unsafe use of type 'bool' in operation
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(163) : warning C4552: '>' : operator has no effect; expected operator with side-effect
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(164) : error C2228: left of '.clear' must have class/struct/union type
    D:\PeBuilder\XPEStuff\XPEinit\runonce.cpp(165) : error C2228: left of '.swap' must have class/struct/union type
    setres.cpp
    D:\PeBuilder\XPEStuff\XPEinit\XPEinit.h(99) : error C2871: 'std' : does not exist or is not a namespace
    shortcuts.cpp
    D:\PeBuilder\XPEStuff\XPEinit\XPEinit.h(99) : error C2871: 'std' : does not exist or is not a namespace
    XPEinit.cpp
    D:\PeBuilder\XPEStuff\XPEinit\XPEinit.h(99) : error C2871: 'std' : does not exist or is not a namespace
    Generating Code...
    Error executing cl.exe.

    XPEinit.exe - 41 error(s), 12 warning(s)
    --------------------------

    Kérlek titeket segítsetek!
    A program forrása:Sherpya
    Ebből is az XPEInit kellene jelenleg, de később a többi is érdekelni fog.