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!
![]() |
Repairing TCP client file from corrupted install |
Post Reply ![]() |
Author | |
Dan ![]() Team Player ![]() ![]() Joined: 21 Oct 11 Location: US Status: Offline Points: 23 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Dan ![]() Team Player ![]() ![]() Joined: 21 Oct 11 Location: US Status: Offline Points: 23 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Dan ![]() Team Player ![]() ![]() Joined: 21 Oct 11 Location: US Status: Offline Points: 23 |
![]() ![]() ![]() ![]() ![]() |
I also found the need to change return on ln 170 from:
return 0; to: return (IntPtr)0; Is this a correct fix? |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Thanks for the feedback. We are fixing and testing the import file.
|
|
![]() |
|
Dan ![]() Team Player ![]() ![]() Joined: 21 Oct 11 Location: US Status: Offline Points: 23 |
![]() ![]() ![]() ![]() ![]() |
Do you have any timeframe when this will be ready?
Thanks, Dan |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Dan ![]() Team Player ![]() ![]() Joined: 21 Oct 11 Location: US Status: Offline Points: 23 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() 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 |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store