On Thu, 2017-07-20 at 08:50 +0800, chunhsia_t...@mazak.co.jp wrote: > Hi, > > > Thanks for reply. > > Using Visual Studio 2013 in Win 7 x86. > > Top part source code of: > > 1) PDFDlg.h > > #pragma once > #include "afxwin.h" > > > 2) PDFDlg.cpp > > #include "stdafx.h" > #include "PDF.h" > #include "PDFDlg.h" > #include "afxdialogex.h" > #include "podofo.h" > #include "PdfFontTrueType.h" > > using namespace PoDoFo; > > #ifdef _DEBUG > #define new DEBUG_NEW > #endif > > Click button call the function, the function only 1 line. > > Run time error at the sentence.
Hi, first of all, do not reply to me privately when replying to a public email (unless I explicitly asked to, of course). There can be other users either knowing the answers, the same as other users searching for similar issues, where this private sending just breaks the nature of Open Source and community around it. You didn't provide the backtrace, which I explicitly asked for. That's sad. > Please guide statically link podoko. Either your executable depends on podofo.dll or not. You seem to have compiled PoDoFo as a dynamic library (DLL). Change it to static library. There's a CMake option for it -DPODOFO_BUILD_STATIC=ON. > Sorry too many print screen, please advice. Yeah, I noticed you insist on sending screenshots, even on places where simple copy&paste of a raw text would make more sense. My advice is to not use screenshots at all, the less for mailing lists, where you address thousands of users and just waste space in their mail boxes for no good reason, not talking about the load of the delivery servers on the route to them all. Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users