I'm looking again (after a few years interval) at your drivers API for use in a PB app, for printing reports etc. within my app to PDF.
The problem is that I don't see a way to register to receive the events. PB doesn't have something like the "with events" option in VB.
Several of your competitors (like novaPDF SDK, that I am currently using) have a way to pass a handle to the window that is to receive events to the API, and then receive them as "other" events in that window. But I don't see anything like this in your docs.
The other way this can work is if it was an actual ActiveX object that could be embedded in a window (rather than created via code). I'm not clear whether your IPXCControlEx is a real ActiveX embeddable object, or really just a COM control, but in any case, that wouldn't help, because it's the Printer property of that object that has the events on it.
Am I missing something? Thanks.
Event handling in a PowerBuilder app
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 3
- Joined: Fri Nov 09, 2007 8:19 pm
- Ivan - Tracker Software
- Site Admin
- Posts: 3549
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: Event handling in a PowerBuilder app
No, our driver API doesn't use messaging any more, just COM.
If there are no way to handle COM events in PB, maybe you can create separate .EXE/.DLL written on C++/C# which will work with PDF-XChange driver and pass your PB application messages ?
If there are no way to handle COM events in PB, maybe you can create separate .EXE/.DLL written on C++/C# which will work with PDF-XChange driver and pass your PB application messages ?
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 3
- Joined: Fri Nov 09, 2007 8:19 pm
Re: Event handling in a PowerBuilder app
Yes, I suppose that would be technically possible, but a lot of work!
- Paul - Tracker Supp
- Site Admin
- Posts: 6837
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Event handling in a PowerBuilder app
Good luck.!
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
-
- User
- Posts: 3
- Joined: Fri Nov 09, 2007 8:19 pm
Re: Event handling in a PowerBuilder app
OK, supposing I could make this work. PowerBuilder is a 32-bit development environment, but my app runs on both 32-bit and 64-bit Windows computers.
Are you aware of any problems using your SDK product from a 32-bit app on 64-bit computers?
What about problems if the program is not run as Administrator on systems with UAC?
(I'm asking because those are the problems I'm having with my current PDF SDK product, and with another one I've looked at.)
Thank you.
Are you aware of any problems using your SDK product from a 32-bit app on 64-bit computers?
What about problems if the program is not run as Administrator on systems with UAC?
(I'm asking because those are the problems I'm having with my current PDF SDK product, and with another one I've looked at.)
Thank you.
- Ivan - Tracker Software
- Site Admin
- Posts: 3549
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: Event handling in a PowerBuilder app
It should work on 64-bit OS as well as on 32-bits.Are you aware of any problems using your SDK product from a 32-bit app on 64-bit computers?
No, there are no problems.What about problems if the program is not run as Administrator on systems with UAC?
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.