Newton 2.0x Archemedia Open Beta

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: Newton 2.0x Archemedia Open Beta

Postby Stucuk » Mon Jul 19, 2010 10:58 am

@rvangaal: it would be better if you stored the Newton DLL's CRC/MD5/<Insert Other Method Here> in the header, that way you can check to see if the DLL is the same or not without relying on a version number being updated. This method wouldn't work if your linking directly to the Lib ofcorce.
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland

Re: Newton 2.0x Archemedia Open Beta

Postby rvangaal » Tue Jul 20, 2010 4:39 am

I'm statically linking indeed. For a DLL's CRC, wouldn't I have to load & calculate that everytime I run? Seems a bit costly, and you never know where Windows loads DLL's these days (I never understood WinSxS completely; often you cannot put DLL's in the apps directory anymore, but for home-built DLL's it seems fine). Well, that's a different discussion; I statically link so use the .h method. But indeed, it's good to point at that this won't work with a DLL; you will need to call a DLL version function (NewtonVersion() exists? not sure) and compare it. Just take care that Julio often forget to update the minor version number (hint ;-) ).
rvangaal
 
Posts: 61
Joined: Mon Jun 08, 2009 1:11 pm

Re: Newton 2.0x Archemedia Open Beta

Postby Stucuk » Tue Jul 20, 2010 5:46 am

rvangaal wrote:I'm statically linking indeed. For a DLL's CRC, wouldn't I have to load & calculate that everytime I run? Seems a bit costly, and you never know where Windows loads DLL's these days (I never understood WinSxS completely; often you cannot put DLL's in the apps directory anymore, but for home-built DLL's it seems fine).


You would need to calculate it every time your app runs but calculating a CRC for one file won't cause a noticeable pause in your application. When you calculate a CRC you need to load the file like a normal file and shove its contents in a buffer, then send the buffer to code which works out the CRC. You can put practically any DLL in an applications directory and it will use it over the one in the system folder(At least when it comes to applications built using Delphi).
User avatar
Stucuk
 
Posts: 801
Joined: Sat Mar 12, 2005 3:54 pm
Location: Scotland

Re: Newton 2.0x Archemedia Open Beta

Postby Julio Jerez » Tue Jul 20, 2010 1:43 pm

I rvangal is right, the solution is to update the Get Revision function, that's my bad.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0x Archemedia Open Beta

Postby Julio Jerez » Sun Aug 01, 2010 11:24 pm

I posted version 2.24 for all platform before I swith GUI.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0x Archemedia Open Beta

Postby Carli » Mon Aug 02, 2010 10:53 am

try the linux64 link.
Carli
 
Posts: 245
Joined: Fri Oct 02, 2009 5:28 am

Re: Newton 2.0x Archemedia Open Beta

Postby Julio Jerez » Mon Aug 02, 2010 2:00 pm

Upps the name was wrong it is OK now.
Please try again.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0x Archemedia Open Beta

Postby shybovycha » Sun Aug 22, 2010 2:40 pm

Greetings!

As i suppose,
Code: Select all
_ASSERTE(0);


will always throw an exception, am i right?
Image
User avatar
shybovycha
 
Posts: 52
Joined: Fri Oct 23, 2009 6:15 am
Location: Poland

Re: Newton 2.0x Archemedia Open Beta

Postby Julio Jerez » Sun Aug 22, 2010 6:56 pm

yes,
I do that to remind myself of code that is incompleted
I like that assert because as opposet to eh standrd assert, _ASSERTE (0) is non destructive
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0x Archemedia Open Beta

Postby shybovycha » Mon Aug 23, 2010 7:53 am

nevertheless, none of all demos you've provided can't run... to tell the truth, they start, but throw some access violation error and fail... when i commented those assertions, demos seemed runnable but anyhow failed... i just can't write my article on CC and trimesh/heighfield.... =(
Image
User avatar
shybovycha
 
Posts: 52
Joined: Fri Oct 23, 2009 6:15 am
Location: Poland

Re: Newton 2.0x Archemedia Open Beta

Postby ledahut » Mon Aug 23, 2010 8:44 am

Try version 2.16. Demos will works.
ledahut
 
Posts: 98
Joined: Mon Jun 21, 2010 8:03 am
Location: France

Re: Newton 2.0x Archemedia Open Beta

Postby shybovycha » Mon Aug 23, 2010 11:05 am

trying version 2.13 =)

Julio, i wanna tell you 'bout my idea on demos: it would be just great if you make 'em separated and independent (just a lot of applications, using OGL and few other third-parties; not StadnardApplication or something like that). This way will make sources more readable and re-usable =)
Image
User avatar
shybovycha
 
Posts: 52
Joined: Fri Oct 23, 2009 6:15 am
Location: Poland

Re: Newton 2.0x Archemedia Open Beta

Postby Julio Jerez » Mon Aug 23, 2010 1:49 pm

That is a good idea. I am wroking in remeking teh demo to replace wxWidget this week. and Coolldat is alredy gone.

In a way the demos will be more independed now since they will load scenes tha are already made.
The Original demo will remind for refrence, but the demos will aheb a command that will expoist eh scene to a .xml or .new file
and Any application will be able to load it usien teh Archive file format.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0x Archemedia Open Beta

Postby Maragnus » Tue Dec 14, 2010 9:20 pm

Could you please provide 2.26 in Windows x64?
Maragnus
 

Re: Newton 2.0x Archemedia Open Beta

Postby Julio Jerez » Tue Dec 14, 2010 9:52 pm

Ok this weekend, maybe friday.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests