Fatal error rc1004: unexpected end of file found

Source: Internet
Author: User
The resource file. RC code is as follows:
// {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_commp ORT 1007
# Define idc_combo_commbaud 1008
# Define idc_combo_commp ort2 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 ID c_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_comatrix ort_1 32771
# Define id_comatrix ort_2 32772
# Define id_comatrix ort_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 30 32782
# Define id_sonarrange_20 20 32783
# Define id_sonarrange_10 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
When compiling, an error message "F: \ experiments & Codes \ underwater robot \ sonar \ spritesonar011106 \ resource. H (72): Fatal error rc1004: unexpected end of file found" is displayed.
Resource compiler error rc1004 error message unexpected end of file this error is caused by the absence of line breaks and carriage returns in the last line of the text file. Reproduced http://hi.baidu.com/xioazhu/blog/item/52b8793eaf3e973470cf6c94.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.