Click here to Skip to main content
15,911,715 members

Comments by kpax1684 (Top 1 by date)

kpax1684 31-Oct-13 5:25am View    
Here is my code..,

<pre lang="cs">typedef struct s_StudentPro
{
char Prog1[15];
char Prog2[15];
char Student1[15];
char Student1[15];
} s_STUDENTPRO;</pre>


short __stdcall DLLEXPORT CheckStudP(char STD[50], void *Mom)
{

<pre lang="cs">s_STUDENTPRO*sTudent;
sTudent= mom;
sTudent= calloc(1,sizeof(struct sTudent));</pre>

sprintf(sTudent->Prog1,"SuperCompT");
sprintf(sTudent->Prog2,"SuperCompT");

std_GetInfo(sTudent->Prog1, sTudent->cbOrderVersion, sTudent->Student1, sTudent->Student1, &dllStp);