fatal error RC1004: unexpected end of file found處理方法

來源:互聯網
上載者:User
資源檔.rc的代碼如下:
// {{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by SpriteSonar01.rc
//
#define IDD_ABOUTBOX                    100
#define IDR_MAINFRAME                   128
#define IDR_SPRITETYPE                  129
#define IDD_SONAR_CTRL                  130
#define IDD_DIALOG_ACCESS               132
#define IDC_COMBO_RANGE                 1001
#define IDC_COMBO_FREQ                  1002
#define IDC_COMBO_SECTOR                1004
#define IDC_COMBO_MODEL                 1005
#define IDC_COMBO_COMMPORT              1007
#define IDC_COMBO_COMMBAUD              1008
#define IDC_COMBO_COMMPORT2             1009
#define IDC_TREE_RECEIVEDATA            1010
#define IDC_BUTTON_DELETE               1011
#define IDC_BUTTON_TEST                 1012
#define IDC_COMBO_COMMBAUD2             1013
#define IDC_SLIDER1                     1014
#define IDC_BUTTON_TEST2                1019
#define IDC_BUTTON_TEST3                1020
#define IDC_BUTTON_TEST4                1021
#define IDC_BUTTON_TEST5                1022
#define IDC_SHUT_COMM                   1023
#define IDC_OPEN_COMM                   1024
#define IDC_SHUT_COMM2                  1025
#define IDC_BUTTON_OPENACCESS           1025
#define IDC_OPEN_COMM2                  1026
#define IDC_DELETE_ACCESSRECORD         1027
#define IDC_MSFLEXGRID1                 1027
#define IDC_EDIT_Compass                1028
#define IDC_EDIT_XINCLINATION           1029
#define IDC_EDIT_YINCLINATION           1030
#define IDC_EDIT_SCANLINEANGLE          1031
#define IDC_EDIT_PRESSURE               1032
#define ID_COMMPORT_1                   32771
#define ID_COMMPORT_2                   32772
#define ID_COMMPORT_3                   32773
#define ID_COMMBAUD_9600                32774
#define ID_COMMBAUD_19200               32775
#define ID_COMMBAUD_56000               32776
#define ID_COMMBAUD_115200              32777
#define ID_SONAR_GAIN                   32778
#define ID_SONARRANGE_100               32779
#define ID_SONARRANGE_80                32780
#define ID_SONARRANGE_50                32781
#define ID_SONARRANGE_30                32782
#define ID_SONARRANGE_20                32783
#define ID_SONARRANGE_10                32784
#define ID_SONARRANGE_5                 32785
#define ID_SONARFREQ                    32787
#define ID_SONARSECTOR_360              32788
#define ID_SONARSECTOR_180              32789
#define ID_SONARSECTOR_135              32790
#define ID_SONARSECTOR_90               32791
#define ID_SONARMODEL_NORMAL            32792
#define ID_SONARMODEL_HISPEED           32793
#define ID_SONARMODEL_HIRES             32794

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        135
#define _APS_NEXT_COMMAND_VALUE         32795
#define _APS_NEXT_CONTROL_VALUE         1028
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif
編譯的時候出現“F:\Experiments & codes\水下機器人\聲納\SpriteSonar011106\resource.h(72) : fatal error RC1004: unexpected end of file found”的錯誤提示。
資源編譯器錯誤 RC1004 錯誤訊息 遇到意外的檔案結束 此錯誤是由於文字檔的最後一行中缺少分行符號和斷行符號符而造成的。 轉載http://hi.baidu.com/xioazhu/blog/item/52b8793eaf3e973470cf6c94.html

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.