C (90/257)

From:
Date:08 Feb 2001 at 21:28:42
Subject:Re: Starting from WB & CLI

Hi Christophe

> I was wondering if someone has some dox on how to create C programs that
> can be launched from WB, and from CLI.
>
> I need to enable my (cli-based) app to be launched with an icon and to
> have it open a CLI or CON window itself.

There is a function called wbmain() which some compilers support, and this
is the entry point for when your program is started from the WB. If you
don't need to do anything special when the program is run from WB, just call
main() from within wbmain().

Jay

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981664128/
---------------------------------------------------------------------_->