NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanco123 on June 13, 2013, 12:17:25 AM
-
Hi Bruce
I try to get a multi dll app running. Everything compiles, but when I start it in the web browser, I immediately comes up with the EXCEPTION window with the close application.
Can you take a look at the example please.
Regards
Johan
[attachment deleted by admin]
-
I get link errors when compiling the exe -
Unresolved External for the PDF stuff.
I'm guessing you need to read the PDF Tools docs to see how to set that up for multi-dll? I don't know the details for that.
Perhaps do that, then repost the example?
cheers
Bruce
-
Bruce, Johan, Yes,
I have been trying for a few days to weeks now to get this to work too.
The ideal example will have the following:
- Multi DLL NetTalk App
- Multi DLL DeskTop App
- With a PDFTool (4.1) example that can print from both App's (ie a Report.DLL)
Getting the multi-DLL NetTalk App to work has been quite frustrating with the 'Access Violation Errors', thus making it difficult to get that part of the App to work. Adding a Report.DLL makes it impossible.
Where I managed not to get Errors, either the report in the NT app work, or the report in the DeskTop app. I think some logic has broken somewhere, but I struggle so much to make an example app to demonstrate this I have given up.
Bruce, please see whether you can construct some example app like this, or if you wish, I can send you 2 of my attempts on 2 different apps (the PDF Tools 4.1 example posted here last week or the Multi-DLL app). Don't know where else to go with this.
Thanks
Charl
-
I guess if Johan posts back the earlier example, with the PDF stuff added, that will be a starting point.
cheers
Bruce
-
Bruce,
Right, here is the ideal example ;) Johan got the App right, sent it to me and I've made the DeskTop app.
And as predicted and experienced elsewhere, we cannot get the Report in the DLL to work as per the documentation.
So in the attachment, Names.app is the NetTalk app, DeskTop.app the desktop app, the report is in dll Na_Reports.app. Password and username for the NetTalk app is demo and demo.
Please have a look at why the Report only works in the NetTalk app and does not show on the DeskTop app.
Thanks
Charl
Clarion 8.0.8973, NetTalk 7.10, StringTheory1.84, PDFTools 4.1
[attachment deleted by admin]
-
Yes, and, Please?
-
Hi Charl,
can you check the example and rep-post please.
When I compile the Na_Reports.app I get lots of "Unresolved External" errors for the PDF stuff. There's also no PDF extension in the Data dLL (which I was expecting.)
So maybe you had the app open (unsaved) when you zipped the example?
Anyway please check and repost please.
cheers
Bruce
-
Example checked, there is no problem. I downloaded the upload to new directory, unzipped, compiled, no errors.
Maybe here is a problem: Clarion 8.0.8973, NetTalk 7.10, StringTheory1.84, PDFTools 4.1 ?
I've added the PDF Tools Extension to the data app as per your suggestion, still compiles fine (here).
I now attach the whole directory as example. Please have a look.
Thanks
[attachment deleted by admin]
-
Hi Bruce
I update the example. The pdf report print in the desktop app with Tracker V4.1.
The pdf report print in the web browser with Tracker 4.1, BUT the problem is that when the pdf file opens in the web browser, it also opens a windows pdf file, but cannot find the file. The problem is that it must only open the pdf in the web browser and not in windows as well.
NT7.12 StringTheory 1.90 and Trackersoft V4.1
Please find the example file as attached.
Kind regards
Johan
[attachment deleted by admin]
-
Hi Johan,
In your example, rpt_names app, global pdf tools extension, Previews tab, you have
Run Print Previewer: Yes - Always
In the local report extension this is set to
Run Print Previewer: No - Never.
Unfortunately though the global extension settting seems to win as the PDF template generates;
PDFXTR1.SetPreview(True)
I have added a bit to the nettalk template so that if it is running in Web mode this automatically sets;
PDFXTR1.SetPreview(False)
and I think that will solve your problem.
so keep an eye out for build 7.13
cheers
Bruce