Rank: Newbie
Groups: Registered
Joined: 7/25/2018(UTC) Posts: 6 
|
Although my Trial/Demo seems towork without this I am confused... The documentation mentions... Code:public void LoadDocument()
{
//Initialize the SDK library
//You have to call this function before you can call any PDF processing functions.
PdfCommon.Initialize();
}
Your online documentation (link found via google) mentions the args as... httpx://pdfium.patagames.com/help/html/f148514e-dbac-f375-624d-48b2ca862028.htm https://pdfium.patagames...75-624d-48b2ca862028.htmcant use the link definer for above or my message gets rejected as spam :¬) Code: // Warning C++/CLR syntax but it is supported ocoring to docs :¬) (thank god)
using namespace Patagames::Pdf::Enums;
using namespace Patagames::Pdf::Net;
using namespace Patagames::Pdf::Net::Controls::WinForms;
// Initialise key,pdf path,icu path
PdfCommon::Initialize(nullptr,nullptr,nullptr);
This 3 argument version is the only version i can see and i cant see any simplified overload Any ideas? Mac DO we even need this anymore as it seems to run fine (Demo mode only maybe)? Many thanks Edited by moderator Thursday, July 26, 2018 3:14:22 AM(UTC)
| Reason: Not specified
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
|
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 7/25/2018(UTC) Posts: 6 
|
Thank you for clearing that up but for your information....
1>Report.cpp 1>d:\develop\equipoise\progs\velpak\report.h(686): error C2660: 'Patagames::Pdf::Net::PdfCommon::Initialize': function does not take 0 arguments (compiling source file Report.cpp) 1>d:\develop\equipoise\progs\velpak\report.h(686): note: see declaration of 'Patagames::Pdf::Net::PdfCommon::Initialize' (compiling source file Report.cpp) 1>d:\develop\equipoise\progs\velpak\report.h(686): error C2660: 'Patagames::Pdf::Net::PdfCommon::Initialize': function does not take 0 arguments (compiling source file Main.cpp) 1>d:\develop\equipoise\progs\velpak\report.h(686): note: see declaration of 'Patagames::Pdf::Net::PdfCommon::Initialize' (compiling source file Main.cpp)
Which is why i got all confused
But the 3 nullptr and licx will doo fine :¬)
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close