This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Using DLL problem


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]