Author Topic: Getting dload to work?  (Read 3894 times)

alex

  • Community Member
  • Posts: 64
  • Hero Points: 6
Getting dload to work?
« 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.

sdayts

  • Community Member
  • Posts: 42
  • Hero Points: 5
Re: Getting dload to work?
« Reply #1 on: January 21, 2007, 01:58:20 am »
Alex,

Check out this thread:
http://www.lazyhacker.com/slickedit/forum/viewtopic.php?t=283&highlight=dll

Also, see Gary Ash's Visual Studio .NET Integrator dll example:
http://www.wideopenwest.com/~gary_ash/

Hope this helps