Quantcast
Channel:
Viewing all articles
Browse latest Browse all 43869

Forum Post: ACU-GT Runtime has stopped working

$
0
0

Until recently I dis not see this message.

In the last fortnight I have encountered this message on about five occasions. The first time it occurred I ended up replacing my profile.

Last week I was debugging a program and observed that when using "WIN$PRINTER" without any additional features, my programs were running OK.

Today, I ran a program which has terminated normally for years, but today it threw up the above message.

As I was running in debug mode at the time, I notices that it terminated abnormally when it reached the section of code below:

    INITIALIZE WINPRINT-SELECTION.

    INITIALIZE WINPRINT-NO-OF-PRINTERS.

    MOVE "CutePDF Writer" TO WINPRINT-NAME.    

    CALL "WIN$PRINTER" USING WINPRINT-GET-PRINTER-INFO-EX,     

                                                      WINPRINT-SELECTION              

                                         GIVING PRINT-STATUS.        

    MOVE 9 TO WINPRINT-CURR-PAPERSIZE.

    CALL "WIN$PRINTER" USING WINPRINT-SET-PRINTER-EX, 

                                                      WINPRINT-SELECTION     

                                         GIVING PRINT-STATUS.   

    CALL 'WIN$PRINTER' USING WINPRINT-SETUP     

                                        GIVING PRINT-STATUS.     

    IF  PRINT-STATUS < 1   

              GO TO EXIT-PROGRAM.

The common thread appears to be when using one of the apecial WIN$PRINTER features and in most programs these features are  required.

I am using Acu-Cobol Version 5 and in the process of migrating to Version 0.

Can any one give me any clues as to what I should be aware of, or what modules I should be looking for to correct this problem.

I would really appreciate any advice on this matter.

Regards

Geoffrey Hashman

 


Viewing all articles
Browse latest Browse all 43869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>