delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/30/15:58:18

Message-ID: <366306C8.66638969@montana.com>
Date: Mon, 30 Nov 1998 13:57:44 -0700
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Access Windows registry
References: <Pine DOT PMDF DOT 3 DOT 95 DOT 981130144823 DOT 551560306A-100000 AT drew DOT edu>
Reply-To: djgpp AT delorie DOT com


Eric Bromberg wrote:
> 
> I know that you can download another program (RSNXTDJ) and use it to write
> Windows apps using DJGPP. But does anyone know after installing this
> program and the Windows SDK environment, will I be able to access the
> Windows registry and perform functions like opening a key, creating a key,
> and adding values?

You may have to hack around a little. the Registry* functions are
embodied in the advapi32.dll, which is not one of the libraries included
in the rsxntdj distribution. There is, however, a utility to import
libraries from .dll's, so you should be able to make the necessary
libadvapi32.a or hwatever you want to call it.

The author of the DRDX packages reports some problems with the import
utility, and has written his own version. You might want to look at that
if you have a problem. I haven't used this ttechnique with the registry
stuff, but I was able to sucessfully import the winmm.dll with the
rsxntdj utility.

- Raw text -


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