Double buffering with simple DLL SDK

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

scottA
User
Posts: 2
Joined: Wed Apr 06, 2011 2:42 am

Double buffering with simple DLL SDK

Post by scottA »

We have implemented the Simple DLL method to create a PDF viewer panel in our application, when scrolling however it flickers quite a bit which we will need to resolve.

In searching the forum it was mentioned that this could be achieved using the PXCV_DrawPageToDIBSection function to implement double buffering instead of the PXCV_DrawPageToDC function, is there any examples of this available? We're using vb.net however anything would be useful,

Cheers,
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Double buffering with simple DLL SDK

Post by Corwin - Tracker Sup »

Hello scottA,

Maybe this sample will be helpful for you.
You do not have the required permissions to view the files attached to this post.
scottA
User
Posts: 2
Joined: Wed Apr 06, 2011 2:42 am

Re: Double buffering with simple DLL SDK

Post by scottA »

Thanks, this did the trick.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Double buffering with simple DLL SDK

Post by Stefan - PDF-XChange »

Great to hear Scott,

And kudos to Corwin :D

Best,
Stefan
dconner
User
Posts: 28
Joined: Fri Feb 07, 2014 10:27 pm

Re: Double buffering with simple DLL SDK

Post by dconner »

Downloaded the example and replaced the empty strings with my keys.

The example works great, however, I get "Demo" printed everywhere on the output.

Any ideas?


Thanks
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Double buffering with simple DLL SDK

Post by Stefan - PDF-XChange »

Hello dconner,

Please write to support@pdf-xchange.com with the license key and dev code you are trying to use and we will assist you with resolving this issue.

Regards,
Stefan
dconner
User
Posts: 28
Joined: Fri Feb 07, 2014 10:27 pm

Re: Double buffering with simple DLL SDK

Post by dconner »

Ok. I sent a message with the subject "Tracker Supp-Stefan RE: Double buffering with simple DLL SDK".

Thanks for you help!
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Double buffering with simple DLL SDK

Post by John - Tracker Supp »

Hi David,

see my email regarding the license that must be signed and returned before you receive your Viewer SDK specific license codes - the one you have now is good for all functionality in the SDK - with the exception of the Viewer functions as an additional license is required to be signed before releasing these.

Thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com