NewtonWorldGetVersion()

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

NewtonWorldGetVersion()

Postby Stucuk » Thu Aug 26, 2010 7:56 pm

I think it would be nice to be able to get if the DLL is Single or Double precision from NewtonWorldGetVersion() or a separate function. If it returned an Array [0..3] of Char (Don't know how it would be in C. Char in Delphi is a Single ASCII Character), it could then give something like "9.99s" or "9.99d".
Last edited by Stucuk on Thu Aug 26, 2010 8:32 pm, edited 2 times in total.
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland

Re: NewtonWorldGetVersion()

Postby Julio Jerez » Thu Aug 26, 2010 8:31 pm

oh yes good idea, I will add it
Julio Jerez
Moderator
Moderator
 
Posts: 12452
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonWorldGetVersion()

Postby Stucuk » Thu Aug 26, 2010 8:32 pm

Btw Why does it need a World? Wouldn't it be better if it didn't require the user to create a world (Thus meaning a function could be made to work out if the DLL is compatible with a header without first creating a world).
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 46 guests