I am using OpenAt 3.02 and MS Visual C++
I want to use TCP/IP stack functions. Do I have to include the gcc_eDlib_302.lib library or copy it into any directory? Because there is a problem with the usage of ed_Init() function.
void adl_main ( adl_InitType_e InitType )
{
TRACE (( 1, “Embedded : Appli Init” ));
ed_Init();
}
–>1 error(s), 1 warning(s)
but if I use function as below
void adl_main ( adl_InitType_e InitType )
{
TRACE (( 1, “Embedded : Appli Init” ));
s8 ed_Init();
}
3 error(s), 6 warning(s) but this means compiling is successful and compiler creates the .dwl file
why shoul I use s8 before ed_Init(); ? Is it true? How can I get the result code of ed_Init function i.e. is it connected or not?
I think compiler does not recognize the ed_Init() function so it doesn’t see the gcc_eDlib_302.lib file. When I write s8 ed_Init(); compiler behaves as if it is a new function declaration.
Any idea?