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 / 3911
3910  |  3912
Subject: 
Re: L-CAD Parts Messages (was: Suggestion for ML-CAD Plug-Ins)
Newsgroups: 
lugnet.cad.dev, lugnet.cad.mlcad
Date: 
Fri, 4 Feb 2000 22:11:04 GMT
Viewed: 
2884 times
  
In lugnet.cad.dev, Anders Isaksson wrote:

Steve Bliss skrev i meddelandet <+PCaOHXM4TXRXiZv7pFWaNUk6h+d@4ax.com>...
In lugnet.cad.dev, Anders Isaksson wrote:
One long string with line separators? Or a multi-message approach (coded
'start-of-message', 'part-of-message', 'end-of-message' - message types 3,4
and 5)?

One long message with line separators.  As long as WM_COPYDATA permits, • assuming
WM_COPYDATA specifies a limit. <reads doc> Yeah, there's a limit.  We can • only
have 2^32 bytes in the passed string.  Drat.  ;)

Would a multi-message approach be more powerful than a single block of LDraw
code?

Not really, assuming a very long message *really* works, but I suppose there
is no reason why it shouldn't. Multi-message is always more complicated than
single message too. We'll go for single message, multi-line, big chunks.

No problems in VB with a super long string?

Nah.  The only VB concern is if outgoing messages will be translated down to
single-byte codes from the VB default double-byte.

But if it doesn't happen automatically, the data can be filtered through a byte
array first.

Steve



Message is in Reply To:
  Re: L-CAD Parts Messages (was: Suggestion for ML-CAD Plug-Ins)
 
Steve Bliss skrev i meddelandet <+PCaOHXM4TXRXiZv7pF...ax.com>... (...) assuming (...) only (...) Not really, assuming a very long message *really* works, but I suppose there is no reason why it shouldn't. Multi-message is always more complicated (...) (25 years ago, 4-Feb-00, to lugnet.cad.dev, lugnet.cad.mlcad)

2 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