Building Plug-ins with CYGWIN is EASY

kctx7

Member²
Anyone out there who would like to learn to program PL/SQL Developer's plug-ins, but doesn't have the tools from Microsoft to do it (and maybe like me doesn't want to learn that stuff)...

You can very EASILY compile a .DLL in CYGWIN and I'm already using some DLLs built this way as plug-ins.

From the example included with PLSqlDev, you'll just need DemoWin32/*.cpp and *.h. You can lose the other project-related files. Here's the gcc command:

gcc -c *.cpp; gcc -shared -o mydll.dll *.o -lstdc++;

Copy the dll to your plug-ins directory, and copy cygwin1.dll from /cygwin/bin/ to C:\WINDOWS\SYSTEM32

ENJOY!
 
Would anyone be interested in integration to "ANT": the java build program? We're using it to build PL/SQL now, so I've made a plug-in that lets you launch ant easily from within PL/SQL developer.

If there's enough interest, I'll see if I can contribute it.

The other tools I've done so far are something to swap what's commented with what's not, sometimes useful for A-B testing. Also, two edit-menu options to flip the terms around a "," or an "=". For instance, hilite THIS=THAT and it is changed to THAT=THIS.

Again, if there's enough interest, I'll okay it with my management. I'd just as soon release them as source. I need to know where I can upload them or email them.
 
Back
Top