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

Search:

Type: Posts; User: PHChang

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: File Exception

    by PHChang
    Replies
    4
    Views
    318

    Re: File Exception

    Thanks all for the valuable advice.

    Unfortunately, I am unable to reproduce the same problem using debugger, otherwise I might be able to step into the code to find out more. It happens...
  2. Thread: File Exception

    by PHChang
    Replies
    4
    Views
    318

    File Exception

    Unhandled exception happened at CStdioFile::~StdioFile(){} destructor when looking at the dump file.
    However, the dump file has limited info so I am not sure which file(s) are actually causing it....
  3. Replies
    9
    Views
    587

    Re: Breakpoint was triggered at dlgcore.cpp

    Yes, I did step through the code but it did not trigger the warning dialog "Breakpoint was trigger".


    BOOL CMyDialog::OnInitDialog()
    {
    CDialog::OnInitDialog(); //already step through this...
  4. Replies
    9
    Views
    587

    Re: Breakpoint was triggered at dlgcore.cpp

    Sorry, I don't get what you said it contradict each other.

    Because when I saw at the Autos watch window,the value are as follow:
    Name | Value...
  5. Replies
    9
    Views
    587

    Re: Breakpoint was triggered at dlgcore.cpp

    I tried step to the code line by line on my dialog OnInitDialog, it looks fine to me and it didn't trigger the breakpoint.


    BOOL CMyDialog::OnInitDialog()
    {
    ........
    }


    //dlgcore.cpp
  6. Replies
    9
    Views
    587

    Re: Breakpoint was triggered at dlgcore.cpp

    Sorry for the blur sceenshots, anyway I already attached in the break.zip earlier.


    I am not too sure what is the value actually because after executing line 2 (I actually set a breakpoint at...
  7. Replies
    9
    Views
    587

    Breakpoint was triggered at dlgcore.cpp

    My application will pop up the warning dialog with description below when running on Windows 7 Japan Version in debug mode using Visual Studio 2010:
    "Windows has triggered a breakpoint in...
  8. Re: How to access methods of an object within another object in Java

    Thanks a lot for your input.
    I have initialized it in the Customer constructor as you suggested.
    Now the error is resolved already.



    public class Customer {
    public String name;
    ...
  9. [RESOLVED] How to access methods of an object within another object in Java

    May I know what is the correct way to access methods of an object within another object without using inheritance in Java?
    I encounter the error "java.lang.NullPointerException" when trying to run...
  10. Replies
    12
    Views
    973

    Re: Strtok return weird character

    Ok thanks for sharing the info.
  11. Replies
    12
    Views
    973

    Re: Strtok return weird character

    Thanks all for the advice.
    Somehow, the crash managed to resolve already after moving the declaration code inside the if function. (Sorry, I didn't show last time that I was using nested if and...
  12. Replies
    12
    Views
    973

    Re: Strtok return weird character

    When copy out and run in isolation, it works fine. Somehow, it went wrong when run in my own project.
    That's why I am wondering how cp = strtok(NULL, ","); can return weird character.
    Anyway,...
  13. Replies
    12
    Views
    973

    Re: Strtok return weird character

    It is actually intended to find "AA.B.CC,BB.B.CC, CC.B.CC, etc" with comma as delimiter.
  14. Replies
    12
    Views
    973

    [RESOLVED] Strtok return weird character

    Only partial code was shown. (sorry unable to show all here)
    Somehow, cp was point to weird character when comma( ,) is no longer found. Any idea how to debug this further?
    It is supposed to...
  15. Replies
    6
    Views
    1,785

    Re: [RESOLVED] Failure during conversion to COFF

    This problem can also be resolved by upgrading to visual studio SP1 without downgrading .NET framework from 4.5 to 4.0.
    More details on link:
    http://support.microsoft.com/en-us/kb/2757355
  16. Replies
    5
    Views
    4,961

    Re: Troubleshooting high CPU spikes

    I have also try to trace the network traffic for a good PC also running windows server 2003. I do see this network error STATUS_NO_SUCH_FILE appeared in the network trace but it is not causing 100%...
  17. Replies
    5
    Views
    4,961

    Re: Troubleshooting high CPU spikes

    Yes, the PccNTMon.exe is in the folder C:\Program Files\Trend Micro\OfficeScan Client.
  18. Replies
    5
    Views
    4,961

    Re: Troubleshooting high CPU spikes

    Found this article on Microsoft which talk about what could cause 100% cpu usage on srv.sys:
    http://support.microsoft.com/kb/941756


    I do find this error in network trace in Microsoft Network...
  19. Replies
    4
    Views
    761

    Re: Utility to check file access

    Thanks addisonaddy for the sharing.
  20. Replies
    5
    Views
    4,961

    Troubleshooting high CPU spikes

    I am seeing high 100% CPU spikes on some of the CPU cores occasionally on a Windows Server 2003 R2 Standard Edition Service Pack 2. It is causing the PC to be sluggish sometimes.
    I try to...
  21. Replies
    4
    Views
    761

    Re: Utility to check file access

    Thanks for your help on this.
  22. Replies
    4
    Views
    761

    Utility to check file access

    I am having slow file accessing issue sometimes on windows PC. May I know how can I monitor a file is being used by what program for a period of time? Any utility for this?
    I wish to find out what...
  23. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    1,160

    Re: Fread on file

    Thanks.
    Assume if it is a non-numbers for all fields? How to read it? Some could be blank.

    2.5a,abc,2d,40e00
    2.5c,,3e,20e00
    2.5d,,3e,1e000
  24. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    1,160

    Re: Fread on file

    Sorry to bother again.
    If change to format below (separated by commas), there will be blank for some fields. How to read it?

    2.5,abc,2,4000
    2.5,,3,2000
    2.5,,3,1000
  25. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    1,160

    Re: Fread on file

    This looks complicated to me.

    Mind to explain what it is doing?


    // Read data back from file:
    while (ifs >> d1 >> ch) {
    ifs.get(buffer, bufsize, ';');
    ifs >> ch >> i1 >> ch >> i2;...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center