hello i need a url of a simple site using digest authenetication in order to test error handling in my client (HTTP/1.1 401) thanks
fx9200
Posts
-
URL using Digest HTTP Authentication ? -
html control for c applicationso i should code a whole hhtp coding/decoding part on my C application it seems to be a long task didn't think you? :(
-
html control for c applicationthnks for resposnes i found it a connection should be maintain between application and a php socket server. then data will be send/received via php server to/from flex application data base is accessible via php (the king in these cases) what do you think ? JEE??? haha it sem to be more secure and light !
-
html control for c applicationhello every body, i wrote an application using C under linux application input are char * , should be written in server socket. now i should work in the grphic part, i would that it be like html-based device interface (eg router), which tool(languages) should i use ? thanks
-
how to upload code here??just go there http://www.codeproject.com/info/submit.asp
-
graphical interface for a c Applicationhello every body, i wrote an application using C under linux application input are char * , should be written in server socket. now i should work in the grphic part, i would that it be like html-based device interface (eg router), which tool(languages) should i use ? thanks
-
Allocate memory inside function ??ok thanks
-
Allocate memory inside function ??void fill(void *input); struct mystruct { char *ch; int n; }; #define ARG_SIZE sizeof(struct mystruct) int main(){ void *ptr; ptr = (void*) malloc (ARG_SIZE); fill(ptr); printf ("%i",((struct mystruct*)ptr)->n); printf ("--%s",((struct mystruct*)ptr) ->ch); return 0; } void fill(void *input){ struct mystruct* st; st = (struct mystruct*) input; st ->n = 3;//operation is ok st->ch = (char *) malloc (3*sizeof(char)); strcpy(st->ch,"OK"); input = (void*) st; }
-
Allocate memory inside function ??void fill(void *input); struct mystruct { char *ch; int n; }; #define ARG_SIZE sizeof(struct mystruct) int main(){ void *ptr; ptr = (void*) malloc (ARG_SIZE); fill(ptr); printf ("%i",((struct mystruct*)ptr)->n); printf ("--%s",((struct mystruct*)ptr) ->ch); return 0; } void fill(void *input){ struct mystruct* st; st = (struct mystruct*) input; st ->n = 3;//operation is ok st->ch = (char *) malloc (3*sizeof(char)); strcpy(st->ch,"OK"); input = (void*) st;
-
Allocate memory inside function ??but how the code below works; i allocated memory for chr* inside function
-
Allocate memory inside function ??i'm trying thanks
-
Allocate memory inside function ??I tried this it works , but i cannot fix the allocated emory size by a no-static way void fill(void *input); struct mystruct { char *ch; int n; }; #define ARG_SIZE sizeof(struct mystruct) int main(){ void *ptr; ptr = (void*) malloc (ARG_SIZE); fill(ptr); printf ("%i",((struct mystruct*)ptr)->n); printf ("--%s",((struct mystruct*)ptr) ->ch); return 0; } void fill(void *input){ struct mystruct* st; st = (struct mystruct*) input; st ->n = 3;//operation is ok st->ch = (char *) malloc (3*sizeof(char)); strcpy(st->ch,"OK"); input = (void*) st; }
-
Allocate memory inside function ??:rolleyes: yes so ?
-
Allocate memory inside function ??how to pass reference(pointer) by reference ? please give example
-
Allocate memory inside function ??i tried it i had the same result in all cases
-
Allocate memory inside function ??the code is too long but : #define STRUCT struct mystruct void function (void *input){ .... pointer = (STRUCT*) malloc (sizeof(STRUCT)); //filling in input attributes... input = pointer; } main(){ void *ptr; function (ptr); printf("%...", ptr->..........); } this work only if i allocate the memory for ptr in the main program
-
Allocate memory inside function ??Hello I want to allocate memory for a void* pointer inside a function; i tried to do that by using malloc to the pointer passed as an argument ; the memory space was not kept after function return; how kan i do that thanks
-
Cxstatichello; i wanted to make my editbox transparent i used the cxstatic class from Codeproject for the static ones is was OK but the problem is in updating time for example the new time is redrown on the old one !
-
Transparent edit boxi'm in the end of the project; and i dont think its a good idea to convert it automatically with wizard;
-
Transparent edit boxthanks, it worked; but with this i can't set a bitmap as a back round of the edit box;