Hi Aida,

        The error says that your plugin cannot be loaded because there’s a
problem loading the dependencies. In the error message, GIMIAS cannot
discover what is the missing dependency. The problem could be that you need
to press the button “Install files to build folder” in CSnake because
wxWidgets DLL have been changed. 

        If this doesn’t fix the problem, you can try to download dependency
walker, open your plugin DLL and check what is the missing dependency:
        http://www.dependencywalker.com/ 

Best,
Xavi


From: Aida Ninyerola [mailto:[email protected]] 
Sent: lunes, 09 de mayo de 2011 14:38
To: Xavier Planes
Cc: [email protected]
Subject: Re: [Gimias-developers] spinCtrl for float numbers

Hi,

All has compiled correctly and I got the new .dll file of the plugin that
uses de spinreal.
But when I run gimias (in debug mode) I got the error of the attach file.

I don't know what I'm doing wrong.

Thank you very much,
Aida


2011/5/6 Xavier Planes <[email protected]>
Hi Aida,

       Very cool!!! I added the class you sent me into the GIMIAS trunk, so
it will be available for the next release of GIMIAS.

       The error you have is because there’s a define condition in the file
spinreal.cpp that checks if the symbol __WIN95__ is defined. I’ve removed
this symbol (I don’t know where is it defined). I also needed to make other
small modifications to the code that I send you in a zip file.

       Be careful with the control because the code is quite old (I think
is 7 years ago).

       Thank you very much for your contribution!

Best,
Xavi


From: Aida Ninyerola [mailto:[email protected]]
Sent: jueves, 05 de mayo de 2011 17:59
To: Xavier Planes
Cc: [email protected]
Subject: Re: [Gimias-developers] spinCtrl for float numbers

Hi,

Following your advice I found an implementation for wxSprinCtrl with float
numbers.
In the attachment you can find the files I downloaded.

I tried to use these files but I'm doing something wrong as I get this error
when I try to compile the pluguin that uses wxSpinReal:

Error    6    error LNK2019: símbolo externo "__declspec(dllimport) public:
__cdecl wxSpinReal::wxSpinReal(class wxWindow *,int,class wxString const
&,class wxPoint const &,class wxSize const
&,long,float,float,float,float,int,class wxString const &)"
(__imp_??0wxSpinReal@@QEAA@PEAVwxWindow@@HAEBVwxString@@AEBVwxPoint@@AEBVwxS
ize@@JMMMMH1@Z) sin resolver al que se hace referencia en la función
"public: __cdecl
ReconstructionPluginReconstructionPanelWidgetUI::ReconstructionPluginReconst
ructionPanelWidgetUI(class wxWindow *,int,class wxPoint const &,class wxSize
const &,long)"
(??0ReconstructionPluginReconstructionPanelWidgetUI@@QEAA@PEAVwxWindow@@HAEB
VwxPoint@@AEBVwxSize@@J@Z)   
ReconstructionPluginReconstructionPanelWidgetUI.obj

When I try to go to the definition of wxSpinReal it works fine.
I don't know if I've forgotten any step or if the files I've chosen are the
correct ones.
• spinrealm.cpp copied as spinreal.cpp into
C:\GimiasToolkit_v130\thirdParty\WXWIDGETS-2.8.10\wxWidgets-2.8.10\src\msw
• spinrealm.h copied as spinreal.h intro
C:\GimiasToolkit_v130\thirdParty\WXWIDGETS-2.8.10\wxWidgets-2.8.10\include\w
x\msw
• spinreal.h copied into
C:\GimiasToolkit_v130\thirdParty\WXWIDGETS-2.8.10\wxWidgets-2.8.10\include\w
x
What can I do to try to solve the error?

Thank you very much,
Aida
2011/5/2 Xavier Planes <[email protected]>
Hello Aida,

       I had a similar problema trying to use a wxSlider for floats and I
decided to implement a wxFloatSlider class that you can find inside
tpExtWxWidgets library. However for wxSpinCtrl you can try to find some
implementation in Internet.

       You can also try to send this email into the wxWidgets mailing list
(http://www.wxwidgets.org/support/maillst2.htm). I think they can provide
you much better support for this topic than me.

Best,
Xavi

From: Aida Ninyerola [mailto:[email protected]]
Sent: lunes, 02 de mayo de 2011 13:56
To: [email protected]
Subject: [Gimias-developers] spinCtrl for float numbers

Hello,

I need for my application to let the user introduce a float number in a
variable I need for later calculations.
I want this number to be inside a range so I thought that the best way was
to implement a spinCtrl because it also allows the convenience of
introducing the number just using the mouse.
The problem is that I can only introduce integer numbers.

Is there any way to use the spinCtrl with float numbers?
If not, which would be the best way to implement what I need?

Thanks,
Aida



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers

Reply via email to