Subject: RE: Undefined reference to 'WinMain@16'???
From: [email-masked] (Sergey Okhapkin)

3 Jul 1997 00:55:19 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <01BC879C.DB205B30.cygnus.gnu-win32@sos>
Original-To: "[email-masked]" <[email-masked]>,
        "'Roland Geier'"
	 <[email-masked]>
Encoding: 10 TEXT
Original-Sender: [email-masked]

Roland Geier wrote:
> When trying to build a dll consisting of serveral c++-object-files I
> always get an undefined reference to 'WinMain@16'. 

Add empty main() function to one of your sources.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".