From: czgrr <czgrr@my-dejanews.com>
Subject: Re: Importing calls to access Windows registry
Date: 1999/05/11
Date: 1999-05-11T00:00:00+00:00 [thread overview]
Message-ID: <7h8sil$l9i$1@nnrp1.deja.com> (raw)
In-Reply-To: 7gulm9$20b$1@nnrp1.deja.com
Thanks to all who replied, I can now link the library in successfully.
For anyone else who is interested...
1. In "Project/Settings/Link/Pass to linker" I added:
c:\progra~2\aonix\objectada\apilib\advapi32.lib
(it didn't like "Program Files" in the path, even with quotes)
2. In the source file I added:
PRAGMA Linker_Options ( "-defaultlib:advapi32" ) ;
3. For the specification of RegOpenKey, the import statement was
changed to:
PRAGMA IMPORT ( STDCALL, RegOpenKey, "RegOpenKeyA" ) ;
TTFN,
czgrr
--
No email, please - reply to the newsgroup. Email may be made public.
My opinions are not necessarily those of my employer.
My suggestions might not be correct. Use at your own risk.
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
prev parent reply other threads:[~1999-05-11 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-07 0:00 Importing calls to access Windows registry czgrr
1999-05-07 0:00 ` Tom Moran
1999-05-07 0:00 ` dennison
1999-05-07 0:00 ` Sune Falck
1999-05-11 0:00 ` czgrr [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox