Menu

Resource File Compile Error

2008-08-19
2012-09-26
  • Elliot Ford

    Elliot Ford - 2008-08-19

    I love Dev C++, but I've encountered a problem with an application which is causing me to have to make it in VS08.

    This is my resource file:

    include "resource.h"

    IDI_EXE RCDATA "test.exe"

    'test.exe' is in the folder, but it wont compile with the datatype of 'RCDATA' because the syntax is incorrect.
    When it isn't?

    Works in VS08 & every bit of documentation I have found tells me to do it this way.

    Yet Dev C++ (which I want to now continue to use) wont let me complie it.

    Any Ideas?

    • Elliot
     
    • Elliot Ford

      Elliot Ford - 2008-08-19

      I stated all errors, and it's not for indecent purposes; I asure you.

      Yeah i just posted because I don't understand why it's not working, I consulted master google aswell.

       
      • cpns

        cpns - 2008-08-19

        > I stated all errors,

        So!? That is not what I asked for. You paraphrased the error message, the actual error message may convey more precise information, plus the compile log provides other diagnostic information besides that. Since you are the one that cannot make it work, you are by definition not in a position to determine how it might be solved. So rather than waste time arguing about it, just provide the information requested! Besides the forum etiquette is to post the complete build log, if you do not want to abide by that, you don't have to be helped either. Why second guess those trying to help you when it would have been easier to simply post the required information?

        > Yeah i just posted because I don't understand why it's not working,

        GNU windres is a different resource compiler that that used by Microsoft tools, so some differences are likely. You did not state whether my suggestion regarding <windows.h> had any effect, or even whether you bothered to try it.

        Clifford

         
    • cpns

      cpns - 2008-08-19

      You could have saved yourself a lot of typing had you just posted teh actual compile log. See the " PLEASE READ BEFORE POSTING A QUESTION" thread.

      Hiding an executable in another sounds somewhat dubious to me - could be use for all sorts of mischief. Why not just ship both executables and be 'open' with your users?

      I am not cure about your case, but most issues of differences between GNU windres.exe and Microsoft's re.exe seem to be resolved by including <windows.h> in the resource script.

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.