| View previous topic :: View next topic |
| Author |
Message |
hunglm General User

Joined: 28 Jun 2005 Posts: 16
|
Posted: Mon Aug 29, 2005 1:13 am Post subject: I have a errors when I build. I don't know how to solve... |
|
|
I wants to add new ModelessDialog. But when I uses :
SwTestDlgChild::RegisterChildWindow( sal_False, pMod );
In file sw\swmodule.cxx
Then, I build, it has a error :
swall.lib(swmodule.obj) : error LNK2019: unresolved external symbol "public: sta
tic void __cdecl SwTestDlgChild::RegisterChildWindow(unsigned char,class SfxModu
le *,unsigned short)" (?RegisterChildWindow@SwTestDlgChild@@SAXEPAVSfxModule@@G@
Z) referenced in function "private: static void __cdecl SwDLL::RegisterControls(
void)" (?RegisterControls@SwDLL@@CAXXZ)
..\wntmsci10.pro\bin\sw680mi.dll : fatal error LNK1120: 1 unresolved externals
dmake: Error code 129, while making '..\wntmsci10.pro\bin\sw680mi.dll'
I don't know how to solve this problem. Help me ! |
|
| Back to top |
|
 |
SergeM Super User

Joined: 09 Sep 2003 Posts: 3211 Location: Troyes France
|
|
| Back to top |
|
 |
hunglm General User

Joined: 28 Jun 2005 Posts: 16
|
Posted: Mon Aug 29, 2005 4:46 pm Post subject: |
|
|
I fixed my problem yesterday. It is a error when I defined class : public: sta
tic void __cdecl SwTestDlgChild::RegisterChildWindow(unsigned char,class SfxModu
le *,unsigned short)"
It must be private: static void __cdecl SwDLL::RegisterControls(
void)" (?RegisterControls@SwDLL@@CAXXZ)
But, I don't still know how to show the Modeless Dialog. |
|
| Back to top |
|
 |
SergeM Super User

Joined: 09 Sep 2003 Posts: 3211 Location: Troyes France
|
|
| Back to top |
|
 |
|