Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Unicode support for CryptEncrypt(..) and CryptDecrypt(..) ........... Pin
CPallini2-Nov-09 5:19
mveCPallini2-Nov-09 5:19 
AnswerRe: Unicode support for CryptEncrypt(..) and CryptDecrypt(..) ........... Pin
Randor 2-Nov-09 5:23
professional Randor 2-Nov-09 5:23 
GeneralRe: Unicode support for CryptEncrypt(..) and CryptDecrypt(..) ........... Pin
hvgyufg28fh38tyr78hf3-Nov-09 1:27
hvgyufg28fh38tyr78hf3-Nov-09 1:27 
QuestionCablebox Pop-up blocker Pin
Quecumber2562-Nov-09 3:58
Quecumber2562-Nov-09 3:58 
AnswerRe: Cablebox Pop-up blocker Pin
Maximilien2-Nov-09 6:43
Maximilien2-Nov-09 6:43 
GeneralRe: Cablebox Pop-up blocker Pin
Quecumber2563-Nov-09 3:28
Quecumber2563-Nov-09 3:28 
Questionproblem in sending int in sockets Pin
WindowsVsLinux2-Nov-09 2:25
WindowsVsLinux2-Nov-09 2:25 
AnswerRe: problem in sending int in sockets Pin
CPallini2-Nov-09 3:25
mveCPallini2-Nov-09 3:25 
if you need to send just one int then you may do something similar to:
int i=5;
int bytes_sent;
bytes_sent = send(socket_name, (const char *) &i , sizeof(i) , flag);


If you need to send an array of integers:
int arr[]= { 10, 7, 25 };
int bytes_sent;
bytes_sent = send(socket_name, (const char *) arr , sizeof(arr) , flag);


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: problem in sending int in sockets Pin
WindowsVsLinux2-Nov-09 7:08
WindowsVsLinux2-Nov-09 7:08 
GeneralRe: problem in sending int in sockets Pin
CPallini2-Nov-09 7:20
mveCPallini2-Nov-09 7:20 
GeneralRe: problem in sending int in sockets Pin
WindowsVsLinux2-Nov-09 7:43
WindowsVsLinux2-Nov-09 7:43 
GeneralRe: problem in sending int in sockets Pin
CPallini2-Nov-09 7:45
mveCPallini2-Nov-09 7:45 
GeneralRe: problem in sending int in sockets Pin
WindowsVsLinux2-Nov-09 8:10
WindowsVsLinux2-Nov-09 8:10 
GeneralRe: problem in sending int in sockets Pin
«_Superman_»3-Nov-09 8:10
professional«_Superman_»3-Nov-09 8:10 
GeneralRe: problem in sending int in sockets Pin
WindowsVsLinux3-Nov-09 19:53
WindowsVsLinux3-Nov-09 19:53 
AnswerRe: problem in sending int in sockets Pin
Rajesh R Subramanian2-Nov-09 3:29
professionalRajesh R Subramanian2-Nov-09 3:29 
AnswerRe: problem in sending int in sockets Pin
Moak2-Nov-09 8:55
Moak2-Nov-09 8:55 
QuestionError using MCIWnd to play FLV and MP4 videos Pin
Ha_Tim2-Nov-09 2:14
Ha_Tim2-Nov-09 2:14 
QuestionInitializing array with a runtime value. Pin
yeah10002-Nov-09 2:10
yeah10002-Nov-09 2:10 
AnswerRe: Initializing array with a runtime value. Pin
David Crow2-Nov-09 2:20
David Crow2-Nov-09 2:20 
AnswerRe: Initializing array with a runtime value. Pin
Michael Schubert2-Nov-09 3:22
Michael Schubert2-Nov-09 3:22 
QuestionLoading exe into memory from DVD Pin
kumar sanghvi1-Nov-09 23:52
kumar sanghvi1-Nov-09 23:52 
AnswerRe: Loading exe into memory from DVD Pin
Randor 2-Nov-09 0:12
professional Randor 2-Nov-09 0:12 
AnswerRe: Loading exe into memory from DVD Pin
«_Superman_»2-Nov-09 7:11
professional«_Superman_»2-Nov-09 7:11 
QuestionSending binary file through Sockets in WindowsXP Pin
WindowsVsLinux1-Nov-09 23:29
WindowsVsLinux1-Nov-09 23:29 

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.