I am working on the creation of an ActiveX control using ATL/WTL on Visual Studio 2022, but when I try to compile my solution, I get the following errors:
LNK2019 symbole externe non résolu __imp_GetOpenFileNameA référencé dans la fonction "public: int64 cdecl WTL::CFileDialogImpl::DoModal(struct HWND *)" (?DoModal@?$CFileDialogImpl@VCFileDialog@WTL@@@WTL@@QEAA_JPEAUHWND@@@Z)
LNK2019 symbole externe non résolu __imp_GetSaveFileNameA référencé dans la fonction "public: int64 cdecl WTL::CFileDialogImpl::DoModal(struct HWND *)" (?DoModal@?$CFileDialogImpl@VCFileDialog@WTL@@@WTL@@QEAA_JPEAUHWND@@@Z)
I think it's probably atldlgs.h that makes everything go wrong, but I don't know why and how can I fix it?