Announcement

Collapse
No announcement yet.

Using PBCC 5.0 with PB for Dos 3.5

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using PBCC 5.0 with PB for Dos 3.5

    Using PBCC 5.0, PB for Dos 3.5 and Win XP

    Prog-1(PBCC 5.0) exe file SHELLs to Prog-2(PB for Dos 3.5) exe file and then returns to Prog-1.

    The above appears to function just fine, however, I am sorta anxious that there is a problem here that I donot recognize. I’d rather not use PB for Dos, but converting to PBCC 5.0 has not gone well for one task. This is my only solution.

    I am requesting your opinion about what I’ve done. Am I just looking for trouble?

    Thanks, Jack

  • #2
    >Am I just looking for trouble?
    No.

    SHELL does what it does. Your MS-DOS program does what it does. End of story.
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Shell

      Jack,

      It is very eazy to Shell from a Dos program to run a PBCC module and I did it very often when I started to use PowerBasic.
      If you want to bring back control to your old program after the CC module, just add the proper line after your SHELL Command.
      You can also pass any values you need after the Shell.
      If you Shell from CC5 it is eazier as the new CC5 SHELL Command is much improved.
      Right now, I am Shelling my old QB45 modules from a Graphic Console Menu while I re-write them with the new technique and I look forward to the time my code is all CC5x.
      Old QB45 Programmer

      Comment


      • #4
        "re-write them with the new technique and I look forward to the time my code is all CC5x."

        This is exactly what is taking up much of my time. I was good to hear you doing much the same as myself while moving from PB for Dos to PBCC 5.0

        Thanks for your comment-Jack

        Comment

        Working...
        X