hi there, i have struct with the problem.I'm writing a code for DS12887,And typedef two structures in the header file.It is normal before writing a function. But now the error C141. I am more confused. Ask for The help Header file:
#include <stdio.h> #include <absacc.h> typedef struct { ...... }stTimeStr; typedef struct { ...... }stDsStatus; void InitaliseDS(stTimeStr* stClkTime,stTimeStr* stAlmTime); void SetClkTime(stTimeStr* stClkTime); void SetAlmTime(stTimeStr* stAlmTime); void GetDSStatus(stDsStatus* stStat);
C Source file:
#include <stdio.h> #include <absacc.h> #include "DS12887.h" void InitaliseDS(stTimeStr* stClkTime,stTimeStr* stAlmTime) { ...... } void SetClkTime(stTimeStr* stClkTime) { ...... } void InitaliseDS(stTimeStr* stClkTime,stTimeStr* stAlmTime) { ...... } void GetDSStatus(stDsStatus* stStat) { ...... } void GetDSStatus(stDsStatus* stStat) { ...... }
Private consultancy would be chargeable
What am I missing?
You asked what had changed. The OP offered to send you the code to look at and, presumably, determine for yourself what had changed.
Are you saying you are stating that you would pay the OP for his assistance in telling you the difference???
All right....I thought the atmosphere like a Chinese forum...... How can upload file in this Thread?
have a look at the file with byte1 defined
How can upload file in this Thread?
since the OP does not have any problem getting one file displayed in the thread, why must another file be 'uploaded'?
to P Smith:
The OP offered to send you the code to look at and, presumably, determine for yourself what had changed.
you should realize that, although we gladly help, if actual work is involved there will be a consultancy charge.
some posters assume that we will download their code, debug it, and return it for free NO WAY