Click here to Skip to main content
15,922,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help with Dynamic allocation in C. Pin
mnjobes26-Mar-03 20:32
mnjobes26-Mar-03 20:32 
GeneralRe: help with Dynamic allocation in C. Pin
Taka Muraoka26-Mar-03 21:10
Taka Muraoka26-Mar-03 21:10 
GeneralChanging the file extension for documents in VC7 Pin
Matt Gates23-Mar-03 14:21
Matt Gates23-Mar-03 14:21 
GeneralRe: Changing the file extension for documents in VC7 Pin
Nish Nishant23-Mar-03 20:00
sitebuilderNish Nishant23-Mar-03 20:00 
QuestionEmulating Win32 on Windows 98/Me? Pin
Ambit23-Mar-03 12:45
Ambit23-Mar-03 12:45 
AnswerRe: Emulating Win32 on Windows 98/Me? Pin
Taka Muraoka23-Mar-03 12:51
Taka Muraoka23-Mar-03 12:51 
GeneralRe: Emulating Win32 on Windows 98/Me? Pin
Ambit23-Mar-03 14:29
Ambit23-Mar-03 14:29 
GeneralRe: Emulating Win32 on Windows 98/Me? Pin
Taka Muraoka23-Mar-03 15:28
Taka Muraoka23-Mar-03 15:28 
To encode, something like this:

unsigned char* pEncryptedBuf = ...
size_t encryptedBufLen = ...
for ( size_t i=0 ; i < encryptedBufLen , ++i )
    printf( "%02X" , (int)pEncryptedBuf[i] ) ; 


You probably won't want to print the string to the console but this is the basic idea i.e. the string you store in the INI file is guaranteed to contain only nice characters and won't be a problem on any OS.

Decoding is left as an exercise for the reader... Smile | :)



You should save yourself and your company years of grief by shooting yourself through the head immediately. Believe me, in the long run it'll turn out better for everyone. - Tyto (at arstechnica)

Awasu 1.0[^]: A free RSS reader with support for Code Project.

GeneralRe: Emulating Win32 on Windows 98/Me? Pin
Ambit24-Mar-03 2:30
Ambit24-Mar-03 2:30 
AnswerRe: Emulating Win32 on Windows 98/Me? Pin
Stefan Pedersen23-Mar-03 12:52
Stefan Pedersen23-Mar-03 12:52 
GeneralRe: Emulating Win32 on Windows 98/Me? Pin
Ambit23-Mar-03 14:47
Ambit23-Mar-03 14:47 
GeneralRe: Emulating Win32 on Windows 98/Me? Pin
Stefan Pedersen23-Mar-03 23:36
Stefan Pedersen23-Mar-03 23:36 
AnswerRe: Emulating Win32 on Windows 98/Me? Pin
Dave Bryant23-Mar-03 13:52
Dave Bryant23-Mar-03 13:52 
GeneralRe: Emulating Win32 on Windows 98/Me? Pin
Ambit23-Mar-03 14:32
Ambit23-Mar-03 14:32 
AnswerRe: Emulating Win32 on Windows 98/Me? Pin
Navin23-Mar-03 16:42
Navin23-Mar-03 16:42 
AnswerRe: Emulating Win32 on Windows 98/Me? Pin
r i s h a b h s23-Mar-03 19:20
r i s h a b h s23-Mar-03 19:20 
GeneralTrying to create context-sensitive help with VC++ Pin
trimtrom23-Mar-03 11:53
trimtrom23-Mar-03 11:53 
GeneralAnnoying fstream problem!! Pin
Rickard Andersson2023-Mar-03 10:29
Rickard Andersson2023-Mar-03 10:29 
GeneralRe: Annoying fstream problem!! Pin
Christian Graus23-Mar-03 10:34
protectorChristian Graus23-Mar-03 10:34 
GeneralRe: Annoying fstream problem!! Pin
Rickard Andersson2023-Mar-03 10:56
Rickard Andersson2023-Mar-03 10:56 
GeneralRe: Annoying fstream problem!! Pin
Joaquín M López Muñoz23-Mar-03 11:00
Joaquín M López Muñoz23-Mar-03 11:00 
GeneralRe: Annoying fstream problem!! Pin
Rickard Andersson2023-Mar-03 11:12
Rickard Andersson2023-Mar-03 11:12 
GeneralRe: Annoying fstream problem!! Pin
Joaquín M López Muñoz23-Mar-03 20:13
Joaquín M López Muñoz23-Mar-03 20:13 
GeneralRe: Annoying fstream problem!! Pin
Rickard Andersson2023-Mar-03 22:36
Rickard Andersson2023-Mar-03 22:36 
QuestionMenu Mnemonics on Dialog? Pin
MKlucher23-Mar-03 10:05
MKlucher23-Mar-03 10:05 

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.