Re: Error running bound exe
- Posted by mattlewis (admin) Oct 02, 2009
- 1306 views
cp said...
Yes I have include files that wrap a custom DLL but the DLL is registered and exists on both machines in the same location.
both machines are running windows XP
one thing that is strange that I thought was the cause of the issue is that one of my include files was located in the same dir as my exw source but not in my euphoria\include dir. I did the bind without error and the exe ran fine on that machine.
I doubt it is an include file. You say that the dll was in the same location. This may not be enough. Here is how Windows searches for dlls:
MSDN said...
- The directory where the executable module for the current process is located.
- The current directory.
- The Windows system directory. The GetSystemDirectory function retrieves the path of this directory.
- The Windows directory. The GetWindowsDirectory function retrieves the path of this directory.
- The directories listed in the PATH environment variable.
Does your dll fit into this on the second machine?
Matt