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, Sean - Tracker, Chris - Tracker Supp, 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: 650
Joined: Thu Sep 05, 2019 12:35 pm

Cannot run CoreAPIDemo (CSharp) demo

Post by zarkogajic » Wed Mar 18, 2020 1:58 pm

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)


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

Re: Cannot run CoreAPIDemo (CSharp) demo  SOLVED

Post by Sasha - Tracker Dev Team » Wed Mar 18, 2020 3:44 pm

Hello zarkogajic,

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

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

zarkogajic
User
Posts: 650
Joined: Thu Sep 05, 2019 12:35 pm

Re: Cannot run CoreAPIDemo (CSharp) demo

Post by zarkogajic » Wed Mar 18, 2020 3:46 pm

Hi Alex,

Just did, working, case closed :)


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

Re: Cannot run CoreAPIDemo (CSharp) demo

Post by Sasha - Tracker Dev Team » Wed Mar 18, 2020 6:50 pm

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply