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

Search:

Type: Posts; User: Mr. Smith

Search: Search took 0.06 seconds.

  1. Replies
    0
    Views
    22,987

    [Resolved] Preserving ESP

    Edit...
    Hi. Thanks to everyone that checked. After further code testing, I discovered a typo that wasn't reflected in the original post. The issue seems to be resolved, though I'm going to leave...
  2. Replies
    19
    Views
    14,757

    Re: Crash Reading & Writing More Files

    Thanks for all the feedback. Sorry if I wasn't clearer in post #9 of this thread. I was able to get a function working that seemed to solve the stack overflow issue.

    The issue with that...
  3. Replies
    19
    Views
    14,757

    Re: Crash Reading & Writing More Files

    I've tried using std::string, but the code won't compile. Maybe I'm using the incorrect syntax or wrong variable type for length (int). I've been searching for examples online for a bit, but...
  4. Replies
    19
    Views
    14,757

    Re: Crash Reading & Writing More Files

    Thanks for pointing me in the right direction. I did try making a call function before posting, as I mentioned. However, I wasn't able to get the syntax right.

    Trying again, I found the specific...
  5. Replies
    19
    Views
    14,757

    Re: Crash Reading & Writing More Files

    I'm not sure how to define "immediately" without repeating my earlier posts relating to the early pause feature not seeming to be executed.

    I'm also not sure how to answer "how" it crashes. It...
  6. Replies
    19
    Views
    14,757

    Re: Crash Reading & Writing More Files

    Thanks for the replies. Unfortunately, after trying both suggestions on using braces, running the compiled file still crashes.



    ifstream infile001 ("Source1.xxx", ifstream::binary);
    ofstream...
  7. Replies
    19
    Views
    14,757

    Crash Reading & Writing More Files

    Hi. I have a program that reads from a couple large files and extracts select smaller files. The code below was working until I went from 22 extractions to 56. And this number may increase in the...
  8. Replies
    1
    Views
    1,677

    Four Lines of Code

    Hi. I had some basic questions about these four lines of code. I just want to confirm I'm understanding a few points correctly.



    lea eax, [esp]
    push eax
    call dword ptr [edx]
    mov ...
  9. Replies
    2
    Views
    6,633

    Program Pauses When Loses Focus

    I have a legacy program (about 15+ years old) that pauses whenever it loses focus. I'd like it to continue running even if it loses focus.

    My knowledge of assembly is very basic. I've searched...
  10. Replies
    7
    Views
    2,881

    Re: Code Works in XP Not Vista

    I figured out the issue. Manually moving the "mov eax, dword_10010000" (even by 1 byte) was causing the issue in Vista. I resolved this by making a subroutine around "mov eax, dword_10010000" and...
  11. Replies
    7
    Views
    2,881

    Re: Code Works in XP Not Vista

    [Removed info not relevant to issue.]
  12. Replies
    7
    Views
    2,881

    Re: Code Works in XP Not Vista

    It plays an audio clip. Aside from this piece of code, the program doesn't really encounter any issues playing audio clips on Vista.
  13. Replies
    7
    Views
    2,881

    [RESOLVED] Code Works in XP Not Vista

    I have a program that runs (under Windows 95 compatibility) in both XP and Vista. However, the following code (while it works in XP) crashes the program in Vista...

    mov eax, dword_10010000
    push...
  14. Replies
    2
    Views
    1,969

    Re: Calls Less Than 5 Bytes

    Thanks for answering this! :)
  15. Replies
    2
    Views
    1,969

    Calls Less Than 5 Bytes

    Is there any way to write a call like this in less bytes?
    e8 02 00 00 00

    Thanks!
  16. Replies
    1
    Views
    909

    Additional Info

    The first segment seems to set the placement of the special user. The second segment crashes every user except the special user. When only the special user runs the second segment, no one crashes. ...
  17. Replies
    1
    Views
    909

    Create a Test With This Limited Code

    Long story, short: I'm stuck with the code below and I need a test between those two code segments.

    All users run the first code segment, but I need a test so that one special user runs the second...
Results 1 to 17 of 17





Click Here to Expand Forum to Full Width

Featured