Click here to Skip to main content
15,913,758 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSetWindowSubclass is killing my app! Pin
KellyR22-Dec-08 14:17
KellyR22-Dec-08 14:17 
AnswerRe: SetWindowSubclass is killing my app! Pin
Naveen22-Dec-08 18:57
Naveen22-Dec-08 18:57 
GeneralRe: SetWindowSubclass is killing my app! Pin
KellyR22-Dec-08 19:19
KellyR22-Dec-08 19:19 
GeneralRe: SetWindowSubclass is killing my app! Pin
Mark Salsbery23-Dec-08 5:50
Mark Salsbery23-Dec-08 5:50 
QuestionVC Application with password Pin
sunny_vc22-Dec-08 13:38
sunny_vc22-Dec-08 13:38 
AnswerRe: VC Application with password Pin
Garth J Lancaster22-Dec-08 15:17
professionalGarth J Lancaster22-Dec-08 15:17 
AnswerRe: VC Application with password Pin
Chandrasekharan P22-Dec-08 17:25
Chandrasekharan P22-Dec-08 17:25 
AnswerRe: VC Application with password Pin
Mustapha Rédouane23-Dec-08 0:06
Mustapha Rédouane23-Dec-08 0:06 
Well there are many nice tricks!

as the friends said:
you can store it in registry (this is not the best way)
as you can store it in a database:
if your application uses databases, the best way is to create a table named SECURITY in which you put the password

another nice way is to put it in a file and give it System, Hidden attributes!, BUT in this you should encrypt your password (1)..


(1) there are easy ways to encrypt passwords or strings in general! just increment the ASCII code of all the characters by a value that you define (30 for example) in encryption function, and decrement it bye the same value in the decryption function, and you should put some rules (ASCII code 255 + 1 = 0, 255 + 2 = 1 ..)

--------------------------------------------
Some people dream of success while others wake-up and work hard to get it!
QuestionVC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
pratap198022-Dec-08 10:45
pratap198022-Dec-08 10:45 
AnswerRe: VC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
Jijo.Raj22-Dec-08 11:03
Jijo.Raj22-Dec-08 11:03 
GeneralRe: VC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
pratap198022-Dec-08 11:15
pratap198022-Dec-08 11:15 
Questionquestion is it possible to hook a function using byte signature Pin
nah133722-Dec-08 10:08
nah133722-Dec-08 10:08 
QuestionNoob QOTD : Resources (menu) in DEBUG only ? Pin
Maximilien22-Dec-08 7:49
Maximilien22-Dec-08 7:49 
AnswerRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Code-o-mat22-Dec-08 9:22
Code-o-mat22-Dec-08 9:22 
AnswerRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Roger Allen24-Dec-08 0:46
Roger Allen24-Dec-08 0:46 
GeneralRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Maximilien24-Dec-08 1:53
Maximilien24-Dec-08 1:53 
QuestionInteracting with the "computer locked" desktop Pin
Al Huneke22-Dec-08 5:07
Al Huneke22-Dec-08 5:07 
AnswerRe: Interacting with the "computer locked" desktop Pin
Jonathan Davies22-Dec-08 6:07
Jonathan Davies22-Dec-08 6:07 
GeneralRe: Interacting with the "computer locked" desktop Pin
Al Huneke22-Dec-08 7:12
Al Huneke22-Dec-08 7:12 
QuestionAdd a Vista Gadget programmatically Pin
Member 382162022-Dec-08 5:06
Member 382162022-Dec-08 5:06 
QuestionEXE(Visual studio 6.0) is running at the back end, after the closing application also. Pin
Member 465174122-Dec-08 4:59
Member 465174122-Dec-08 4:59 
AnswerRe: EXE(Visual studio 6.0) is running at the back end, after the closing application also. Pin
Jonathan Davies22-Dec-08 5:52
Jonathan Davies22-Dec-08 5:52 
GeneralRe: EXE(Visual studio 6.0) is running at the back end, after the closing application also. Pin
Member 465174122-Dec-08 17:58
Member 465174122-Dec-08 17:58 
AnswerRe: EXE(Visual studio 6.0) is running at the back end, after the closing application also. Pin
Jijo.Raj22-Dec-08 9:28
Jijo.Raj22-Dec-08 9:28 
QuestionCan I change the Icon of EXE files dynamically? Pin
Joseph Marzbani22-Dec-08 4:25
Joseph Marzbani22-Dec-08 4:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.