|
It compiles with no warning or error.
But when I tried to run (press F5), it reports:
unable to start program "c:\my.exe"
Press F10 reprots the same error.
Hard to debug.
When run outside VS9, it reprot:
c:\my.exe
The parameter is incorrect.
Who knows why?
modified on Thursday, May 8, 2008 5:14 AM
|
|
|
|
|
Probaly you're not building the executable with the above path. Check the Command setting of the Local Windows Debugger (Project->Properties menu item and then Configuration Properties->Debugging node).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
I've checked, not this reason.
|
|
|
|
|
Hence your compiler builds an executable whoose path is C:\my.exe ?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
No, it should like c:\my\debug\my.exe
|
|
|
|
|
Hence Visual Studio is trying to run the executable with the wrong path. Check again your IDE settings.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Solved, I add a xptheme.xml for xp style in the resource.
Just now , I deleted it, and it's ok now.
Thank you all the same.
|
|
|
|
|
|
Is that a question? I'm kind of confused because there's no question mark.
Steve
|
|
|
|
|
Stephen Hewitt wrote: there's no question mark.
It's encrypted.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
I think it's not encrypted. Probably it could be in different language.
- Malli...!
|
|
|
|
|
No its plain English, but typed with a 'Dvorak' keybord layout.
See Lounge: Dvorak Keyboard[^]
Learn from the mistakes of others, you may not live long enough to make them all yourself.
|
|
|
|
|
CPallini wrote: It's encrypted
And urgent!!
|
|
|
|
|
Of course.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
We are luck that you are here to discover these secrets.
|
|
|
|
|
Well said.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
hi... I am not able to understand your question or joke or whatever it is.
any way I think you are in a very funny mood.
|
|
|
|
|
Hello,
Thanks for all your replies
But I just got a new internet connection at home beacuse my earlier one was not able to send message to codeproject which really bugged me.I tried to send this message since I had nothing on my mind immediately.
Today I was more than happy since I could send the message after a long time from home and got all these replies in return.
Thanks for all the help you people offer.
|
|
|
|
|
So you thought posting a useless piece of trash was the best option? You could have at least made a comment in the lounge so you didn't look like a fool.
|
|
|
|
|
what about testing it in your own blog at your profile page?
|
|
|
|
|
Why you couldnt did you get any message when you wanted to post messages?
|
|
|
|
|
Hello,
When I used to post the message the site would not be connected and the message did not get posted.
The problem was only for codeproject otherwise yahoo,gmail would work.
Pritha
|
|
|
|
|
But it seems that you dont have problem now and I think its good news for you.
|
|
|
|
|
Hi all,
I have a compiled dll (compiled by Marshall Soft lets call it m.dll) and then I have the code that compiled the m.dll (cpp,h,def). So then I compile the code to create a new dll(lets call it n.dll), I then view n.dll in Dependcy Walker all the functions being exported is there. The same happens when I perform the action with m.dll, but with the exception that the top panel shows additional functions.
Why is that, it is the same code but Dependcy Walker shows additional functions in the top panel. Is there settings one must set within Visual Studio ??
I hope this makes sense...
Regards,
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
Programm3r wrote: Why is that, it is the same code but Dependcy Walker shows additional functions in the top panel.
Are talking about the Parent Import Function List View? See Dependecy Walker help for explanations.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|