Search the web
Sign In
New User? Sign Up
DatabaseTemplateLibrary · The Database Template Library
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Click here for the latest updates on Groups Message search

Messages

  Messages Help
Advanced
Question regarding library configuration   Topic List   < Prev Topic  |  Next Topic >
Reply  | 
Re: Question regarding library configuration

Hey Corwin,

Yeah, looks like that was problem... at least that one. I am having some real
trouble using this library, though in other ways. For instance, I have a
project, a Console Application project that I was using to test it out in. It
seems to work fine. However, when I try #include "DTL.h" into my MFC project
(where I really need it to work anyway) and try to build, I get 73 compiler
errors... most of them in dbconnection.h. Why would it compile in one project
format and not another? I read the readme file (something I rarely do) and
added the #define DTL_USE_MFC line but nothing changed. I'd really like some
assistance with this if anyone is available. I could even move the whole
project onto my svn server if it would help. Thanks for the answer to previous
post... just had to match the #defines... doesn't look like this is the same
problem though....

Kvorak

--- In DatabaseTemplateLibrary@yahoogroups.com, "CorwinJ" <corwinjoy@...> wrote:
>
> Hey Kvorak,
> I'm not sure exactly how you are getting this error or how to reproduce it. I
just did a debug build of the example project using VS 2008 and don't see this
error. Make sure you are using the same defines in your project that you have
in the .lib you built e.g. for debug:
>
> WIN32;_DEBUG;DTL_UC
>
> So, I don't think you should need to comment anything out, you may just be
missing a define in your project that you set up. See the readme that comes
with dtl for details.
>
> Thanks,
>
> Corwin
>
> --- In DatabaseTemplateLibrary@yahoogroups.com, "Kvorak" <kvorak@> wrote:
> >
> > Hey all,
> >
> > So I'm trying to use the DTL and I've come across a strange thing. When I
build the example project in release mode that was shipped with the libarary,
everything works. The Examples run fine and the library looks like a great
idea. But for the life of me I can't figure out how to include it in my own
projects.
> > The problem I am having is that when I build I get an error message
saying, "error C4430: missing type specifier - int assumed: Note: C++ does not
support default-int". So I did a search for that error. There was a message on
this board that suggested commenting out the offending line (line 448 in
boundio.h).
> > My aversion to this is that the library worked when I built it in the
project that was shipped with it. I'd rather trust that the library is in good
working order and that it was a project configuration or something before I go
and edit code I didn't write.
> > So is there any additional wisdom out there regarding what might be going
on or how to fix it? Thanks.
> >
> > Kvorak
> >
>





Fri Nov 6, 2009 10:13 pm

kvorak
Offline Offline
Send Email Send Email

 | 
Expand Messages Author Sort by Date

Hey all, So I'm trying to use the DTL and I've come across a strange thing. When I build the example project in release mode that was shipped with the...
kvorak
Offline Send Email
Oct 30, 2009
11:00 pm

Hey Kvorak, I'm not sure exactly how you are getting this error or how to reproduce it. I just did a debug build of the example project using VS 2008 and...
CorwinJ
corwinjoy
Offline Send Email
Oct 30, 2009
11:12 pm

Hey Corwin, Yeah, looks like that was problem... at least that one. I am having some real trouble using this library, though in other ways. For instance, I...
kvorak
Offline Send Email
Nov 7, 2009
5:31 pm

Okay, so I figured this out over the weekend... sort of. It would appear that the #define DTL_USE_MFC #include "DTL.h" lines need to be placed /before/ the...
kvorak
Offline Send Email
Nov 9, 2009
3:49 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help