Trouble with SDL?

i have w2000 & SDL
i have a little SDL program, all run fine.

i simply add this few test line:
SDL_Rect aRect;

SDL_GetClipRect(&aSurface, &aRect);

and it don’t run, popping an error message popup with the following
message:
The procedure entry point SDL_GetClipRect could not be located in the
dynamic library SDL.dll

i have downloaded and installed binary runtime for windows of SDL-1.2.1
the curious point is that objdump tell me that SDL_GetClipRect is
defined.
any idea ?

Is the most recent SDL.DLL in your application’s directory? In your
Windows\System (or Winnt\System32) directory? Anywhere else in your
path? Since the SDL DLLs are so small, might as well keep a copy of
each with each SDL app, so try removing all those in your search
paths.–

Olivier A. Dagenais - Software Architect and Developer

“Lloyd Dupont” wrote in message
news:3B3FA23B.5717A736 at galador.net

i have w2000 & SDL
i have a little SDL program, all run fine.

i simply add this few test line:
SDL_Rect aRect;

SDL_GetClipRect(&aSurface, &aRect);

and it don’t run, popping an error message popup with the following
message:
The procedure entry point SDL_GetClipRect could not be located in
the
dynamic library SDL.dll

i have downloaded and installed binary runtime for windows of
SDL-1.2.1
the curious point is that objdump tell me that SDL_GetClipRect is
defined.
any idea ?

For these kinds of questions I usually start with Dependency Walker. A
version came with Visual C++, look for DEPENDS.EXE. Or for a newer, much
improved version, look at http://www.dependencywalker.com/.

Olivier Dagenais wrote:>

Is the most recent SDL.DLL in your application’s directory? In your
Windows\System (or Winnt\System32) directory? Anywhere else in your
path? Since the SDL DLLs are so small, might as well keep a copy of
each with each SDL app, so try removing all those in your search
paths.

Olivier A. Dagenais - Software Architect and Developer

“Lloyd Dupont” wrote in message
news:3B3FA23B.5717A736 at galador.net

i have w2000 & SDL
i have a little SDL program, all run fine.

i simply add this few test line:
SDL_Rect aRect;

SDL_GetClipRect(&aSurface, &aRect);

and it don’t run, popping an error message popup with the following
message:
The procedure entry point SDL_GetClipRect could not be located in
the
dynamic library SDL.dll

i have downloaded and installed binary runtime for windows of
SDL-1.2.1
the curious point is that objdump tell me that SDL_GetClipRect is
defined.
any idea ?