程序中:
RFC_TABLE_DESC table_desc;
// 设置RFC连接参数
rta_set_connection_param(connection, "ashost", "SAP_SERVER");
rta_set_connection_param(connection, "sysnr", "00");
rta_set_connection_param(connection, "client", "100");
H:\VC程序\SAP连接\ConnectSAP\ConnectSAPDlg.cpp(204) : error C2065: 'RFC_TABLE_DESC' : undeclared identifier
H:\VC程序\SAP连接\ConnectSAP\ConnectSAPDlg.cpp(204) : error C2146: syntax error : missing ';' before identifier 'table_desc'
H:\VC程序\SAP连接\ConnectSAP\ConnectSAPDlg.cpp(204) : error C2065: 'table_desc' : undeclared identifier
H:\VC程序\SAP连接\ConnectSAP\ConnectSAPDlg.cpp(212) : error C2065: 'rta_init' : undeclared identifier
H:\VC程序\SAP连接\ConnectSAP\ConnectSAPDlg.cpp(219) : error C2065: 'rta_create_native_connection' : undeclared identifier
H:\VC程序\SAP连接\ConnectSAP\ConnectSAPDlg.cpp(219) : error C2440: '=' : cannot convert from 'int' to 'struct _RFC_CONNECTION_HANDLE *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
H:\VC程序\SAP连接\ConnectSAP\ConnectSAPDlg.cpp(222) : error C2065: 'rta_set_connection_param' : undeclared identifier