I am new to C++ I sometimes get this sort of error. However I am not able to find out whats the reason.
RoofSettings.obj : error LNK2028: unresolved token (0A0038C8) "extern "C" void __cdecl func(wchar_t const *,wchar_t const *)" (?func@@$$J0YAXPEB_W0@Z) referenced in function "private: static void __clrcall Architecture::Helper::Settings::SetOffset(double)" (?SetOffset@Settings@Helper@Architecture@$$FCMXN@Z)
This time I am getting this error when I try this code
pin_ptr<const wchar_t> val = PtrToStringChars(dValue.ToString());
WCharCP offsetValue = val;
func(wcXPath, offsetValue);
Also the function is mentioned in .fdf file as
nativeCode Public void func (
WCharCP pPropertyXPath,
WCharCP pPropertyValue );
I have read answers of some of related questions but could not find any appropriate answer. Any guidance will be highly appreciated