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 - Repairing TCP client file from corrupted install
  FAQ FAQ  Forum Search   Register Register  Login Login

Repairing TCP client file from corrupted install

 Post Reply Post Reply
Author
Message
Dan View Drop Down
Team Player
Team Player
Avatar

Joined: 21 Oct 11
Location: US
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dan Quote  Post ReplyReply Direct Link To This Post Topic: Repairing TCP client file from corrupted install
    Posted: 01 Nov 11 at 9:06PM
I'm trying to get the TCP service running and the C# client code appears to be corrupted from the install package

The file is:
C:\Program Files (x86)\Quick PDF Library\TCP\Client\CSharp\QuickPDFTCP0812.cs

All of the void return values are litterally "Error". For example starting on line 815 it says:

ErrorDAExtractPageText(int FileHandle, int PageRef, int Options)
        {
            byte[] P = EI(FileHandle);
            P = E(P, EI(PageRef));
            P = E(P, EI(Options));
        }

There are dozens of these Errors.

I want to get this working asap. Should I change these to:
Public void?

Thanks,
Dan
Back to Top
Dan View Drop Down
Team Player
Team Player
Avatar

Joined: 21 Oct 11
Location: US
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dan Quote  Post ReplyReply Direct Link To This Post Posted: 01 Nov 11 at 9:38PM
I'm also getting errors with type IntPtr being passed into BitConverter.GetBytes. The error is: The best overloaded method match for 'System.BitConverter.GetBytes(double)' has some invalid arguments.

For example starting on ln 50:
        private byte[] EC(IntPtr Value)
        {
            ParmCount++;
            ParmTypes += "C";
            return BitConverter.GetBytes(Value);
        }

I have to change the return to:
return BitConverter.GetBytes((long)Value);

Is this a correct fix? I don't understand this code well enough to know all the implications.

Btw, I'm using VS 2010 in windows 7 64 bit with .Net 4.0.

Thanks,
Dan

Edited by Dan - 01 Nov 11 at 9:39PM
Back to Top
Dan View Drop Down
Team Player
Team Player
Avatar

Joined: 21 Oct 11
Location: US
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dan Quote  Post ReplyReply Direct Link To This Post Posted: 01 Nov 11 at 9:48PM
I also found the need to change return on ln 170 from:

return 0;

to:

return (IntPtr)0;

Is this a correct fix?


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

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 02 Nov 11 at 8:40AM
Thanks for the feedback.  We are fixing and testing the import file. 
Back to Top
Dan View Drop Down
Team Player
Team Player
Avatar

Joined: 21 Oct 11
Location: US
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dan Quote  Post ReplyReply Direct Link To This Post Posted: 02 Nov 11 at 1:55PM
Do you have any timeframe when this will be ready?

Thanks,
Dan
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 03 Nov 11 at 9:18AM
We are looking into the problem.  It seems that there is a bit of work required to get it working.  It probably hasn't been working since the 8.11 release and no one has noticed.

The need for the TCP/IP has been considerably reduced now that we have released the full 64bit version of QPL.

Do you have a particular need or requirement for the TCP/IP version ?  We are wondering how many people are actually using the TCP/IP version these days ?

Andrew.
Back to Top
Dan View Drop Down
Team Player
Team Player
Avatar

Joined: 21 Oct 11
Location: US
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dan Quote  Post ReplyReply Direct Link To This Post Posted: 03 Nov 11 at 2:11PM
I would actually prefer to get the dll version working but am having problems so since I already had the TCP version working I tried to upgrade that.

I'm going to start a new thread with my issues trying to get the dll version working.

Thanks,
Dan

Edit: Here's the new thread: http://www.quickpdf.org/forum/topic2028_post8626.html#8626

Edited by Dan - 03 Nov 11 at 3:17PM
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