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 / 14157
14156  |  14158
Subject: 
Re: Writing an LDDP plugin
Newsgroups: 
lugnet.cad
Date: 
Sat, 28 Oct 2006 23:03:25 GMT
Viewed: 
1536 times
  
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.



Message has 2 Replies:
  Re: Writing an LDDP plugin
 
(...) 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 (...) (18 years ago, 29-Oct-06, to lugnet.cad)
  Re: Writing an LDDP plugin
 
(...) hi lee, good to hear that you've dived into plug-in coding for LDDP! does it mean that we also see your excellent "Edger" ported from java to a LDDP plug-in? You know that I've been looking forward to see this happening for years. PLUK, w. (18 years ago, 29-Oct-06, to lugnet.cad)

Message is in Reply To:
  Writing an LDDP plugin
 
I'm in the process of writing a plugin for LDraw Design Pad. Problem is, I can't get the darn thing to work in the program. When I compile the .dll and move it to the Plugins directory for LDDP, and open the program, the menu entry for my plugin (...) (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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