Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Temeshwarrior

    Interfacing C-Funktion wiht char* as return type

    OK, it seems that there is a problem with passing the Structure to the C-Function. If i insert a dummy argument into the C-Function like this: char* GetCStr(int dummy, struct myStruct *myS) { myS->str = (char*)calloc(10,sizeof(char)); //do some other stuff like strcpy return myS->str; }...
  2. Temeshwarrior

    Interfacing C-Funktion wiht char* as return type

    Hello com, im sped a lot of time with interfaing a C-Function which looks quite like this: include "myStruct.h" char* GetCStr(struct myStruct *myS) { myS->str = (char*)calloc(10,sizeof(char)); //do some other stuff like strcpy return myS->str; } Well, i tried to write an interface...

Part and Inventory Search

Back
Top