Click here to Skip to main content
11,482,402 members (73,786 online)

C / C++ / MFC

 
AnswerRe: Using VISUAL C++ 6.0 with OLE Pin
jschell30-Nov-12 11:46
memberjschell30-Nov-12 11:46 
SuggestionRe: Using VISUAL C++ 6.0 with OLE Pin
DavidCrow30-Nov-12 15:24
memberDavidCrow30-Nov-12 15:24 
GeneralRe: Using VISUAL C++ 6.0 with OLE Pin
ForNow4-Dec-12 14:48
memberForNow4-Dec-12 14:48 
AnswerRe: Using VISUAL C++ 6.0 with OLE Pin
Stephen Hewitt2-Dec-12 5:54
memberStephen Hewitt2-Dec-12 5:54 
AnswerRe: Using VISUAL C++ 6.0 with OLE Pin
Cristian Amarie3-Dec-12 9:52
memberCristian Amarie3-Dec-12 9:52 
QuestionDll injection and hooking Pin
miniman0630-Nov-12 8:47
memberminiman0630-Nov-12 8:47 
AnswerRe: Dll injection and hooking Pin
miniman061-Dec-12 20:01
memberminiman061-Dec-12 20:01 
Questionsimple program in linux doesnt work Pin
a1_shay29-Nov-12 23:59
membera1_shay29-Nov-12 23:59 
this simple program supposed to run the command ls
but the output is 1 and 2.can someone explain to me why ls not working ?
#include <stdio.h>
main()
{
    int pid,stat;
    if((pid=fork())==0)
      {
        execl("/bin/","ls",NULL);
        printf("1");
	exit(1);
      }
    else
      {
         wait(&stat);
         printf("2");
      }
}

AnswerRe: simple program in linux doesnt work Pin
Graham Breach30-Nov-12 1:24
memberGraham Breach30-Nov-12 1:24 
GeneralRe: simple program in linux doesnt work Pin
a1_shay30-Nov-12 2:43
membera1_shay30-Nov-12 2:43 
AnswerRe: simple program in linux doesnt work Pin
jschell30-Nov-12 11:49
memberjschell30-Nov-12 11:49 
QuestionRead binary File Pin
yogeshs29-Nov-12 0:05
memberyogeshs29-Nov-12 0:05 
AnswerRe: Read binary File Pin
Richard MacCutchan29-Nov-12 0:14
mvpRichard MacCutchan29-Nov-12 0:14 
AnswerRe: Read binary File Pin
Freak3029-Nov-12 0:18
memberFreak3029-Nov-12 0:18 
GeneralRe: Read binary File Pin
yogeshs29-Nov-12 0:41
memberyogeshs29-Nov-12 0:41 
QuestionRe: Read binary File Pin
DavidCrow29-Nov-12 3:37
memberDavidCrow29-Nov-12 3:37 
Questionextracting resources from an exe for translation Pin
chronodekar28-Nov-12 22:28
memberchronodekar28-Nov-12 22:28 
AnswerRe: extracting resources from an exe for translation Pin
Mattias G3-Dec-12 23:24
memberMattias G3-Dec-12 23:24 
Questioncompile code twice,why the two result is differrent Pin
yingkou28-Nov-12 22:10
memberyingkou28-Nov-12 22:10 
AnswerRe: compile code twice,why the two result is differrent Pin
Stefan_Lang28-Nov-12 23:31
memberStefan_Lang28-Nov-12 23:31 
AnswerRe: compile code twice,why the two result is differrent Pin
Stephen Hewitt29-Nov-12 1:42
memberStephen Hewitt29-Nov-12 1:42 
AnswerRe: compile code twice,why the two result is differrent Pin
sajeesh.c30-Nov-12 19:28
membersajeesh.c30-Nov-12 19:28 
AnswerRe: compile code twice,why the two result is differrent Pin
Cristian Amarie3-Dec-12 9:55
memberCristian Amarie3-Dec-12 9:55 
QuestionCListCtrl Pin
sarfaraznawaz28-Nov-12 22:07
membersarfaraznawaz28-Nov-12 22:07 
AnswerRe: CListCtrl Pin
Jochen Arndt28-Nov-12 22:30
memberJochen Arndt28-Nov-12 22:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 25 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid