Plug-In dev --> Access violation at address 000000000. Read of address 000000000

Rethdakair

Member
Hello.
I'm using PL/SQL Trial version in disconnected mode without any Oracle installed.
I'm trying to develop a "query reference" plugin in Delphi 7. Delphi is not on the same machine as will be the PLSQL developper prog and Oracle database access.

When I try to use IDE_SETEXT( PChar) or IDE_CreateWindow( Int, PCHar, Bool) I get the address violation.

The plugin is detected, and is connecting to an access database (don't ask why.. it just has to), displaying list of queries. when I chose one, I try to send the SQL using :
IDE_SETTEXT( PChar( RegularStringVariable ) );
The signature came from PlugInIntf file.

The menu appears and is listed as I wanted, only error is with this. Are the functions initialized when the soft is not connected to Oracle?

Windows Vista 64 bits French Home Premium.

Thanks

Support info from PLSQL Dev
------------------------
PL/SQL Developer
Version 7.1.1.1339
Windows Vista (64-bit) 6.0 Build 6000

Physical memory : 1 832 832 kB (1 006 212 available)
Paging file : 3 912 808 kB (2 585 928 available)
Virtual memory : 2 097 024 kB (1 882 680 available)

Parameters
C:\Programmes\PLSQL Developer\PlSqlDev.exe

Preferences
Session mode: Multi
OCI Library:
Use OCI7: False

Preference Files
C:\Programmes\PLSQL Developer\Preferences\Default\Default.ini
C:\Programmes\PLSQL Developer\Preferences\Math\default.ini

Plug-Ins
*DSF-ERC - Requ
 
OK.
That's it, I'm officially blind.
The Unit PlugInIntf doesn't export the procedure RegisterCallback.
Just added it to the unit and now it does work.

Rule # 1, when there's no post about it, wheter it is a new bug or it so obvious no one is talking about it ! :-)
 
Back
Top