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:
|
229 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:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|