List Info

Thread: Re: Re: Application functions members called from another class and cpp file...




Re: Re: Application functions members called from another class and cpp file...
country flaguser name
United States
2007-07-27 09:57:14

>;-- On Fri, 27 Jul 2007 14:25:57 -0000 domi_gitaristo wrote --
> thanks for your advices
>
> I've already installed visual C++ 2005...
> I did the same with turbo C++;
> (almost as easy to use as Delphi!)
> - However, wxDev-Cpp was a quite ready way to access wxWidget
> programming with its templates (with ou without formDesigner
> integrated) and its already compiled wxWidgets libs and
> compatibility with other platforms
> - Turbo C++ : well for using with the VCL (not recommended with
>; wxWidgets...
> - I gave up using VC because of the difficulty setting the
> environment and  programming UI with MFC
>
> Perhaps you can help me in a step by step approach? 1) installing
> wxWidgets (currently Ansi installed with DevPacks (2.8.4) and not
> in a separate directory)
> 2) installing VC++ Express (done, with little changes in config
> files as recommended: dll linking) 2) installing Dialogblocks
> (done) 3) creating project with it and compile for VC+3;
> 4) editing the project in VC Express importing DB project makefile
> 5) compile with VC++... should it runs quite simply?
>
> to be continued...
>
> DoMi
>;

Hi!

Step by step, sure, no problem!;)

1) Design your GUI in DB.

2) Specify your build system to DB.
   a) Build > Configurations... > Configurations > Compiler configurations:
   b) Build > Configurations... > Paths

3) Select each of your compiler configurations and Build > Clean wxWidgets
   then Build > Build wxWidgets

4) Build your application, Build > Build Project

For compiler configurations, I'd suggest, just to get started, use only VC++
Project Debug and VC++ Project Release. You get to these from the Compiler
configurations: Standard button. I would also suggest leaving out the unicode
versions for now. That's just one more confusion factor you don't need to get a
handle on how to use DB.

Paths need to have the top directory for wxWidgets, for the platform sdk, and
for visual studio. For example, on my system, I used all default paths, so it
looks like this:

WXWIN ;      C:wxWidgets-2.8.4
PLATFORMSDK C:Program FilesMicrosoft Platform SDK for Windows Server 2003 R2
MSVCDIR     C:Program FilesMicrosoft Visual Studio 8

Be sure you do as advised at msdn, i.e.:

Using Visual C++ 2005 Express Edition with the Microsoft Platform SDK
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

Specifically it tells about changes you need to add to your .vsprops file to
have Visual C++ Express find all the Microsoft libraries.

It's just 4 simple steps, really, and you can build in either DB or Visual
Studio. You have the added ability to debug with Visual Studio, which I've found
to be a _big_ help!;)

I wouldn't even mess with importing/exporting or anything with makefiles where
Windows is concerned. The project files are much easier to deal with.

You also might be interested in looking at a tutorial or two at wxMS_developers
on using DB with Visual Studio. The Data Converter tutorial is very basic and is
a good one for newbies to DB and/or wxWidgets and/or Visual Studio Express to
get their feet wet! It's very short and when you're done you should have a
pretty good handle on DB basics.

HTH:

thx,
Dave S.

Arthur Dent:
  COMPUTER DO SOMETHING!
Eddie the Computer:
  Sure thing fella! Switching to manual control... good luck!

wxMS_developers · Development with wxWidgets on MSWindows
http://tech.groups.yahoo.com/group/wxMS_developers/

wxWidgets Code Exchange
http://www.wxCodex.net/

 MSGTAG has notified the sender that this message has been successfully sent.

__._,_.___
.

__,_._,___
Re: Application functions members called from another class and cpp file...
country flaguser name
United States
2007-07-28 05:40:24

many thanks for the detailled step by step
(About VC++Express configuration, I've already done it)
I just think to remenber I threw out the SDK to recover room on disk :(
I guess it's mainly for API references?

I'm going on...
oups, 2 eroors: window.h missing and error 0x02 in cl.exe...!?

Out of curiosity, in which country do you live?
DoMi

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )