Note that there are some explanatory texts on larger screens.

plurals
  1. POLinker errors when try to compile app with 7z.dll on Qt5
    primarykey
    data
    text
    <p>I try to compile simple application on Qt5 (Windows 7) using 7z.dll. I use code samples from 7zip Client7z example, but i get next errors:</p> <pre><code>mainwindow.obj : error LNK2019: unresolved external symbol __imp__SysAllocString@4 referenced in function "long __cdecl StringToBstr(wchar_t const *,wchar_t * *)" (?StringToBstr@@YAJPB_WPAPA_W@Z) mainwindow.obj : error LNK2019: unresolved external symbol "class CStringBase&lt;wchar_t&gt; __cdecl ConvertPropVariantToString(struct tagPROPVARIANT const &amp;)" (?ConvertPropVariantToString@@YA?AV?$CStringBase@_W@@ABUtagPROPVARIANT@@@Z) referenced in function "private: void __thiscall MainWindow::getArchiveContent(class QString const &amp;)" (?getArchiveContent@MainWindow@@AAEXABVQString@@@Z) mainwindow.obj : error LNK2019: unresolved external symbol "public: long __thiscall NWindows::NCOM::CPropVariant::Clear(void)" (?Clear@CPropVariant@NCOM@NWindows@@QAEJXZ) referenced in function "public: __thiscall NWindows::NCOM::CPropVariant::~CPropVariant(void)" (??1CPropVariant@NCOM@NWindows@@QAE@XZ) mainwindow.obj : error LNK2019: unresolved external symbol "public: bool __thiscall NWindows::NFile::NIO::CInFile::Open(wchar_t const *)" (?Open@CInFile@NIO@NFile@NWindows@@QAE_NPB_W@Z) referenced in function "public: bool __thiscall CInFileStream::Open(wchar_t const *)" (?Open@CInFileStream@@QAE_NPB_W@Z) mainwindow.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CInFileStream::Read(void *,unsigned int,unsigned int *)" (?Read@CInFileStream@@UAGJPAXIPAI@Z) mainwindow.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CInFileStream::Seek(__int64,unsigned int,unsigned __int64 *)" (?Seek@CInFileStream@@UAGJ_JIPA_K@Z) mainwindow.obj : error LNK2001: unresolved external symbol "public: virtual long __stdcall CInFileStream::GetSize(unsigned __int64 *)" (?GetSize@CInFileStream@@UAGJPA_K@Z) mainwindow.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CInFileStream::~CInFileStream(void)" (??1CInFileStream@@UAE@XZ) referenced in function "public: virtual void * __thiscall CInFileStream::`scalar deleting destructor'(unsigned int)" (??_GCInFileStream@@UAEPAXI@Z) debug\archive.exe : fatal error LNK1120: 8 unresolved externals </code></pre> <p>I will be grateful for any help in correcting these errors.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload