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

From: "Marp" <Marp AT 0 DOT 0 DOT 0 DOT 0>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: dlls with djgpp
Date: Tue, 11 Jan 2000 22:47:58 -0500
Organization: MindSpring Enterprises
Lines: 27
Message-ID: <85gthl$ipc$1@nntp9.atl.mindspring.net>
References: <387B657C DOT 5D6B7667 AT brookes DOT ac DOT uk> <387BD85D DOT B0C8E550 AT a DOT crl DOT com>
NNTP-Posting-Host: c7.b7.cf.33
X-Server-Date: 12 Jan 2000 03:48:05 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I think he means he wants to use dynamically loaded code in dos, not
specifically windows DLLs.

Weiqi Gao <weiqigao AT a DOT crl DOT com> wrote in message
news:387BD85D DOT B0C8E550 AT a DOT crl 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