Subject Re: [firebird-support] 32 bit application and 62 bit FireBird + 64 bit Win7
Author Venus Software Operations

On 15-07-2014 16:48, Mark Rotteveel mark@... [firebird-support] wrote:
 

On 15 Jul 2014 03:47:07 -0700, "venussoftop@... [firebird-support]"
<firebird-support@yahoogroups.com> wrote:
> Hi all
>
> My application in 32 bit which stopped getting to the registry of
FireBird
> HKLM\Software\FireBird Project\FireBird Server\Instances >
DefaultInstance
> which the WinAPI RegOpenKey() fails and returns a value of 2 "Path Not
> Found"
>
> Please advise on what I need to keep in mind with the following specs:
> Win7 64 Bits
> FireBird 64 Bits
> VFP App 32 Bits
> FireBird ODBC 64 Bits

By default 32 bit applications are not allowed to read the 64 bit
registry. They only see the area of the registry for 32 bit programs (The
Wow6432Node). As the Firebird 64 bit element is written in the 64 bit
registry, it is not visible. You can access 64 bit nodes if explicitly
requested, but I am not 100% sure if and how that works. See also
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724072%28v=vs.85%29.aspx
and
http://msdn.microsoft.com/en-us/library/windows/desktop/aa384129%28v=vs.85%29.aspx

Why does your application need to know the location of the Firebird
server? Also if you want to use ODBC from a 32 bit application, then you
need to use the 32 bit ODBC driver!

BTW: The correct registry key for Firebird is with a lowercase b (at least
for 2.5).

Mark


Posted by: Mark Rotteveel <mark@...>










Thanks for your response Mark.

I need to get to the path for FBClient.DLL and also update Aliases.conf, thus was trying to find out where FB is installed.

Yes it was a typo here, I use Firebird with a lower b in code

Please advise.

Kind regards
Bhavbhuti