To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14158
14157  |  14159
Subject: 
Re: Writing an LDDP plugin
Newsgroups: 
lugnet.cad
Date: 
Sun, 29 Oct 2006 02:13:10 GMT
Viewed: 
1624 times
  
In lugnet.cad, Lee Gaiteri wrote:
Please disregard the previous message. I was able to compile and use the plugin
by creating a .def file, and using this syntax:

extern "C" void __declspec(dllexport) WINAPI Plugin_Info(unsigned char CaseID,
char *buffer, unsigned char maxlength)

...and this is what my .def looks like:

EXPORTS
   Plugin_Info   @1
   ProcessText   @2

I suspect the ordinals also had something to do with this. Anyway it works now,
and my plugin is proceeding forward.

Hmm, interesting.  Thanks for the information.  LDDP is developed using Delphi
and we've had problems in the past with our C++ sample code.  Having not
programed in C++ in quite a long time (10+ years), my skill with C++ is not very
well developed.  Once you get your plugin up a running, please share your source
so that I can have a look and possibly update the sample code.

-Orion



Message is in Reply To:
  Re: Writing an LDDP plugin
 
Please disregard the previous message. I was able to compile and use the plugin by creating a .def file, and using this syntax: extern "C" void __declspec(dllexport) WINAPI Plugin_Info(unsigned char CaseID, char *buffer, unsigned char maxlength) (...) (18 years ago, 28-Oct-06, to lugnet.cad)

7 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR