To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 304
303  |  305
Subject: 
Re: L3P v1.3 for Mac OSX
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Thu, 5 Dec 2002 18:18:55 GMT
Viewed: 
1511 times
  
Essentially the \r make it one big line. L3P says it has the wrong number of
fields. Maybe it reads the buffer limit and tries again because there is a
variety of error messages per file.

I think ldglite has this same problem.  Remember when we had the discussion
about using the linux parts vs. the parts that Erik has for download?  I could
not get Erik's parts to work with l3p either.

I'm looking at how to fork L3P from my Carbon app. The cleanest way might be
to send a "Do Shell Script" Apple Event to the Terminal.  (This will fail
gracefully on Mac OS 9 or older.) I would make a "Run L3P" dialog in
BrickDraw3D that allows choices of options. The options would default to the
last camera position used in BrickDraw3D.

You can mix Cocoa and Carbon, can't you?  If you could, you would have to wrap
L3P in an NSTask.  Apple's developer site has some example scripts you could
check out, you can find discussion of this from Google too, and I am working on
an L3P wrapper too.  Isn't there a generic system call in ANSI C?... (I really
don't know, it just seems like there should be)

James



Message has 1 Reply:
  Re: L3P v1.3 for Mac OSX
 
(...) These might not be the cleanest solution. I want the same binary to launch on OS 8.6 or 9. But I think you can still try to bring in a Cocoa framework at runtime to a CFM process though. CFM is required on OS 9. Mixing Cocoa and Carbon is (...) (22 years ago, 6-Dec-02, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: L3P v1.3 for Mac OSX
 
(...) Essentially the \r make it one big line. L3P says it has the wrong number of fields. Maybe it reads the buffer limit and tries again because there is a variety of error messages per file. Now that you ask I don't know how one can use fgets for (...) (22 years ago, 5-Dec-02, to lugnet.cad.dev.mac)

42 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