News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Class Declaration in CodeBlock

Started by puneet_m, August 24, 2007, 08:51:12 PM

Previous topic - Next topic

puneet_m

What does it mean when class is declared as
class WXDLLEXPORT wxMenu;

What is WXDLLEXPORT for?

Biplab

Quote from: puneet_m on August 24, 2007, 08:51:12 PM
What does it mean when class is declared as
class WXDLLEXPORT wxMenu;

What is WXDLLEXPORT for?

There is a nice feature in C::B. "Find declaration of ..." and "Find implementation of ..." any object, variable, etc. So right click on the code and select appropriate menu option. Do this with WXDLLEXPORT and you'll come to know more about it.
Be a part of the solution, not a part of the problem.

puneet_m

At many places I can see the declaration like class DLLIMPORT EditorManager. What does DLLIMPORT do?

stahta01

See wxWidgets file wx/dlimpexp.h for some info on this.

Tim S

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]