Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Net Core and Visual Studio Code
  FAQ FAQ  Forum Search   Register Register  Login Login

Net Core and Visual Studio Code

 Post Reply Post Reply
Author
Message
kusu View Drop Down
Beginner
Beginner


Joined: 29 Jul 20
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote kusu Quote  Post ReplyReply Direct Link To This Post Topic: Net Core and Visual Studio Code
    Posted: 29 Jul 20 at 12:34PM
I am trying to use the Debenu Quick PDF library with Visual Studio Code and Net Core.

To do so, I have downloaded version 18 (the test version) of the library because Debenu says that it is has a Net Core.

However, I cannot link the DLL to the application. Has anyone succeeded in doing this? If yes, any hints would be appreciated!


Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 29 Jul 20 at 1:18PM
Hi Kusu,

here you'll find the available samples about linking the dll:
https://www.debenu.com/products/development/debenu-pdf-library/help/samples/

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
kusu View Drop Down
Beginner
Beginner


Joined: 29 Jul 20
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote kusu Quote  Post ReplyReply Direct Link To This Post Posted: 29 Jul 20 at 1:39PM
Thanks. That's the sample code I am using for our present projects, which are based on .NET and Sharp Develop

Alas, as I mentioned, I need to create something based on ".net core" and Visual Studio Code. https://www.debenu.com/products/development/debenu-pdf-library/updates/ says that Version 18 of the library does support .net core, but I have not found a library there that I could link against under .net core.

Unhappy
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 30 Jul 20 at 8:29PM
then you should try the official support page at Foxit.

Cheers,
Ingo

Back to Top
Sykh View Drop Down
Beginner
Beginner


Joined: 17 Sep 20
Location: Germany
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sykh Quote  Post ReplyReply Direct Link To This Post Posted: 22 Sep 20 at 2:33PM
Make sure you use the correct bit Version since the example is set to 32 bit and using the 32 bit dll, so it won't work if you just copy it to your new application since it's in 64 bit.

DebenuPDFLibraryDLL1811.dll is 32 bit
DebenuPDFLibrary64DLL1811.dll is 64 bit

throws no error or anything, just doesn't work :/

        private PDFLibrary loadDLL()
        {
            String dllLocation = new string("DebenuPDFLibrary64DLL1811.dll"); // full path if not copied to compile directory
            PDFLibrary qp = new PDFLibrary(dllLocation);
            if (qp.LibraryLoaded())
            {
                Console.WriteLine("DLL found! Unlocking...");
                qp.UnlockKey("replace me");
                if (qp.Unlocked() == 0)
                {
                    Console.WriteLine("License unlock failed.  Please update your key");
                    return (null);
                }
                else
                {
                    Console.WriteLine("License unlocked");
                }
            }
            else
            {
                Console.WriteLine("Error loading DLL!");
                if (File.Exists(dllLocation))
                {
                    Console.Write("But file exists -.-");
                }
                    return (null);
            }
            return (qp);
        }


Edited by Sykh - 22 Sep 20 at 2:35PM
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store