I have one project with some source files. I have the main source file (main.cpp) and it header file (main.h) where are declared all the objects on the form. In one of the oters source files (other.cpp) i needed to use some objects in the form, so i had the line #include "main.h" to 'other.cpp' to be able to use them. And it worked fine.
Then i sent this project to a friend and he cant compile it.
ghe gets erros like:
[C++ Error] other.cpp(268): E2316 'check_box1' is not a member of 'TForm1'
[C++ Error] other.cpp(268): E2316 'check_box2' is not a member of 'TForm1'
Why does the project compile in my computer and not in his?
Please help...it's very importante. Thanks in advance.
Then i sent this project to a friend and he cant compile it.
ghe gets erros like:
[C++ Error] other.cpp(268): E2316 'check_box1' is not a member of 'TForm1'
[C++ Error] other.cpp(268): E2316 'check_box2' is not a member of 'TForm1'
Why does the project compile in my computer and not in his?
Please help...it's very importante. Thanks in advance.