Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assignation error

Status
Not open for further replies.

jmorate

Programmer
Oct 22, 2002
1
ES
Problem between a BPL and DLL.
I have a class declared on a DLL with 2 properties. Call them TClass.a and TClass.b
Then I declare a new object on the BPL like this: c = new TClass();
Then I call to a function inside the class (for example function f() that assigns TClass.b to TClass.a. This assignation doesn't work. I don't know why.
 
Try using -> in stead of .
i.e. use "c->f()" in stead of "c.f()", this is nessecary due to the way the function are created, that demands the use of pointers. Totte
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top