I've completed a GUI project in Borland C++ builder but I'd like to enable it to receive command line arguments. This is simple in straight text programs (just access argc and argv in main() ), but I can't figure out how to do it in a GUI project (there is no main method that I can find). I just want to set a text field equal to the first command line argument at program start . . . anybody know how to do this?