View Single Post
Old February 26th, 2008   #258 (permalink)
NHervé
Plugin author
 
NHervé's Avatar
 
Join Date: Jul 2007
Location: Nulle part
Posts: 504
Quote:
Originally Posted by Rudicron
Quote:
Originally Posted by daco
"the procedure entry point DirectInputCreateW could not be located in the dll dinput.dll"

daco, your problem is easily fixed, delete or rename the dinput.dll (lino's plugin) from the plugin directoy.

explanation of problem: DsPad is trying to call a function from the DirectInput API, which is stored in dinput.dll (in %systemroot%\system32), but since lino's plugin has the same name and is in the same directory as the calling file, it gets looked at first, and fails to be the DirectInput API, throwing that error.

hence... lino, you need a new naming scheme for your plugins.

I suggest perhaps adding an initial tag to the filename, i.e.
dinput.dll -> ideas-dinput.dll
aud.dll -> ideas-aud.dll
and suchlike.
You're wrong, DsPad does not use DirectInput but SDL, and SDL only wraps WinMM apis.
To get DsPad to work, you must remove Lino's plugin, else DsPad won't show up.
I think your problem is from the Lino's plugin, maybe it's calling itself, and so it's failing.

I'm right, I tried that plugin, it gave me the error with DirectInputCreateW, I renamed the plugin, it worked. This message is from DInput plugin, because it's calling itself. To fix it, rename the plugin.

However the plugin does not work for me, I can map the buttons but the games do not react to input.
__________________
No pity for n00bs here !

Last edited by NHervé; February 26th, 2008 at 15:20. Reason: Automerged Doublepost
NHervé is offline   Reply With Quote