Re: Linker Error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Matrixinline" <anup.kataria@xxxxxxxxx> wrote in message
news:1178604564.088356.123890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi ,

Class Utility{
public:
static bool Utility::ReplaceStringBetweenKey(char*);

This is overqualified. You're already inside of Utility, do not put
"Utility::" there.

}

bool Utility::ReplaceStringBetweenKey(char*){
return true;
}


Class MyConfigure{
void Write();
}

void MyConfigure::Write()
{
char* s ;
if(!Utility::ReplaceStringBetweenKey(s){
//ERROR
}
else
{
//Success
}
}

Gives me a error as follows please let me know whats wrong with my
code ...


Utility.lib(MyConfigure.obj) : error LNK2019: unresolved external
symbol "public: static bool __cdecl
Utility::ReplaceStringBetweenKey(char*);



.



Relevant Pages

  • Linker Error
    ... Class Utility{ ... bool Utility::ReplaceStringBetweenKey{ ... void MyConfigure::Write ... char* s; ...
    (microsoft.public.vc.language)
  • [PATCH 2.6.19-rc1 V9] drivers: add LCD support
    ... Adds support for the ks0108 LCD Controller as a device driver. ... +The buffer should be a 128*64 unsigned char array: ... * GNU General Public License for more details. ... +static void cfag12864b_setbit ...
    (Linux-Kernel)
  • [PATCH 2.6.19-rc1 V9] drivers: add LCD support
    ... Adds support for the ks0108 LCD Controller as a device driver. ... +The buffer should be a 128*64 unsigned char array: ... * GNU General Public License for more details. ... +static void cfag12864b_setbit ...
    (Linux-Kernel)
  • Re: back once again...
    ... reference to type ... a, signed char ... int dycObjectP(dyt obj); ... void dycBeginClass; ...
    (comp.lang.misc)
  • [PATCH 2.6.18 V8] drivers: add LCD support
    ... Adds a LCD class for registering LCD devices. ... +The buffer should be a 128*64 unsigned char array: ... * GNU General Public License for more details. ... +static void cfag12864b_setbit ...
    (Linux-Kernel)