Re: Calling advapi32.dll from stored procedures

From: John Brown <johnbrown105_at_hotmail.com>
Date: 20 Jun 2001 08:57:00 -0700
Message-ID: <ee1f9e62.0106200756.79c24aa9_at_posting.google.com>


I have never tried calling Win32 API functions from a database stored procedure, but I have used the ORA_FFI package in Developer/2000.

I notice that you have declared:

> library advapi
> name regopenkeyexa
> parameters (
> hkey long,
> lpSubkey string,
> ulOptions long,
> samDesired long,
> phkResult long,
> )

phkResult is actually a pointer to long (long * in C), not a long. Maybe that is your problem. Received on Wed Jun 20 2001 - 17:57:00 CEST

Original text of this message