linker - C++ Builder XE unresolved external error -
i have following header file containing class , variables
extern bool akwizycja_w_toku; extern lpctstr pfilename; extern int numer_akwizycji; class akwizycja : public tthread { public: __fastcall akwizycja(bool createsuspended); void __fastcall akwizycja::updatelabels(); akwizycja::akwizycja() {} };
(just sample, there more doesn't matter) furthermore i've got main project
#include "akwizycja.h" void __fastcall akwizycja::updatelabels() { form1->label12->caption=floattostrf(drate,fffixed,8,4); form1->label13->caption=floattostrf(actualrate,fffixed,8,3); form1->label14->caption=floattostrf(effectiverate,fffixed,8,3); form1->label15->caption=pow(2,clock_divider); }
where arguments drate or fffixed of extern variables. problem starts when want use of functions
void __fastcall tform1::button3click(tobject *sender) { akwizycja* new_object = new akwizycja; }
i [ilink32 error] error: unresolved external '_drate' referenced d:\df\debug\win32\receiver.obj of variables used.
suppose it's path-setting issue, of them added. many piece of advice.
Comments
Post a Comment