From: Rob on
I have a DLL that has a function with several calls to RegValue(). My
problem is, when I run my app, I get an error message with the title text
'MyApp.exe - Entry Point Not Found' and the message 'The procedure entry
point RegGetValueA could not be located in the dynamic link library
ADVAPI32.dll.'

My DLL specifies advapi32.lib as an additional dependency in the linker
settings, so what gives? (The DLL is compiled to use MFC in a static
library. I need to do this, because the DLL provides custom actions to a
Windows Installer project that I'm working on, and I need the DLL to work
even if the latest MFC DLLs are not yet installed.)

FYI, I'm compiling under Visual Studio 2005.
From: David Ching on

"Rob" <luweewu(a)email.com> wrote in message
news:Xns983FBD190BC36Cloverdale123(a)198.80.55.250...
>I have a DLL that has a function with several calls to RegValue(). My
> problem is, when I run my app, I get an error message with the title text
> 'MyApp.exe - Entry Point Not Found' and the message 'The procedure entry
> point RegGetValueA could not be located in the dynamic link library
> ADVAPI32.dll.'
>

I've never heard of RegGetValueA. There is a RegQueryValueA.

-- David


From: Norbert Unterberg on
Rob schrieb:

> I have a DLL that has a function with several calls to RegValue().
> 'MyApp.exe - Entry Point Not Found'

What System do you run your application on?

From the online help of RegGetValue():

Requirements
Client: Requires Windows XP Professional x64 Edition.
Server: Requires Windows Server 2003 SP1.


Norbert
From: Rob on
Norbert Unterberg <nunterberg(a)newsgroups.nospam> wrote in news:
#uZ1ouW2GHA.3372(a)TK2MSFTNGP04.phx.gbl:

>
> What System do you run your application on?
>

I'm running XP, but my DLL (at least for the time being) will have to work
on Win2k and Server 2003 as well. Thanks to David Ching for pointing me to
RegQueryValue(). I'll be using that instead.
 | 
Pages: 1
Prev: Assert Error
Next: Animated GIFs don't animate