Cannot run CoreAPIDemo (CSharp) demo  SOLVED

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

Cannot run CoreAPIDemo (CSharp) demo

Post by zarkogajic »

Hi support,

I'm trying to run the CoreApi demo, freshly downloaded from https://github.com/tracker-software/PDF ... oreAPIDemo

I'm using MS VS 2012. I've downloaded and installed the CoreAPI SDK.

Upon first build I have several warnings of the following type:
Warning 12 Processing COM reference "PDFXCoreAPI" from path "C:\Program Files (x86)\Tracker Software\Core API SDK\Bin\PDFXCoreAPI.x86.dll". At least one of the arguments for 'IPXC_SecurityHandler.GetAuthData' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate. CoreAPIDemo
Then, a lot of:
Error 19 The best overloaded method match for 'PDFXCoreAPI.IPXC_GoToETargetPath.InsertNew(uint)' has some invalid arguments D:\pdfxchangetest\PDFCoreSDKExamples-master\PDFCoreSDKExamples-master\CSharp\CoreAPIDemo\Actions.cs 96 38 CoreAPIDemo

and

Error 12 Argument 3: cannot convert from 'int' to 'uint' D:\pdfxchangetest\PDFCoreSDKExamples-master\PDFCoreSDKExamples-master\CSharp\CoreAPIDemo\CSC CoreAPIDemo
Any idea?

p.s.
Not a C# developer by heart :)

p.s.2
Registered User of Editor SDK (and Editor SDK CSharp samples build nicely in MS VS)

Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Cannot run CoreAPIDemo (CSharp) demo  SOLVED

Post by Sasha - Tracker Dev Team »

Hello zarkogajic,

You can download the VS 2019 community edition and try on it - I'm sure it will work.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

Re: Cannot run CoreAPIDemo (CSharp) demo

Post by zarkogajic »

Hi Alex,

Just did, working, case closed :)

Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Cannot run CoreAPIDemo (CSharp) demo

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply