Unresolved external错误。。。
[Linker Error] Unresolved external '__fastcall Dialogs::ShowMessage(const System::AnsiString)' referenced from F:\CPP\GMVRCS2006\OBJ\GMV2006.OBJ
[Linker Error] Unresolved external 'Forms::Application' referenced from F:\CPP\GMVRCS2006\OBJ\GMV2006.OBJ
[Linker Error] Unresolved external '__fastcall Forms::TApplication::ShowException(Sysutils::Exception *)' referenced from F:\CPP\GMVRCS2006\OBJ\GMV2006.OBJ
代码如下:
//---------------------------------------------------------------------------
#include <vcl.h>
#include <Dialogs.hpp>
#include "winbase.h"
#pragma hdrstop
HANDLE (__stdcall *LoadMainForm) (TApplication *App);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
//Load dll
HINSTANCE HInst = LoadLibrary ("Frame.dll");
if (HInst)
{
LoadMainForm = (HANDLE (__stdcall *) (TApplication *App)) GetProcAddress (HInst, "LoadMainForm");
if (LoadMainForm)
{
Application->Handle = LoadMainForm (Application);
}
else
{
ShowMessage ("File Error!");
return 1;
}
}
else
{
ShowMessage ("Load dll Error!");
return 1;
}
FreeLibrary ("Frame.dll");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------
把OPTION中的COMPLIER中选中REALSE, 就出现这个错误, 调试状态下就没问题。。。奇怪了
相关推荐
AI实战-COVID 19世界疫苗接种数据分析预测实例(含18个源代码+18.34 MB完整的数据集).zip
AI实战-COVID 19世界疫苗接种数据分析预测实例(含18个源代码+18.34 MB完整的数据集) 代码手工整理,无语法错误,可运行。 包括:18个代码,共124.53 KB;数据大小:2个文件共18.34 MB。 使用到的模块: os pandas matplotlib.pyplot seaborn plotly.express folium.features.Choropleth folium warnings numpy plotly.offline.iplot plotly.graph_objs plotly.io peakutils scipy.stats.mode plotly.offline.init_notebook_mode pandas_profiling.ProfileReport sklearn.preprocessing.StandardScaler sklearn.model_selection.train_test_split sklearn.model_selection.cross_val_score sklearn.model_selection.TimeSeriesSplit sklearn.model_selection.GridSearchCV sklearn.metrics.mean_squared_error sklearn.metrics.mean_absolute_error sklearn.metrics.r2_score xgboost lightgbm.LGBMRegressor torch tqdm.notebook.tqdm transformers.BertTokenizer torch.utils.data.TensorDataset transformers.BertForSequenceClassification torch.utils.data.DataLoader torch.utils.data.RandomSampler transformers.AdamW transformers.get_linear_schedule_with_warmup sklearn.metrics.f1_score random sklearn.linear_model.LinearRegression wordcloud.WordCloud wordninja spellchecker.SpellChecker collections.Counter nltk nltk.stem.WordNetLemmatizer nltk.corpus.stopwords sklearn.preprocessing.LabelEncoder sklearn.preprocessing.PolynomialFeatures sklearn.metrics sklearn.tree.DecisionTreeRegressor sklearn.cluster.KMeans missingno sklearn.metrics.confusion_matrix sklearn.metrics.roc_curve sklearn.metrics.accuracy_score sklearn.metrics.roc_auc_score imblearn.over_sampling.SMOTE sklearn.linear_model.LogisticRegression sklearn.ensemble.RandomForestClassifier sklearn.ensemble.GradientBoostingClassifier sklearn.tree.DecisionTreeClassifier catboost.CatBoostClassifier lightgbm.LGBMClassifier xgboost.XGBClassifier sklearn.ensemble.AdaBoostClassifier plotly.offline
AI实战-企业客户流失数据分析预测实例(含18个源代码+25.49 MB完整的数据集).zip
AI实战-企业客户流失数据分析预测实例(含18个源代码+25.49 MB完整的数据集) 代码手工整理,无语法错误,可运行。 包括:18个代码,共95.80 KB;数据大小:2个文件共25.49 MB。 使用到的模块: pandas xgboost sklearn.preprocessing.StandardScaler sklearn.preprocessing.LabelEncoder sklearn.model_selection.train_test_split sklearn.ensemble.RandomForestClassifier sklearn.metrics.accuracy_score sklearn.metrics.classification_report sklearn.metrics.confusion_matrix os matplotlib.pyplot seaborn sklearn.linear_model.LogisticRegression sklearn.neighbors.KNeighborsClassifier sklearn.svm.SVC warnings sklearn.preprocessing.MinMaxScaler sklearn.utils.shuffle statsmodels.api sklearn.metrics.roc_auc_score sklearn.metrics.roc_curve sklearn.tree.DecisionTreeClassifier sklearn.naive_bayes.GaussianNB sklearn.preprocessing.PolynomialFeatures sklearn.model_selection.KFold sklearn.model_selection.GridSearchCV sklearn.metrics.precision_score sklearn.metrics.recall_score sklearn.metrics.f1_score sklearn.pipeline.Pipeline sklearn.ensemble.GradientBoostingClassifier numpy tabulate.tabulate sklearn.compose.ColumnTransformer sklearn.preprocessing.OneHotEncoder missingno random sklearn.metrics.auc sklearn.metrics.ConfusionMatrixDisplay time tensorflow.keras.models.Sequential tensorflow.keras.layers.Dense tensorflow.keras.layers.Dropout tensorflow.keras.optimizers.Adam tensorflow.keras.metrics.Precision tensorflow.keras.metrics.Recall
AI实战-杂货店关联商品挖掘数据集分析预测实例(含18个源代码+1.25 MB完整的数据集).zip
AI实战-杂货店关联商品挖掘数据集分析预测实例(含18个源代码+1.25 MB完整的数据集) 代码手工整理,无语法错误,可运行。 包括:18个代码,共74.17 KB;数据大小:2个文件共1.25 MB。 使用到的模块: pandas os apyori.apriori mlxtend.frequent_patterns.apriori matplotlib.pyplot itertools.permutations numpy mlxtend.preprocessing.TransactionEncoder mlxtend.frequent_patterns.association_rules IPython.core.display.display IPython.core.display.HTML wordcloud.WordCloud seaborn warnings gensim.models.word2vec.Word2Vec sklearn.manifold.TSNE adjustText.adjust_text pandas.plotting.parallel_coordinates networkx mlxtend.frequent_patterns.fpgrowth csv.reader mlxtend.frequent_patterns.fpmax plotly.express collections.Counter mlxtend.preprocessing.transactionencoder.TransactionEncoder collections.defaultdict itertools.combinations
AI实战-帕尔默群岛南极洲企鹅数据分析预测实例(含18个源代码+62.92 KB完整的数据集).zip
AI实战-帕尔默群岛南极洲企鹅数据分析预测实例(含18个源代码+62.92 KB完整的数据集) 代码手工整理,无语法错误,可运行。 包括:18个代码,共90.84 KB;数据大小:2个文件共62.92 KB。 使用到的模块: seaborn sklearn.decomposition.PCA sklearn.preprocessing.StandardScaler matplotlib.pyplot sklearn.impute.KNNImputer sklearn.tree.plot_tree sklearn.preprocessing.LabelEncoder sklearn.model_selection.train_test_split sklearn.tree.DecisionTreeClassifier sklearn.metrics numpy pandas os sklearn.impute.SimpleImputer sklearn.pipeline.Pipeline sklearn.compose.ColumnTransformer sklearn.preprocessing.OneHotEncoder sklearn.preprocessing.OrdinalEncoder sklearn.linear_model.SGDClassifier sklearn.metrics.accuracy_score sklearn.metrics.ConfusionMatrixDisplay sklearn.cluster.KMeans sklearn.metrics.cluster.adjusted_rand_score sklearn.ensemble.RandomForestClassifier sklearn.metrics.classification_report warnings sklearn.metrics.confusion_matrix sklearn.svm sklearn.model_selection.cross_val_score mlxtend.plotting.plot_decision_regions joypy sklearn.metrics.precision_score sklearn.metrics.recall_score sklearn.metrics.f1_score sklearn.svm.SVC sklearn.svm.LinearSVC xgboost.XGBClassifier tensorflow warnings.simplefilter sklearn.model_selection.GridSearchCV sqlite3 sklearn.metrics.silhouette_score sklearn.metrics.calinski_harabasz_score sklearn.metrics.davies_bouldin_score yellowbrick.cluster.KElbowVisualizer itertools.combinations plotly.express sklearn.linear_model.LogisticRegression sklearn.ensemble.GradientBoostingClassifier sklearn.ensemble.AdaBoostClassifier sklearn.neighbors.KNeighborsClassifier sklearn.preprocessing.MinMaxScaler sklearn.linear_model.Perceptron
AI实战-Spotify专辑的数据集分析预测实例(含7个源代码+18.91 MB完整的数据集).zip
AI实战-Spotify专辑的数据集分析预测实例(含7个源代码+18.91 MB完整的数据集) 代码手工整理,无语法错误,可运行。 包括:7个代码,共22.84 KB;数据大小:1个文件共18.91 MB。 使用到的模块: numpy pandas matplotlib.pyplot seaborn sklearn.model_selection.train_test_split sklearn.ensemble.RandomForestRegressor sklearn.linear_model.LinearRegression sklearn.metrics.mean_squared_error xgboost warnings os sklearn.preprocessing.MinMaxScaler sklearn.metrics.pairwise.cosine_similarity tensorflow.keras.models.Sequential tensorflow.keras.layers.Dense tensorflow.keras.layers.Dropout plotly.express plotly.io


