Type: Posts; User: deck42
Search took 0.01 seconds.
November 16th, 2008, 06:31 PM
Well if I knew which one actually is being corrupted :-)
I have tried to watch some addresses of my function, but they all stay unchanged.
The problem is this can hardly be broken down to a few...
November 16th, 2008, 04:53 PM
Well the problem is, the program is thousands of lines long, and at least half of the code is executed before the function that will crash.
So what exactly can I post here that would help? (since...
November 16th, 2008, 03:47 PM
I am getting a stack overflow in the moment when I call one of my own functions. By stepping with the debugger, I can see that the overflow takes place when the function body is entered.
August 7th, 2008, 01:22 PM
As far as I can see VC Express does not embed the manifests into the executable. Therefore the trick with getting them into your dir and renaming them.
All in all this is really a big problem when...
August 7th, 2008, 12:21 PM
Ahh finally I got it!
Thanks for all of your help, the problem was just that I was using the wrong version of the vcredist! (stoopid)
With the right version I can deploy it anywhere. Thanks!
August 7th, 2008, 12:04 PM
Thanks for your answers everyone!
Now I already have an installer, which I just made create some of the needed files and folders in the WinSxS directory.
The thing is this: It is not enough to...
August 6th, 2008, 05:03 PM
Well thanks for your efforts, but I need some way to get all dependencies..
Someone please help!
I am totally stuck. I did manage to get the app going on some other PC, BUT I did so by copying...
August 6th, 2008, 11:46 AM
Well thanks, but you are right, VC express is quite better than the rest.. Still I am frustrated about it.
Well that story was long ago, took place in the 90s. Back than Microsoft Germany had some...
August 6th, 2008, 10:30 AM
Their offer would be generous if it was what it is claiming to be! But if I find out after weeks of development that I can't deploy my project it's just a waste of time to use their "generous offer"....
August 6th, 2008, 09:57 AM
Thanks for your answer, but this does not solve my problem!
I need VC to do the deployment, so that it will include all the dependencies and so on. The inno isntaller is fine, but Im still missing...
August 6th, 2008, 09:45 AM
I'm desperately trying to find a way to install an application I wrote on other PC's. I am using Visual C++ Express 2008.
Now I have read there should be some "oneclick" deployment,...
July 28th, 2008, 08:02 AM
Well anyways, thanks for your help again.
I solved the problem by also comparing to "\r" now which works. I guess that it did not work with char = 13 had to do with missing 0 terminator.
July 28th, 2008, 07:46 AM
I am just puzzled by the behavior of strcmp now...
tmp* is clearly pointing to a char of value 13 (checked by debugger), which is also the value of tmp2.
Still strcmp will return -1,...
July 28th, 2008, 07:32 AM
As I said, the edit box does have a multiline option. It is NOT just single lined. With the multiline option on, it has as many lines as you want. Each time you press enter it will insert a new line....
July 28th, 2008, 05:28 AM
Thanks so far!
@Paul McKenzie: Yes it is NULL terminated.
@Red Squirrel: I would like not to use string object. And I thought that "if(char=='\n')" will not work on every machine...
July 28th, 2008, 05:22 AM
You are right, it is bad form - but since they are not even win processes for the biggest part, I felt like it don't matter.
I obtain the PID's by enumerating all processes and opening a new...
July 27th, 2008, 07:02 PM
I want to compare two single char, to be more exact I want to know if one is a newline char. So I do:
if(strcmp(tmp, "\n")==0) dosomething
The crazy thing is, it won't work. To Be...
July 27th, 2008, 06:58 PM
Well I did not see no reason not to terminate them. I have to make sure they stop and they use to crash quiet often.
Well xterm is listed as normal process. But anyways, it's not that important,...
July 24th, 2008, 06:55 AM
You understand correctly, BUT:
Xterm has a console part which seems to be the startup module. This console starts and waits for Cygwin's XWin process to create the XWindowed spawn and while it's...
July 23rd, 2008, 06:53 PM
I got a strange problem: TerminateProcess() wont terminate a certain process I apply it on. This process is "xterm" running under "Cygwin". It will terminate if it's not frozen. But once it...
July 20th, 2008, 05:18 AM
Argh... Well that would have been the hint I needed. Only now I see that if you set some special flag, ShellExecuteEx will return the process handle.
Well anyways, my code works now and it should...
July 19th, 2008, 01:45 PM
Well thanks for your help, it did the trick, but I am a bit disappointed that everything has to be that complicated with WinAPI. Why is there no lower level function which checks for me if there is a...
July 19th, 2008, 09:58 AM
Thanks a lot guys, that did the trick!
I guess I understand what was the problem. My linker didn't say anything sadly.
July 19th, 2008, 09:50 AM
I know this has been issued here and there, but I've been reading for hours now and I don't see no (simple) solution how to check whether a process is running or not.
My problem is:
-I dont know...
July 19th, 2008, 06:15 AM
I got a really strange problem here. I define some global variables in one of my cpp project files. I want to use that variables in another cpp file (same exe) as well so I define them...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.