Hi everydoy,
I'm developping a plugin for Abiword 2.4.0 on Windows XP2 with Visual
Studio.net.
So I created a MFC DLL projet with the sample plugin "Wikipedia" in the
source code. I have some problems to reach my goal.
The main problem come in the function "Wikipedia_addToMenus()" at the
felowing lines.
// First we need to get a pointer to the application itself.
XAP_App *pApp = XAP_App::getApp();
The execution of my DLL set "pApp" to NULL. The static function
"XAP_App::getApp()" must be import from Abiword application.
I think, I have to build my DLL with the macro "ABI_DLL" but with this
macro, there are some build errors.
error C2491: 'UT_GenericVector<T>::__ctor' : definition of dllimport
function not allowed.
What I have to do to get "XAP_App" Object of Abiword application in my
plugin?
So, is someone can give me a hint.
Regards
Pierre
Received on Fri Oct 14 15:51:43 2005
This archive was generated by hypermail 2.1.8 : Fri Oct 14 2005 - 15:51:43 CEST