Hello, my name is Jorge, I have a problem with Builder, in this case, version 5, the fact is that I use my small library with several functions ".h" in my program. So far so good.
The included in the project and define the unit1.cpp, the problem occurs when from the library try to edit the value of a component in the form1. Compiles and links fine but at run time the program ends with a "EAccessViolation"
Example:
If I do this from the Unit1.cpp goes well
Form1-> Label1-> Caption = "Hello World ";
But if I do this it from "milib.h" the program fails with "EAccessViolation"
Someone could tell me I'm doing wrong?
Thank you very much
Jorge
The included in the project and define the unit1.cpp, the problem occurs when from the library try to edit the value of a component in the form1. Compiles and links fine but at run time the program ends with a "EAccessViolation"
Example:
If I do this from the Unit1.cpp goes well
Form1-> Label1-> Caption = "Hello World ";
But if I do this it from "milib.h" the program fails with "EAccessViolation"
Someone could tell me I'm doing wrong?
Thank you very much
Jorge