Message-ID: <366306C8.66638969@montana.com> Date: Mon, 30 Nov 1998 13:57:44 -0700 From: bowman 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.