Results 1 to 3 of 3

Thread: Borland - Console app needs vcl50.bpl?

  1. #1
    AnT
    Guest

    Borland - Console app needs vcl50.bpl?

    //---------------------------------------------------------------------------
    #include <stdio.h>
    #include <conio.h>
    #include <vcl.h>
    #pragma hdrstop
    //---------------------------------------------------------------------------
    #pragma argsused
    int main(int argc, char* argv[])
    {
    char cChar[1];
    start:
    clrscr();
    printf("How ya doin?\nI'm doin fine.\n");
    printf("Press Q or q to exit: ");
    gets(cChar);
    goto end;
    end:
    if(*cChar == 'Q' || *cChar == 'q')
    {
    return 0;
    }
    else
    {
    String cPress = "You Pressed ";
    ShowMessage(cPress + *cChar);
    goto start;
    }
    }
    //---------------------------------------------------------------------------
    Thats my code, really really basic stuff. I gave it to someone, and it said missing the .bpl file? Did I compile it wrong? Thanks...

  2. #2
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    maybe your missing a lib file?

    did you try to rebuild the whole thing? maybe its generated on a build
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  3. #3
    Lively Member
    Join Date
    Jun 2000
    Posts
    122
    If you use vcl.h, you will need to include runtimes libraries when you give it to someone. I suggest using the MessageBox API rather than the ShowMessage function and char* rather than the String type.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width