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
> >
>