|
-
Apr 5th, 2002, 05:39 PM
#1
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...
-
Apr 5th, 2002, 07:23 PM
#2
Fanatic Member
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?
-
Apr 5th, 2002, 07:46 PM
#3
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|