delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/11/21:21:23

From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: dlls with djgpp
Date: Tue, 11 Jan 2000 19:26:53 -0600
Organization: CRL Network Services
Lines: 20
Message-ID: <387BD85D.B0C8E550@a.crl.com>
References: <387B657C DOT 5D6B7667 AT brookes DOT ac DOT uk>
NNTP-Posting-Host: a116023.stl1.as.crl.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i586)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Mark Poolman wrote:
> 
>      I hope this isn't too obvious a question to post, but how do I get
> djgpp (programs) to generate (load) dlls. The equivalent in *n*x would
> be the  -shared flag and the functions in dlfcn.h, dlopen() etc. But
> none of these of these seem to exist in DJGPP.

You need the RSXNTDJ package to generate Win32 programs.  It is capable
of generating DLLs.

To use a DLL in a Windows program, you use the windows.h macros
LoadLibrary() and GetProcAddress().

>     Thanks for reading, and a happy y2k2y'all

Happy y2k2u2

-- 
Weiqi Gao
weiqigao AT a DOT crl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019