I then downloaded the PDF Tools SDK (4.0196) and installed it. I copied the necessary DLLs to my bin folder where I build all my projects. The following DLLs were copied:
dscrt40.dll
fm40base.dll
fm40tiff.dll
ixclib40.dll
pxclib40.dll
xccdx40.dll
xcpro40.dll
I then downloaded the PDF XChange ActiveX Viewer (2.5.196), installed it, and copied the necessary files into my bin\PDFViewer folder. I then registered both COM components (DLL and EXE).
Now when I run my product, I get the "unlicensed" water marks on the documents I save in the viewer within my product.
The only differences between today and yesterday was that I did not have PDF Tools installed and thus their DLLs were not in my bin folder. The reason I needed PDF Tools was to work around a Extract Pages problem in the viewer. And yes, eventually I will actually purchase PDF Tools but for now, this does not make sense.
I have verified that I'm making the SetDevInfo call and that it is not choking:
Code: Select all
Viewer.SetDevInfo(LicenseKey, LicenseCode);