I am trying to run a Legacy MFC application in Debug buil(earlier it was always built in Release Build (with debug info)). While loading resource using LoadToolBar() funtion ::FindResource fails while it succeeds in the Relase build. Can any body help me with this.
When it comes to resources, it could be any number of things... if you make the call within a dll and not the main application, you have to make sure to have the resources of the main application loaded and not the dll's resources.
In any case, hard to tell without more info and some code.
3 users are connected to one pc using 3 usb keypads. A record is shown and each user have to input a number like 7.7 or 600 or 7.5 then they will press ENTER. Done.
So as an example problem: user2 starts to type 7 and user1 starts typing 5. the computer is already getting 75. You can see the problem.
I need a utility/code to isolate the input.
I have seen it in an auction software and also using xbox playing games.
In the auction software 3 black boxes are seen in the PC. Once a user starts the black box associated with that user, turn gray. Same as the other users. When all users have pressed ENTER, All boxes are revealed with the entries.
Until now we only had to enter one digit per box, so 3 keypads were no problem. The system right now have the 3 boxes in the screen.
I am a beginner of C++ programming environment.
Suppose there is a array..and the contents of the array="ironman"
Now, i need to insert some additional character to this string like "i*r%o#n@m^a!n"
Also i need to reversely generate the original contents. That means from "i*r%o#n@m^a!n" to "ironman"..
Also i have one constraint, i cannot use much of library function..i can use loop only.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
Well, it doesn't look a daunting task, however you have to allocate a new array having the double size of the original one.
Then you could copy the original items o[i] into new ones n[2*i], finally add the 'additional characters at odd indices.
The inverse operation, is, well, inverse, namely n[2*i] -> o[i].
Last Visit: 16-Oct-19 7:32 Last Update: 16-Oct-19 7:32