Pelles C forum

C language => Beginner questions => Topic started by: ltm3673 on March 12, 2011, 08:21:49 AM

Title: Error Message when running Dos Box
Post by: ltm3673 on March 12, 2011, 08:21:49 AM
When running the Dos Box Emulator on windows 7 I get the following error message...

(The procedure entry point SDL_strlcat could not be located in the dynamic link library SDL.dll

Can someone please explain as simply as possible what this is and how to fix it?
Title: Re: Error Message when running Dos Box
Post by: Vortex on March 12, 2011, 11:57:31 AM
My apologies if my question does not fit here but what is the meaning of a DosBox question in the C language subforum?
Title: Re: Error Message when running Dos Box
Post by: MichaelT on March 12, 2011, 10:45:04 PM
Vortex is right, this is not the place to ask for a DosBox question.

However, I'll throw you a bone anyway. The executing file probably want to call '_SDL_strlcat' but cannot find it. Possibly because the version of sdl.dll is different. I am guessing DosBox is using it's own compiled version of SDL that exports a decorated 'SDL_strlcat' (hence the: '_SDL_strlcat'. Notice the underscore!) This is what it is looking for (and I am guessing here) Which is why you can't find it (and I am guessing again) because you took a version of SDL.DLL from the SDL site?


Title: Re: Error Message when running Dos Box
Post by: ltm3673 on March 13, 2011, 02:09:35 AM
Yes I downloaded SDL.dll from the SDL website. Have you heard of this problem before?
Title: Re: Error Message when running Dos Box
Post by: MichaelT on March 13, 2011, 11:04:27 AM
No, first time I have heard of it. But still, it's easily solved. You should be able to find the proper dll here:

http://www.dosbox.com/download.php?main=1

Either, install it over your current location. Or unzip it with something like 7zip (http://www.7-zip.org, it's free) and pick the dll from there.

Good luck.


Title: Re: Error Message when running Dos Box
Post by: ltm3673 on March 14, 2011, 01:56:23 AM
Sorry if I sound really incredibly stupid. (Which I am.) But what dll should I download from that site to fix the problem? I am trying to launch the game Hidden Agenda
Title: Re: Error Message when running Dos Box
Post by: MichaelT on March 15, 2011, 12:27:57 PM
You should download the installer and simply install it. This is really not a gaming site, and certainly not a game help desk.