|
#1
|
|||
|
|||
|
Win9x: Error 2400 (Failed to load the specified DLL)
Hi,
I get an error message 2400 ("Failed to load the specified DLL.") when calling a function in a custom DLL (build with Delphi 5). I only get this error in Windows 9x (98,98SE, ME) environment, but everything works fine in Windows 2000, XP and 2003 environment. I tried both AMS 5.0.3.0 and AMS 6.0.0.0, no difference. What could be wrong? How to debug? Thanks, Blaz |
|
#2
|
||||
|
||||
|
This is just a guess, but try looking at your path to the dll. Some WIN9x setups have a hard time with spaces and long filenames. Try using 8.3 filename convention & max 11 characters (no spaces) for directory names and see if that makes a difference. The dll could be looking at a truncating path as well - on these systems.
|
|
#3
|
|||
|
|||
|
Hi,
strange, after several restarts of Windows 98 environment it started working again... There were no long files involved, dll was located in Windows\Temp folder. Blaz |
|
#4
|
||||
|
||||
|
Hm weird, you could always try the ol' 'Application.GetLastError' if it ever should happen again. It will at least [may] tell you why it failed to load.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Official Release Of SetMask DLL | Worm | AutoPlay Media Studio 5.0 | 23 | 01-24-2005 10:00 PM |
| Failed to call DLL function. (#2, Line 1) | fe4ther | Setup Factory 6.0 | 4 | 01-14-2003 09:01 PM |
| Calling a DLL | matrix | Setup Factory 6.0 | 1 | 12-26-2001 08:47 PM |
| SUF6 - Call DLL action | Romahe | Setup Factory 5.0 | 1 | 11-27-2001 07:02 AM |
All times are GMT -6. The time now is 03:05 AM.








Linear Mode

