المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Start Program as Service: Error 193



C++ Programming
04-06-2009, 04:01 PM
Hi all,

I am making use of the following project (A GUI program to configure XYNTService (http://www.codeproject.com/KB/cpp/XYNTServiceWrapper.aspx)[^ (http://www.codeproject.com/KB/cpp/XYNTServiceWrapper.aspx)]) to start programs as a services. The thing is that when I start a certain application I receive the following error: ERROR_BAD_EXE_FORMAT 193 (0xC1) %1 is not a valid Win32 application.

The strange thing is that when I change the root folder name, the application starts with no error. http://www.barakasoft.com/script/Forums/Images/smiley_confused.gif http://www.barakasoft.com/script/Forums/Images/smiley_WTF.gif

So has anyone ever experienced such an error, if so, how can I fix this?

Many thanks in advance
Kind regards,



The only programmers that are better C# programmers, are those who look like this -> http://www.barakasoft.com/script/Forums/Images/alien.gif


http://www.barakasoft.com/script/Forums/Images/smiley_smile.gifProgramm3r
My Blog: ^_^ (http://www.codeproject.com/script/profile/whos_who.asp?msg=1917620&id=2823228#xx1917620xx)