Click here to Skip to main content
15,882,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: build errors Pin
josip cagalj11-May-09 2:26
josip cagalj11-May-09 2:26 
QuestionHow to compress an image? Pin
kapardhi11-May-09 1:30
kapardhi11-May-09 1:30 
AnswerRe: How to compress an image? Pin
CPallini11-May-09 1:41
mveCPallini11-May-09 1:41 
AnswerRe: How to compress an image? Pin
Stuart Dootson11-May-09 6:00
professionalStuart Dootson11-May-09 6:00 
QuestionSkip list takes so much time in insertion Pin
Risa Harada11-May-09 0:56
Risa Harada11-May-09 0:56 
AnswerRe: Skip list takes so much time in insertion Pin
Stuart Dootson11-May-09 5:58
professionalStuart Dootson11-May-09 5:58 
GeneralRe: Skip list takes so much time in insertion Pin
Risa Harada11-May-09 6:20
Risa Harada11-May-09 6:20 
Generalproblem with CryptStringToBinary. Pin
Vineet Kumar11-May-09 0:52
Vineet Kumar11-May-09 0:52 
Hi,

I am getting a string from the server , and doing following operation to get the BYTE format of that
string key;
This variable contains the value, which I received from server.

BYTE key1[24] = {0};
DWORD dwBase64Size;


CryptStringToBinary(key,0,CRYPT_STRING_BASE64,0,&dwBase64Size,0,0);
if (dwBase64Size>24)
return "";
CryptStringToBinary(key,0,CRYPT_STRING_BASE64,key1,&dwBase64Size,0,0);

This function is working fine for WINXP, but fails on Win2K, as it does not allow the dll to get registered.

In the same way the prolem is with CryptBinaryToString also.

can you suggest a alternate of this code, which works on WIN2K.

Thanks

Vineet Kumar Singhal
Sr.Software Engineer
Mumbai

Tough Time Never last, but Tough People do.

QuestionRe: problem with CryptStringToBinary. Pin
CPallini11-May-09 1:39
mveCPallini11-May-09 1:39 
QuestionEdit Control Problem Pin
Padmanabha_M11-May-09 0:15
Padmanabha_M11-May-09 0:15 
AnswerRe: Edit Control Problem Pin
Chandrasekharan P11-May-09 0:18
Chandrasekharan P11-May-09 0:18 
GeneralRe: Edit Control Problem Pin
Padmanabha_M11-May-09 1:01
Padmanabha_M11-May-09 1:01 
GeneralRe: Edit Control Problem Pin
Chandrasekharan P11-May-09 1:26
Chandrasekharan P11-May-09 1:26 
GeneralRe: Edit Control Problem Pin
Padmanabha_M11-May-09 1:30
Padmanabha_M11-May-09 1:30 
GeneralRe: Edit Control Problem Pin
SudharsanC11-May-09 1:41
SudharsanC11-May-09 1:41 
GeneralRe: Edit Control Problem Pin
Padmanabha_M11-May-09 19:58
Padmanabha_M11-May-09 19:58 
QuestionBlind out the Effects, color, Script, underline , struck through in CFontDialog Pin
susanne110-May-09 23:54
susanne110-May-09 23:54 
AnswerRe: Blind out the Effects, color, Script, underline , struck through in CFontDialog Pin
«_Superman_»11-May-09 2:17
professional«_Superman_»11-May-09 2:17 
GeneralRe: Blind out the Effects, color, Script, underline , struck through in CFontDialog Pin
susanne111-May-09 2:51
susanne111-May-09 2:51 
GeneralRe: Blind out the Effects, color, Script, underline , struck through in CFontDialog Pin
«_Superman_»11-May-09 16:06
professional«_Superman_»11-May-09 16:06 
GeneralRe: Blind out the Effects, color, Script, underline , struck through in CFontDialog Pin
susanne111-May-09 21:57
susanne111-May-09 21:57 
QuestionC2664 error Pin
subramanyeswari10-May-09 23:47
subramanyeswari10-May-09 23:47 
AnswerRe: C2664 error Pin
Madhu Nair11-May-09 0:02
Madhu Nair11-May-09 0:02 
AnswerRe: C2664 error Pin
Andre_J11-May-09 2:24
Andre_J11-May-09 2:24 
QuestionChange text over image. Pin
Purish Dwivedi10-May-09 22:32
Purish Dwivedi10-May-09 22:32 

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.