PDA

View Full Version : CodeGear+Vista x64+OpenGL



andygfx
16-08-2007, 04:10 PM
I have rewrited my very old 3d engine to new caled Final3D, but before month I changed PC to new

(C2D X6800, 4GB RAM, NV8800GTX, Vista x64 Ultimate)

now i have big problem because CodeGear compile engine OK, but after run show error: acces violation nvogl32.dll from adress 00000000. I tried engine in XP SP2 compatibility mode and problem still same. I use dglOpenGL.pas header.

PS.: Problem is only if I use GLSL shaders in a scene.

SRC/BIN -> http://a3d.intelligentdevelopment.sk/download/Final3D_Engine_2006.zip

[A]

Shader debug/test scene:

Open default.cfg and set:

cg_level_name : tbn_test.level

[B]

Newton debug/test scene:

Open default.cfg and set:

cg_level_name : npx_test.level



Any experiens with this problem?[/url]

technomage
16-08-2007, 06:54 PM
Nice to see you back :D

I don't have vista but I tested your demo on my XP machine (Athlon 3800+, 1 Gig Ram, NV 7800 GT) And it all worked fine.

I can't see anything wrong with your shaders either, but I'm not an expert (yet :wink: )

The error sounds like a bug in the nVidia Vista Drivers though, rather than anything in your program.

andygfx
16-08-2007, 07:23 PM
Hmm. It's maybe true, that is problem in DX Vista GL wrapper :(

savage
17-08-2007, 10:25 AM
Hi andygfx,
Welcome back!

Have you seen the work that technomage did on porting A3D to JEDI-SDL?

savage
17-08-2007, 10:49 AM
When I run the demo on my Windows XP box, I get a Range Check Error :(.

andygfx
17-08-2007, 11:18 AM
I play with this idea, but for now i must find solution for my problem, because i yesterday tried install Delphi7 under WinXP+SP2 (winxp as dualboot) and after compiling now i have same problem unded WinXP. It's crazy. First error was -> missing msvcr70.dll and after update this one, error message was: nvoglnt.dll acces violation.

sum errors:

Vista x64 = msvcr71.dll and nvogl32.dll
WinXP x32 = msvcr70.dll and nvoglnt.dll

other possible problems with old:

DevIL lib or Newton

Looks like compatibility problem with DOT NET 1.1 / 2.0 and NV drivers

:(

I'm not a expert on SDL, but maybe this is one way to fix all problems.

andygfx
19-08-2007, 10:14 PM
I maybe found problem with my engine.