R
Raven76
Guest
hello,
I want to build tcp/ip-Stack as an library file.
The stack contains one tcp.hcc-file with the main-function and
and some other macros and functions. The second file is a headerfile
where all the variables are declared and the macro/functions-prototypes
are in it. Its my first time building a library file at all.
1. I think I have to put the main-function in the file which should
later include the library file (its not allowed to have a main-function
in a library-file, or), is it right???
2.I did that, I made a new project which includes the tcp.hcl
the code of the project is only the tcp-mainfunction from the old
tcp.hcc file
3. No there are a lot of errors, some var. are undeclared and
some are redifined.
can somebody help me,thanks,
michael
I want to build tcp/ip-Stack as an library file.
The stack contains one tcp.hcc-file with the main-function and
and some other macros and functions. The second file is a headerfile
where all the variables are declared and the macro/functions-prototypes
are in it. Its my first time building a library file at all.
1. I think I have to put the main-function in the file which should
later include the library file (its not allowed to have a main-function
in a library-file, or), is it right???
2.I did that, I made a new project which includes the tcp.hcl
the code of the project is only the tcp-mainfunction from the old
tcp.hcc file
3. No there are a lot of errors, some var. are undeclared and
some are redifined.
can somebody help me,thanks,
michael