Skip to Content
0

PrintGetPrinters crashes

Oct 19, 2016 at 01:40 PM

118

avatar image

Hello together,

PrintGetPrinters is crashing in my program on some computers with Win10, while it is working on a lot of installations with no problems.

Version PB 12.6 4091

Are there any suggestions?

Thanks,

Bernhard

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Chris Pollach Oct 22, 2016 at 01:59 AM
0

Hi Bernhard;

Have tried wrapping your code in a TRY..CATCH block and then introspected the Exception object on a failure to see if there is more error information about the problem when this error occurs?

Also, the TRY..CATCH may at least stop your application from crashing.

HTH ... Regards: Chris

Share
10 |10000 characters needed characters left characters exceeded
Bernhard Giesriegl Oct 24, 2016 at 05:55 AM
0

Hi Chris,

I will try this, thanks for your suggestion,

Bernhard

Share
10 |10000 characters needed characters left characters exceeded
Bernhard Giesriegl Oct 24, 2016 at 02:32 PM
0

Hi,

sorry for confusing, but the problem was NOT coming from PrintGetPrinters but in unexpected manner from a corrupt datawindow retrieving before.

Thanks for your help!

Bernhard

Show 1 Share
10 |10000 characters needed characters left characters exceeded

I am glad that you found the real issue Bernhard! :-)

0