OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

I have a errors when I build. I don't know how to solve...

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
hunglm
General User
General User


Joined: 28 Jun 2005
Posts: 16

PostPosted: Mon Aug 29, 2005 1:13 am    Post subject: I have a errors when I build. I don't know how to solve... Reply with quote

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
View user's profile Send private message Yahoo Messenger
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Mon Aug 29, 2005 4:22 am    Post subject: Reply with quote

I don't understand exacly what do you do. You are modifying code source and compiling it again ?
_________________
Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide
Back to top
View user's profile Send private message Visit poster's website
hunglm
General User
General User


Joined: 28 Jun 2005
Posts: 16

PostPosted: Mon Aug 29, 2005 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Tue Aug 30, 2005 7:42 am    Post subject: Reply with quote

Please post your questions in "OpenOffice.org Macros and API" Forum. This Forum is for working code only.
_________________
Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group