Click here to Skip to main content
15,914,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMsFlexGrid : any response, please Pin
Carlos Antollini15-Feb-02 3:10
Carlos Antollini15-Feb-02 3:10 
GeneralHEX to INT Pin
Steven Richardson15-Feb-02 1:27
Steven Richardson15-Feb-02 1:27 
GeneralRe: HEX to INT Pin
Mazdak15-Feb-02 2:10
Mazdak15-Feb-02 2:10 
GeneralRe: HEX to INT Pin
moliate15-Feb-02 2:30
moliate15-Feb-02 2:30 
GeneralRe: HEX to INT Pin
Steven Richardson15-Feb-02 2:48
Steven Richardson15-Feb-02 2:48 
GeneralRe: HEX to INT Pin
moliate15-Feb-02 3:14
moliate15-Feb-02 3:14 
GeneralRe: HEX to INT Pin
Rick York15-Feb-02 5:13
mveRick York15-Feb-02 5:13 
GeneralRe: HEX to INT Pin
Steven Richardson15-Feb-02 6:19
Steven Richardson15-Feb-02 6:19 
right heres what i have now:

Encrypt:
AnsiString EditText = RichEdit1->Lines->Text;
for (int i=1;i<=EditText.Length();i++) {
Form1->Tmp = Form1->Tmp + IntToHex(EditText[i],2);
}
RichEdit1->Lines->Text = "";
RichEdit1->Lines->Text = Form1->Tmp;
Form1->Tmp = "";

Decrypt:
AnsiString DeCrypt = Form1->RichEdit1->Lines->Text;
int i = 1;
int l = 2;
for ( ;i<decrypt.length() &&="" l<decrypt.length();i="i" +="" 2="" ,="" l="l" 2)="" {
="" form1-="">Tmp = DeCrypt[i];
Form1->Tmp = Form1->Tmp + DeCrypt[l];
Form1->RichEdit1->Lines->Append (Form1->Tmp);
}

so now: hello when encrypted =
68656C6C6F0D0A

and on decrypt i get:
68
65
6C
6C
6F
0D
0A

so tmp contains the temp string for each letter i now just need tmp to be converted?
GeneralMFC Metafile to --> ATL ActiveX Pin
Braulio Dez15-Feb-02 0:38
Braulio Dez15-Feb-02 0:38 
QuestionHow to make a view in the main frame to have a flat look ? Pin
Armen Hakobyan15-Feb-02 0:05
professionalArmen Hakobyan15-Feb-02 0:05 
AnswerRe: How to make a view in the main frame to have a flat look ? Pin
Mazdak15-Feb-02 0:50
Mazdak15-Feb-02 0:50 
AnswerRe: How to make a view in the main frame to have a flat look ? Pin
Mazdak15-Feb-02 1:00
Mazdak15-Feb-02 1:00 
AnswerRe: How to make a view in the main frame to have a flat look ? Pin
alex.barylski15-Feb-02 1:13
alex.barylski15-Feb-02 1:13 
GeneralRe: How to make a view in the main frame to have a flat look ? Pin
alex.barylski15-Feb-02 1:14
alex.barylski15-Feb-02 1:14 
GeneralCompiling MFC in a shared DLL Pin
15-Feb-02 0:08
suss15-Feb-02 0:08 
Generala simply question about dlls Pin
Gérald Mercet14-Feb-02 23:41
Gérald Mercet14-Feb-02 23:41 
GeneralRe: a simply question about dlls Pin
Joaquín M López Muñoz15-Feb-02 1:41
Joaquín M López Muñoz15-Feb-02 1:41 
GeneralRe: a simply question about dlls Pin
Gérald Mercet15-Feb-02 1:58
Gérald Mercet15-Feb-02 1:58 
GeneralRe: a simply question about dlls Pin
Joaquín M López Muñoz15-Feb-02 2:04
Joaquín M López Muñoz15-Feb-02 2:04 
GeneralRe: a simply question about dlls Pin
Gérald Mercet15-Feb-02 4:24
Gérald Mercet15-Feb-02 4:24 
GeneralRe: a simply question about dlls Pin
Carlos Antollini15-Feb-02 4:53
Carlos Antollini15-Feb-02 4:53 
GeneralRe: a simply question about dlls Pin
Gérald Mercet15-Feb-02 5:15
Gérald Mercet15-Feb-02 5:15 
GeneralRe: a simply question about dlls Pin
Carlos Antollini15-Feb-02 5:21
Carlos Antollini15-Feb-02 5:21 
GeneralRe: a simply question about dlls Pin
Gérald Mercet15-Feb-02 5:39
Gérald Mercet15-Feb-02 5:39 
GeneralRe: a simply question about dlls Pin
Carlos Antollini15-Feb-02 5:43
Carlos Antollini15-Feb-02 5:43 

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.