To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9057
9056  |  9058
Subject: 
Re: Another LDDP plugin question.
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 7 Jul 2003 21:00:39 GMT
Viewed: 
1709 times
  
In lugnet.cad.dev, Don Heyse wrote:
In lugnet.cad.dev, Orion Pobursky wrote:
I have no idea what the problem could be unless Niel used an older version of
the plugin code.  This shouldn't be an issue with Delphi.

P.S. All the current developers at the LDDP project are using Delphi 6 or
higher.  As far as what Niel is using, I don't know.

I think he might have mentioned an older version of Delphi.  Anyhow,
I suspect it may be an issue with Delphi vs gcc.  I got my ldlist wrapper
plugin working in ldglite, but it doesn't work in LDDP.  I added some
debugging and saw LDDP call Plugin_Info(6, "óYC", 255) and that was about
it.  Do the garbage chars in the string buffer mean anything?  Am I
supposed to be using pascal strings with the length first?  If you
get a chance, perhaps you could try debugging it from inside lddp.
I've got a zip with the current source and dll here:

  http://ldglite.sourceforge.net/pluginldlist.zip

It won't do much unless you put ldlist.exe in the plugins directory,
but it should at least respond to any plugin_info() queries.

Ok I fixed the problem in the ldlist plugin and replaced the zip file.
Turns out I had to use the WINAPI convention and add an alias to the .def
file to make LDDP happy.  I wonder if it's a similar calling convention
problem with the track and wheel generator plugins, perhaps caused by an
older version of Delphi...

Meanwhile, now that there's an ldlist plugin, someone'll have to
implement drag and drop for LDDP to really make it useful. ;^)

Enjoy,

Don



Message has 1 Reply:
  Re: Another LDDP plugin question.
 
(...) What would the position and matrix be? I see two possibilities: Same position amd mtrix as previous part 0,0,0 and Indentity Matrix Of course we could add the ability for the user to choose between the two or input desired default position or (...) (21 years ago, 8-Jul-03, to lugnet.cad.dev, FTX)

Message is in Reply To:
  Re: Another LDDP plugin question.
 
(...) I think he might have mentioned an older version of Delphi. Anyhow, I suspect it may be an issue with Delphi vs gcc. I got my ldlist wrapper plugin working in ldglite, but it doesn't work in LDDP. I added some debugging and saw LDDP call (...) (21 years ago, 7-Jul-03, to lugnet.cad.dev)

11 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