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

Search:

Type: Posts; User: Ankheg

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,383

    need to pick an embedded system

    Hi, this isn't strictly speaking a programming question but I'm having difficulty getting a handle on it, so I thought I'd see if anyone had any comments.

    Basically I'm developing some software...
  2. Re: how to check if numbers and letters are entered in a textbox

    Well, I imagine you would need to iterate through the letters and check each one until you found a number.
    I'm not sure what your txtPassword variable is, but you can use atoi() to check a character...
  3. Replies
    6
    Views
    3,364

    Re: Easy way to plot and display arrays?

    I'm not sure if this is good enough, but have you tried using a memory window?

    http://msdn.microsoft.com/en-us/library/s3aw423e%28VS.80%29.aspx

    Basically go: Debug->Windows->Memory->Memory 1
    ...
  4. Replies
    1
    Views
    867

    Re: 8bpp bmps

    Well. I feel kinda dumb. Turns out it was simply bmiColors in BITMAPINFO.
  5. Replies
    1
    Views
    867

    [RESOLVED] 8bpp bmps

    Hi there, I've been trying to manipulate 8bpp images stored in a CBitmap. From what I've read the problem is that the 8bpp bmps use a format that's different from what I've been using... up until...
  6. Replies
    2
    Views
    667

    Re: Electronic Machine Controlling

    I think he's just saying that some of the machines either use a serial port in addition to a usb port, or instead of.

    The only advice I can give you, Abdul, is to start by digging into the support...
  7. Thread: Help wit C++

    by Ankheg
    Replies
    39
    Views
    7,715

    Re: Help wit C++

    Hah, I didn't even see that. Good catch. :D

    - Brent
  8. Thread: Help wit C++

    by Ankheg
    Replies
    39
    Views
    7,715

    Re: Help wit C++

    You're getting really close now. The only definite problem with that is that you didn't end the statement (add a ; ) and the "invoke" needs to be a comment.

    You do have another potential problem...
  9. Thread: Help wit C++

    by Ankheg
    Replies
    39
    Views
    7,715

    Re: Help wit C++

    #5 is looking better, so far. You've generated your random number, now you just have to display it.
  10. Thread: Help wit C++

    by Ankheg
    Replies
    39
    Views
    7,715

    Re: Help wit C++

    #5: google for "random numbers in c", I glanced at the top 3 results and 2 of them have enough information to answer this.
    #6: reread the question... you correctly figured out the square root of...
  11. Replies
    16
    Views
    2,225

    Re: Same patter, new problem

    If it's me you're addressing (as I have to assume since you're quoting me), I think I have a reasonable idea of what that does. I also doubt it's doing what he wants it to do.

    My objective wasn't...
  12. Replies
    16
    Views
    2,225

    Re: Same patter, new problem

    In addition to the "go find a tutorial or a good book" advice, I would also add: until you know how something works, keep your tests as simple as possible.

    For example, if you need to learn how to...
  13. Re: how to Protect application process from ReadProcessMemory and WriteProcessMemory

    My knee-jerk response to your problem is that it's their computer and they get to do what they want with it. You can confuse and obfuscate things if you want to make it hard for them to crack or...
  14. Replies
    20
    Views
    10,494

    Re: Coding Standards

    For coding standards, I generally demand:
    1. Comment, comment comment: Sure, your code should be legible without comments, but just because I can read WHAT you're doing doesn't mean I know WHY...
  15. Replies
    9
    Views
    10,358

    Re: Keeping GUI responsive

    I just wanted to update this thread in case of people running across the thread in search engines and trying out the solution I used. I did run across another bug which wasn't a big deal in my case...
  16. Replies
    9
    Views
    10,358

    Re: [RESOLVED] Keeping GUI responsive

    Yeah, that's pretty much what happened. During my function I would update the window regularly to keep me informed as to what was happening. If I closed the window, it would continue to run until...
  17. Replies
    9
    Views
    10,358

    Re: [RESOLVED] Keeping GUI responsive

    In this case it seems to work well. If I start needing to do more things later, I'll probably go take a look, but for now I'm trying to stay focused on getting things done.

    It did crash on me...
  18. Replies
    9
    Views
    10,358

    Re: Keeping GUI responsive

    That's exactly what I was looking for, thanks!
  19. Replies
    9
    Views
    10,358

    [RESOLVED] Keeping GUI responsive

    Hi there!

    So I have a fairly long/intensive loop in one of my functions that when it runs the GUI stops responding to mouse events (and other events, I'm sure). It seems like there should be two...
  20. Thread: editing icons

    by Ankheg
    Replies
    0
    Views
    3,455

    editing icons

    I'm using Visual Studio 2010 and I'm having problems editing icons.

    It's an MDI app, and the icons I'm trying to edit are located in Resources->project.rc->Icon->IDR_MAINFRAME

    Previously they...
  21. Replies
    3
    Views
    878

    Re: Bug in CEditView (VC6) ?

    IMO, you've got some solid clues as to where the problem with your app lies. It crashes sometimes when the user inputs text, but never any other times? Look closely at the code which handles that...
  22. Replies
    9
    Views
    15,956

    Re: CButton and EnableWindow?

    Visual C++ is chock full of these little 'gotchas', isn't it? Thanks for the help, guys.
  23. Replies
    9
    Views
    15,956

    Re: CButton and EnableWindow?

    Well, I tried this out and it definitely works. Thanks!

    I'm still confused about why EnableWindow() doesn't work, though. Google for 'disable CButton' and the first five responses all say to use...
  24. Replies
    9
    Views
    15,956

    Re: CButton and EnableWindow?

    It's not a toolbar button, it's a regular CButton in a CDialogBar dialog. The m_toolBar is named that because the function of that CDialogBar is mainly to be a tool bar.
  25. Replies
    9
    Views
    15,956

    [RESOLVED] CButton and EnableWindow?

    This seems really simple. I want to disable a button. A simple google search tells me that I should be passing false to the button's EnableWindow function.

    It's not working, and I'm not sure...
Results 1 to 25 of 47
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured