C (166/178)

From:Charlie
Date:28 Jul 2000 at 23:29:31
Subject:Re: WBStartup problem

----- Original Message -----
From: Andrew Markwell <andrewmarkwell@hotmail.com>
To: <amiga-c@egroups.com>
Sent: Friday, July 28, 2000 7:12 AM
Subject: [amiga-c] WBStartup pr

> >From: "Francis G. Loch" <fgloch@yahoo.com>
>
> >
> >Hi all,
> >
> >I've got a bit of a problem with one of my current
> >projects in that if I put it in the WBStartup drawer
> >it can cause the computer to hang displaying a black
> >screen.
> >
> >Any ideas how I can solve this?
> >
> Maybe the program in question doesn't have any Workbench startup code?

To put startup code in a Program depends on the compiler.

if you are using dice do this:

in your main entry change it to

VOID main(VOID)

then in your programat the end do this

int wbmain()
{
main();
}

That will put startup code in your program

--------------------------------------------------------------------<e|-
Tradiant is creating the premiere marketplace for shippers and ocean
carriers to conduct the business of moving containerized freight online.
Our comprehensive suite of online services saves time and money. Visit
Tradiant today. www.tradiant.com
http://click.egroups.com/1/5503/1/_/451227/_/964810500/
--------------------------------------------------------------------|e>-