public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* A newbie who is stuck with creating a DLL
@ 1999-09-21 22:05 Eric Feliu
  1999-09-23  0:46 ` Mumit Khan
  1999-09-30 23:42 ` Eric Feliu
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Feliu @ 1999-09-21 22:05 UTC (permalink / raw)
  To: cygwin

Sorry to bother everyone, but I have tried to follow the instructions
provided for creating a DLL and I am having trouble. First, do I need to
have a main function declared in my c code? everytime I try to compile
create the DLL I get an error stating something about Winmain16, which I
believe is the C main routine. This is what I am trying to do:
    I have some old source code that was written for Sco Unix 3.2 that I
am trying to port to Windows NT. I want to compile this code and create
a DLL with several of the routines so that I can call these routines
from an application called "Arcview". This app allows you to load DLL's
so that you can extend the Apps functionality. I have sucessfully
compiled my code with gcc under cygwin, but I don't think the DLL is
being created correctly. Please help me.

thanks for your patience
Eric


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A newbie who is stuck with creating a DLL
  1999-09-21 22:05 A newbie who is stuck with creating a DLL Eric Feliu
@ 1999-09-23  0:46 ` Mumit Khan
  1999-09-30 23:42   ` Mumit Khan
  1999-09-30 23:42 ` Eric Feliu
  1 sibling, 1 reply; 4+ messages in thread
From: Mumit Khan @ 1999-09-23  0:46 UTC (permalink / raw)
  To: number6; +Cc: cygwin

Eric Feliu <number6@pcbank.net> writes:
> Sorry to bother everyone, but I have tried to follow the instructions
> provided for creating a DLL and I am having trouble. First, do I need to
> have a main function declared in my c code? everytime I try to compile
> create the DLL I get an error stating something about Winmain16, which I
[ ... ]

See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ and look
for "how to create DLLs ..." entry.

Windows DLLs are not quite like shared libraries on Unix, and you do
need to take care.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A newbie who is stuck with creating a DLL
  1999-09-23  0:46 ` Mumit Khan
@ 1999-09-30 23:42   ` Mumit Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Mumit Khan @ 1999-09-30 23:42 UTC (permalink / raw)
  To: number6; +Cc: cygwin

Eric Feliu <number6@pcbank.net> writes:
> Sorry to bother everyone, but I have tried to follow the instructions
> provided for creating a DLL and I am having trouble. First, do I need to
> have a main function declared in my c code? everytime I try to compile
> create the DLL I get an error stating something about Winmain16, which I
[ ... ]

See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ and look
for "how to create DLLs ..." entry.

Windows DLLs are not quite like shared libraries on Unix, and you do
need to take care.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* A newbie who is stuck with creating a DLL
  1999-09-21 22:05 A newbie who is stuck with creating a DLL Eric Feliu
  1999-09-23  0:46 ` Mumit Khan
@ 1999-09-30 23:42 ` Eric Feliu
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Feliu @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

Sorry to bother everyone, but I have tried to follow the instructions
provided for creating a DLL and I am having trouble. First, do I need to
have a main function declared in my c code? everytime I try to compile
create the DLL I get an error stating something about Winmain16, which I
believe is the C main routine. This is what I am trying to do:
    I have some old source code that was written for Sco Unix 3.2 that I
am trying to port to Windows NT. I want to compile this code and create
a DLL with several of the routines so that I can call these routines
from an application called "Arcview". This app allows you to load DLL's
so that you can extend the Apps functionality. I have sucessfully
compiled my code with gcc under cygwin, but I don't think the DLL is
being created correctly. Please help me.

thanks for your patience
Eric


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-09-30 23:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-21 22:05 A newbie who is stuck with creating a DLL Eric Feliu
1999-09-23  0:46 ` Mumit Khan
1999-09-30 23:42   ` Mumit Khan
1999-09-30 23:42 ` Eric Feliu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).