WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Miscellaneous

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

EXE Refuses to Run


Question:

After battling a complex .exe that for some unknown reason refused to run on some of my servers, I took a step back and created an unbelievably simple .exe, and compiled it as complete .exe for standalone. Can't get much simpler than this script...
Message('test','HelloWorld')
but it won't run on particular machines. (works fine on my box..of course!)

I see the .dll in the same directory as the .exe, but have NO IDEA why nothing happens when I try to run it.

I'll be honest, I am not a total newbie on winbatch, that's why i brought this down to the simplest level. Does ANYONE have ANY ideas?

Answer:

What does it do when you try to tun it? Any errors or anything?

Anyway. Goto http://www.dependencywalker.com and download the free dependency walker.

On a failing machine point it at the wbd??34i.dll file and see if it red flags anything. If so Fix it. Usually some kind of system dll disaster struck.

What version of WinBatch are you running?

With any recent version the problems is may be the msvfw32.dll file in the Windows system directory (as in it is not there)

Or there is some DLL pollution between the Server dlls and dlls of the same name for some other version of Windows.

In any case if a quick look at the dependency walker screen does not flag any dlls, then run (profile) your program thru dependency walker and then look at the log file. Usually very near the bottom the problem crops up and then the program exits and the log ends. Once we get that info you can figure out how to fix your systems.


Article ID:   W16022
File Created: 2004:03:30:15:42:18
Last Updated: 2004:03:30:15:42:18