Performance issue LicenseShellExecuteFile

Post here any questions/suggestions you have about novaPDF SDK or novaPDF OEM.
Posts: 1
Joined: Tue Nov 27, 2012 5:57 am

Performance issue LicenseShellExecuteFile

Postby martijnvandijk » Tue Nov 27, 2012 6:03 am

I hope someone can give me a hint on an issue I sometimes have at a customer of me.

I'm using the NovaSDK to merge multiple PDF files to one PDF file. For this I use the Windows shell execute method.

pNova.LicenseApplication "SPLWOW64.EXE"

pNova.LicenseShellExecuteFile sFileName

ShellPrintFile sFileName, GetActiveWindow()

The problem I have is that the line with the LicenseShellExecuteFile command sometimes takes up too 50 minutes. So I think there might be some locking issue?

Can someone please give me some pointers to finding the cause of this problem? Like what is LicenseShellExecuteFile doing internally?

Posts: 223
Joined: Wed Dec 16, 2009 12:46 pm
Location: Cluj-Napoca, Romania

Re: Performance issue LicenseShellExecuteFile

Postby Support » Thu Nov 29, 2012 5:20 am

LicenseShellExecuteFile calls first FindExecutable Windows API function to find the application associated with the provided document type. Then it calls LicesnseApplication for this application. You may replace the LicenseShellExecuteFile call with a LicenseApplication call if you know which application should print that document.

Return to “Developer Tools”