Menu

Compiler behaves strange

2009-01-08
2012-09-26
  • nuclearping

    nuclearping - 2009-01-08

    Hey there!

    Happy New Year at first!

    Now my issue: I'm using DevC++ 4.9.9.2 under WinXP (F:\DevCpp) since a while. A while ago (Sep 07) I wrote a little tool which installs the device drivers for our product using MS' DIFXAPI. Everything compiled, worked, we were all happy 'til today.

    But I just now wanted to expand the code to install 1 more driver and wanted to compile it. I'm sure I didn't change anything on the DevC++ compiler nor the Windows (its all the same system when I wrote the code). But the compiler now completely acts like a goat ...

    It says that the function "SHGetSpecialFolderPath" is undeclared, although it is declared in shlobj.h which is also included - and always was.
    When I manually declare these function (by copy & paste the code snipped from the shlobj.h) it says next that "getch is undeclared" and "toupper" also ... ?!?!

    I touched that project last in Sep 2007, at least thats the date of the latest .exe - which I compiled with DevC++. And now he even doesn't know basic stuff like getch and toupper?! I don't understand ...

    I already tried to figure out any wrong settings ... But I don't see any, as I said: I didn't touch the project for months ...

    Does anyone of you have any idea? :/

    Thanks,

    Mario

     
  • laxman varada

    laxman varada - 2010-08-16

    hi,
    I don't understand it...the date of the latest .exe - which I compiled with
    DevC++. And now he even doesn't know basic stuff like getch and toupper --- pl
    any one canreply me

    thanks in advance

    regards,
    phe9oxis,
    http://www.guidebuddha.com

     

Log in to post a comment.