Announcement

Collapse

New Sub-Forum

In an effort to help make sure there are appropriate categories for topics of discussion that are happening, there is now a sub-forum for databases and database programming under Special Interest groups. Please direct questions, etc., about this topic to that sub-forum moving forward. Thank you.
See more
See less

Why DVSERVER after Compile?

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

  • Why DVSERVER after Compile?

    Why must you have DVSERVER running after you have
    compiled the program to an .EXE?

    Is there a way to make the .EXE a standalone like a
    regular PB program?

    Thanks in advance,
    Lloyd

  • #2
    Hi

    You need it because it acts as a "bridge" between your dos and windows programme. Read your docs. You can embed the server if you need to.

    ------------------

    Comment


    • #3
      Whot is DVSERVER?

      ------------------

      Comment


      • #4
        Originally posted by Gary Russell:
        Whot is DVSERVER?
        The DVSERVER is a program that runs in the background when
        writing programs to include items from the PowerBasic
        Developers Kit.

        My real question here is "How can I make the compiled program
        a standalone like any other PB Program?"

        ------------------

        Comment


        • #5
          Use the DVEMBED utility to create a single-EXE... this is covered in the PBDK doc's.

          JFYI, there was an update to PBDK's DVSERVER prior to is discontinuation... take a look at http://www.powerbasic.com/files/pub/pbdos/pbdk/

          If you email me at mailto:[email protected][email protected]</A> I'll send you the latest version of DVEMBED that I have here.

          ------------------
          Lance
          PowerBASIC Support
          mailto:[email protected][email protected]</A>
          Lance
          mailto:[email protected]

          Comment


          • #6
            Lloyd,

            It is not possible to compile a stand-alone *Windows* program using the DOS compiler.

            You can embed DVSERVER into your executable so that it can automatically be extracted and executed, but your PBDK applications will *ALWAYS* require the DVSERVER program in order to execute.

            If you want to write stand-alone Windows applications then you'll need to switch to PB/DLL.

            --Dave


            ------------------
            PowerBASIC Support
            mailto:[email protected][email protected]</A>
            Home of the BASIC Gurus
            www.basicguru.com

            Comment

            Working...
            X