PLSQL Developer crash with my plugin

Karel

Member
Hi,

I'm developing plugin in C#, .NET Framework 2.
I export these methods:
IdentifyPlugIn,About,OnMenuClick,Configure,CanClose,OnCreate,OnActivate,OnDeactivate,PlugInSubName,PlugInShortName,CommandLine
and everything is OK. But when i export also CreateMenuItem or RegisterCallback than program crash when in splash screen is shown. In debug txt is:
24.9.2009 9:54:15 PlugIn openTableAdditionalInfo.dll
24.9.2009 9:54:15 PlugIn loaded successfully
24.9.2009 9:54:18 Table additional info
Debug.txt when program not crash:
23.9.2009 13:46:36 PlugIn openTableAdditionalInfo.dll
23.9.2009 13:46:36 PlugIn loaded successfully
23.9.2009 13:46:36 Table additional info
23.9.2009 13:46:36 PlugInTranslationChange()
23.9.2009 13:46:36 SortPreferenceSets

Can you hep me please?
I have installed latest version of developer 7 and 8 RC2.
I can send you my plugin if needed.

Thank
 
I'm not sure if it's technically possible to create a Plug-In with C#. We only have experience with C++ and Object Pascal.
 
Plugin in C# is working, it's loaded, exported function return plugin name, about text and configure dialog is also working.
But when I export CreateMenuItem, PLSQL developer crash. I run it with debugplugins parameter and in debug.txt is information about successfull load.
I think that it means that PLSQL developer crash after loading the plugin.

Best regards
 

Similar threads

Back
Top