Using DLL problem

Ildar Mulyukov ildar@sendmail.ru
Wed Mar 7 03:59:00 GMT 2001


  Well, I've done everything as it was written in docs.
The result is:
I successifully built non-relocatable DLL and a program to use it. BUT as
I build dll, demo stackdumps' in the dll in a function that does something
useful. (behaving ok in an empty function). But linked statically program
runs perfectly! Same code, different behaviours...

In fact I failed to build a relocatable DLL as it was described in Users
Guide at Cygwin site. It complains:
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined 
reference to `WinMain@16'

Is it non-concurrensy of docs? 

Any help would be appresiated...
-- 
Ildar Mulyukov, student of DACR, MIPT (Moscow, Russia)
e-mail: ildar@sendmail.ru, ICQ# 4334029



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list