Subject | Re: [firebird-support] 32 bit application and 62 bit FireBird + 64 bit Win7 |
---|---|
Author | Mark Rotteveel |
Post date | 2014-07-15T11:18:56Z |
On 15 Jul 2014 03:47:07 -0700, "venussoftop@... [firebird-support]"
<firebird-support@yahoogroups.com> wrote:
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
<firebird-support@yahoogroups.com> wrote:
> Hi allFireBird
>
> My application in 32 bit which stopped getting to the registry of
> HKLM\Software\FireBird Project\FireBird Server\Instances >DefaultInstance
> which the WinAPI RegOpenKey() fails and returns a value of 2 "Path NotBy default 32 bit applications are not allowed to read the 64 bit
> 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
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