SlickEdit Community

SlickEdit Product Discussion => SlickEditĀ® => Slick-CĀ® Macro Programming => Topic started by: alex on January 20, 2007, 10:37:36 pm

Title: Getting dload to work?
Post by: alex on January 20, 2007, 10:37:36 pm
Hello, I am attempting to write a DLL that will allow me to use a C++ parser I have written for a custom language to tag files for that language.  Unfortunately, I am running into trouble getting a simple DLL loaded into SlickEdit properly.  I was wondering if someone could provide some pointers.

I tried using the example program that comes with SlickEdit, in the file simple.c, compiled to a DLL that exported all of the functions in the file (and checked this with dumpbin.exe).  I compiled it using our company's build tool that runs with MSVC 7 as its compiler, loaded it with dload, and tried to access the two functions that were supposed to be made available, but neither worked.  I don't get an error message when loading the DLL, and it appears that the entry method never gets called (adding an assert(0) to it, for instance, does nothing).  Is there something I'm missing?  I'm running SlickEdit 11.0.2 on WinXP Pro.
Title: Re: Getting dload to work?
Post by: sdayts on January 21, 2007, 01:58:20 am

Check out this thread:

Also, see Gary Ash's Visual Studio .NET Integrator dll example:

Hope this helps