Type: Posts; User: Ankheg
Search took 0.02 seconds.
January 5th, 2011, 03:23 PM
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...
November 16th, 2010, 04:46 PM
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...
November 12th, 2010, 04:38 PM
I'm not sure if this is good enough, but have you tried using a memory window?
Basically go: Debug->Windows->Memory->Memory 1
November 4th, 2010, 12:04 PM
Well. I feel kinda dumb. Turns out it was simply bmiColors in BITMAPINFO.
November 3rd, 2010, 03:56 PM
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...
November 2nd, 2010, 08:12 AM
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...
October 28th, 2010, 09:10 AM
Hah, I didn't even see that. Good catch. :D
October 28th, 2010, 08:23 AM
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...
October 27th, 2010, 10:20 AM
#5 is looking better, so far. You've generated your random number, now you just have to display it.
October 26th, 2010, 03:21 PM
#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...
October 26th, 2010, 08:29 AM
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...
October 25th, 2010, 02:32 PM
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...
October 22nd, 2010, 08:27 AM
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...
October 6th, 2010, 03:53 PM
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...
October 4th, 2010, 10:12 AM
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...
September 30th, 2010, 08:13 AM
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...
September 29th, 2010, 04:24 PM
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...
September 29th, 2010, 11:35 AM
That's exactly what I was looking for, thanks!
September 29th, 2010, 11:22 AM
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...
September 24th, 2010, 03:02 PM
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
September 21st, 2010, 03:55 PM
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...
September 21st, 2010, 09:01 AM
Visual C++ is chock full of these little 'gotchas', isn't it? Thanks for the help, guys.
September 21st, 2010, 08:17 AM
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...
September 21st, 2010, 08:08 AM
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.
September 20th, 2010, 04:28 PM
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...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.