Forum Moderators: phranque

Message Too Old, No Replies

.dll files with xampp

         

truly2

10:09 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



Hi, I'm testing a documents organizer program that has a web interface. I'm testing the webinterface with xampp. Xampp works fine. After installing xampp and installing the web interface, the instructions indicate to type this in the browser: [my-ip-address...] and it should take you to the user login page. It is not working, I just get a message that says that an application cannot be found to open *.dll. I haven't changed anything in the httpd.conf file. This db.dll file is installed in htdocs folder in xampp (C:/xampp/htdocs/db/db.dll). I'm wondering how should I do to run this .dll in localhost, do I need a scriptalias or perphaps a loadmodule or loadfile command in the config file? I'm just guessing, I'm not an expert in apache configuration. I appreciate any help please. Thanks a lot!
Truly

jdMorgan

7:33 pm on Jul 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That sounds like a message from your browser, after it tries to download and open the .dll file. If so, that means the server does not know that it should execute the .dll file instead of serving it (simply sending it verbatim) to the browser.

You'll need to look into adding directives like


AddHandler my_dll_file .dll
Action my_dll_file /db/db.dll

Of course, this will only work if the OS can execute .dll files, so I assume you're running a Windows OS.

Before embarking on a long, arduous exercise in trial-and-error, I'd suggest digging around in the documentation for this package you're trying to use, and seeing if anything like the directives above are mentioned. You may even have to "wrap" that dll file in "rundll32.exe" to get this to work -- I don't know, as I don't speak much "Windoze".

Jim