Skip to Content

PrintGetPrinters crashes

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 22, 2016 at 01:59 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 24, 2016 at 05:55 AM

    Hi Chris,

    I will try this, thanks for your suggestion,

    Bernhard

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 24, 2016 at 02:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded