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]
Other format: [Raw text]

Re: DLL And Visual Basic


greetings.

sorry for the slightly off topic reply...
should be mingw32 stuff.. apologies.

>NB: Additionally I compile with -fnative-struct. I found no 
>documentation for this option (Could anybody explain?) but it is used 
>for the gtk-port and sounds good to me :-)
>

from Tor Lillqvist's gtk page:
"Using GTK+ in your own programs
In order to use the DLLs as distributed in programs you build yourself, you must use either gcc-2.95.2, or Microsoft Visual C++. See the README.win32 file in the GLib sources. With gcc, you should use the -mno-cygwin and -fnative-struct flags. Using any other gcc setup will not work. (Hint: struct field alignment. Hint 2: msvcrt.dll.) If you don't understand what I am talking about, forget it. "

did a little search.. not exactly informative,
but should be enough to avoid some weird bugs.

http://sources.redhat.com/ml/cygwin/1999-09/msg00517.html


rgds,

kh

-- 

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


1 cent a minute calls anywhere in the U.S.!

http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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