List Info

Thread: Building debug-version with Visual Studio 2005 Express




Building debug-version with Visual Studio 2005 Express
country flaguser name
Germany
2007-04-04 08:45:03
Hi,

I have started using msvc Express just recently.

The release-build works fine, i use the nmake-way and build
directly 
from within db.

For debugging I wanted to use the project-file solution.

After correcting some linker-errors I got it to compile.
Then the 
msvcp80d.dll was not found which I corrected by inserting

#define wxUSE_NO_MANIFEST 1

into my .rc-file.

Now the program exits with a  std::bad_alloc an
Speicherposition 
0x0012fad0..

Debugging it I found that it crashes in

IMPLEMENT_APP( DreiDEditApp )


Any ideas? Should I rebuild wxWidgets, do i have to define
the 
wxUSE_NO_MANIFEST in a wx-Widgets configuration, too?

Regards,

Andreas



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/anthemion-devtools/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/anthemion-devtools/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:anthemion-devtools-digest@yahoogroups.com 
    mailto:anthemion-devtools-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    anthemion-devtools-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

Re: Building debug-version with Visual Studio 2005 Express
country flaguser name
United States
2007-04-04 14:30:00
>-- On Wed, 04 Apr 2007 15:45:03 +0200 Andreas Goebel
wrote --
> Hi,
>
> I have started using msvc Express just recently.
>
> The release-build works fine, i use the nmake-way and
build
> directly from within db.
>
> For debugging I wanted to use the project-file
solution.
>
> After correcting some linker-errors I got it to
compile. Then the
> msvcp80d.dll was not found which I corrected by
inserting
>
> #define wxUSE_NO_MANIFEST 1
>
> into my .rc-file.
>
> Now the program exits with a  std::bad_alloc an
Speicherposition
> 0x0012fad0..
>
> Debugging it I found that it crashes in
>
> IMPLEMENT_APP( DreiDEditApp )
>
>
> Any ideas? Should I rebuild wxWidgets, do i have to
define the
> wxUSE_NO_MANIFEST in a wx-Widgets configuration, too?
>
> Regards,
>
> Andreas
>

Hi!

I build with Visual Studio 2005 (Express and Standard) all
the time so I can use 
the debugger. Never had the problems you're stating and
never had to manipulate 
the .rc in any way. Possibly you'd like to have a look at
the tutorials at 
wxMS_developers? Specifically, there's
DBwxWidgetsLibBuildBase64.xhtml (if you 
have IE 7, ignore the statement that IE will not display)
which describes 
building the wxWidgets libs for Visual Studio. It's in the
Files section. Also 
there's a basic tutorial in the Links>Tutorials section,
DialogBlocks Data 
Converter Tutorial, which is very basic on building an
application with DB/VC++ 
Project (and very specific, step by step).

The problem with the dll must be some conflict in how you
built the wxWidgets 
vc_lib. If you do a Build>Clean wxWidgets and a
Build>Build wxWidgets with the 
VC++ Project Debug active, that should take care of it.

I'm just curious, why bother with the nmake paradigm at all?
.vcproj files build 
just as well and you then only have the one
"makefile" (i.e., your .vcproj file) 
to deal with.

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 
h
ttp://tech.groups.yahoo.com/group/wxMS_developers/
 
wxWidgets Code Exchange
http://wxcodex.net/
 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/anthemion-devtools/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/anthemion-devtools/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:anthemion-devtools-digest@yahoogroups.com 
    mailto:anthemion-devtools-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    anthemion-devtools-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1-2]

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