Click here to Skip to main content
16,016,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to change the icon of program by Visual C++ 6.0 Pin
cpprules13-Aug-05 12:55
cpprules13-Aug-05 12:55 
QuestionWhere I make mistake in getting input boxes from html page? Pin
Alex Shapovalov13-Aug-05 4:49
professionalAlex Shapovalov13-Aug-05 4:49 
GeneralHexEncoder class to CString Pin
Member 207257813-Aug-05 4:07
Member 207257813-Aug-05 4:07 
GeneralRe: HexEncoder class to CString Pin
Jose Lamas Rios13-Aug-05 7:14
Jose Lamas Rios13-Aug-05 7:14 
GeneralRe: HexEncoder class to CString Pin
Member 207257813-Aug-05 20:24
Member 207257813-Aug-05 20:24 
GeneralRe: HexEncoder class to CString Pin
Member 207257814-Aug-05 6:59
Member 207257814-Aug-05 6:59 
GeneralRe: HexEncoder class to CString Pin
Member 207257816-Aug-05 3:29
Member 207257816-Aug-05 3:29 
GeneralRe: HexEncoder class to CString Pin
Jose Lamas Rios17-Aug-05 4:50
Jose Lamas Rios17-Aug-05 4:50 
titi@yahoo.com wrote:
It gives no error but at the time of execution of this code "illegal operation error" message box is displayed.Where Im doing wrong?

Hard to tell without knowing at what point in the code you get that error.

In any case, if you looked at the DER declaration in borzoi.h, you'd note DER objects hold their data in an OCTETSTR public member named v, and as I already shown you how to code an OctetStrToHexString, you'd realize you can simply use OctetStrToHexString passing der_str.v.
   ECDSA sig1(sk, OS2IP(hash)); // generate the signature
   DER der_str (sig1); //DER class function
 
   CWnd* pWnd = GetDlgItem(IDC_EDIT3);
   if (pWnd)
   {
      CString sDer;
      OctetStrToHexString(der_str.v, sDer);
      pWnd->SetWindowText(sDer);
   }




--
jlr
http://jlamas.blogspot.com/[^]
GeneralRe: HexEncoder class to CString Pin
Member 207257819-Aug-05 4:56
Member 207257819-Aug-05 4:56 
GeneralToolbar Pin
BicycleTheif13-Aug-05 3:07
BicycleTheif13-Aug-05 3:07 
Generalproble with hooks Pin
gamitech13-Aug-05 2:18
gamitech13-Aug-05 2:18 
Generaltopic for project Pin
V.G13-Aug-05 2:15
V.G13-Aug-05 2:15 
GeneralRe: topic for project Pin
John R. Shaw13-Aug-05 21:37
John R. Shaw13-Aug-05 21:37 
GeneralRe: topic for project Pin
V.G14-Aug-05 3:46
V.G14-Aug-05 3:46 
Questionchange single instance app to multi instance? Pin
ThinkingPrometheus13-Aug-05 1:52
ThinkingPrometheus13-Aug-05 1:52 
AnswerRe: change single instance app to multi instance? Pin
John R. Shaw13-Aug-05 22:11
John R. Shaw13-Aug-05 22:11 
GeneralRe: change single instance app to multi instance? Pin
ThinkingPrometheus15-Aug-05 20:21
ThinkingPrometheus15-Aug-05 20:21 
GeneralRe: change single instance app to multi instance? Pin
Why_Am_I_Anonymous_Again16-Aug-05 21:57
sussWhy_Am_I_Anonymous_Again16-Aug-05 21:57 
GeneralRe: change single instance app to multi instance? Pin
ThinkingPrometheus16-Aug-05 22:11
ThinkingPrometheus16-Aug-05 22:11 
GeneralMonitoring Websites Pin
nripun13-Aug-05 1:15
nripun13-Aug-05 1:15 
GeneralReference question Pin
LiYS12-Aug-05 23:55
LiYS12-Aug-05 23:55 
GeneralRe: Reference question Pin
Bhaskar13-Aug-05 1:51
Bhaskar13-Aug-05 1:51 
GeneralRe: Reference question Pin
LiYS13-Aug-05 3:49
LiYS13-Aug-05 3:49 
GeneralRe: Reference question Pin
Jose Lamas Rios13-Aug-05 6:58
Jose Lamas Rios13-Aug-05 6:58 
GeneralRe: Reference question Pin
S. Senthil Kumar13-Aug-05 7:04
S. Senthil Kumar13-Aug-05 7:04 

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.