CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: deck42

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    15
    Views
    10,089

    Re: Stack overflow on function call

    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...
  2. Replies
    15
    Views
    10,089

    Re: Stack overflow on function call

    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...
  3. Replies
    15
    Views
    10,089

    Stack overflow on function call

    Hello,

    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.
    ...
  4. Replies
    16
    Views
    4,462

    Re: Deploying App with Visual C++ Express 2008

    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...
  5. Replies
    16
    Views
    4,462

    Re: Deploying App with Visual C++ Express 2008

    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!
  6. Replies
    16
    Views
    4,462

    Re: Deploying App with Visual C++ Express 2008

    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...
  7. Replies
    16
    Views
    4,462

    Re: Deploying App with Visual C++ Express 2008

    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...
  8. Replies
    16
    Views
    4,462

    Re: Deploying App with Visual C++ Express 2008

    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...
  9. Replies
    16
    Views
    4,462

    Re: Deploying App with Visual C++ Express 2008

    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"....
  10. Replies
    16
    Views
    4,462

    Re: Deploying App with Visual C++ Express 2008

    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...
  11. Replies
    16
    Views
    4,462

    Deploying App with Visual C++ Express 2008

    Help!

    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,...
  12. Replies
    11
    Views
    967

    Re: comparing two single char

    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.
  13. Replies
    11
    Views
    967

    Re: comparing two single char

    Thanks!

    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,...
  14. Replies
    11
    Views
    967

    Re: comparing two single char

    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....
  15. Replies
    11
    Views
    967

    Re: comparing two single char

    Hello,

    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...
  16. Replies
    8
    Views
    2,501

    Re: TerminateProcess() not always working?

    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...
  17. Replies
    11
    Views
    967

    comparing two single char

    Hello,

    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...
  18. Replies
    8
    Views
    2,501

    Re: TerminateProcess() not always working?

    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,...
  19. Replies
    8
    Views
    2,501

    Re: TerminateProcess() not always working?

    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...
  20. Replies
    8
    Views
    2,501

    TerminateProcess() not always working?

    Hello,

    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...
  21. Replies
    5
    Views
    9,978

    Re: Check if process is running

    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...
  22. Replies
    5
    Views
    9,978

    Re: Check if process is running

    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...
  23. Replies
    4
    Views
    628

    Re: Crazy pointer error

    Thanks a lot guys, that did the trick!
    I guess I understand what was the problem. My linker didn't say anything sadly.
  24. Replies
    5
    Views
    9,978

    Check if process is running

    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...
  25. Replies
    4
    Views
    628

    Crazy pointer error

    Hello,

    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...
Results 1 to 25 of 57
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured