ScottF
Registered:1471024883 Posts: 6
Posted 1471025222
Reply with quote
#1
It am converting .dwfx to pdf - some times, not all, when I call .OpenFileEx the handle returned is -1. I need this call in order to get the sheet count in the dwfx - then when call .GetNumFilePagesEx I get exception "value does not fall within the expected range".I can open the dwfx fine in a viewer - so I know it is not corrupt. Any ideas? Thanks.
softcomp
Administrator
Registered:1370695867 Posts: 430
Posted 1471081392
Reply with quote
#2
Could you please check the last error code, which can be returned using the LastError property, after OpenFileEx fails (and return -1 handle)? This code may give an indication of what went wrong. Regards, Support
ScottF
Registered:1471024883 Posts: 6
Posted 1471196500
Reply with quote
#3
Hello, Thank you for your assistance, the LastError code returned = 3. Scott
softcomp
Administrator
Registered:1370695867 Posts: 430
Posted 1471199693
Reply with quote
#4
Hi, Error code 3 means no license. Do you use a trial or have you purchased a license? It's strange that you only get the error only on some calls. And which version are you currently using? Regards, Support
ScottF
Registered:1471024883 Posts: 6
Posted 1471353759
Reply with quote
#5
We are evaluating the converter using the 30 day trial - looks like the 30 days are up. We will go ahead and purchase a license as the testing we performed was very good. Thanks,