#Database Link Errors
2 messages in this thread
Hi Thomas,
<<I am having trouble with debug and the database class's. On compile I get
the following error, when using debug. _DEBUG is set in the file in question.
d:\msvc\mfc\lib\mafxcwd.lib(dbcore.cpp) : error L2044:
IsOpen@CRecordset@@RBCHXZ : symbol multiply defined, use /NOE
d:\msvc\mfc\lib\mafxcwd.lib(dbcore.cpp) : error L2044:
IsEOF@CRecordset@@RBCHXZ : symbol multiply defined, use /NOE>>
I have not heard of this happening before. Does it compile in release mode?
<<Using /NOE only switchs the error message.>>
What does it switch the error messages to?
<<With the database CRecordSet referenced for OPEN and CLOSE it works fine,
but if I add any of the moving functions or testing for location functions,
then I get the error messages.>>
I don't understand this part, can you clarify? You add some functions and it
doesn't work? Are the functions you add IsOpen and IsEOF?
If you can give me some more information, I will see what I can find for you!
Steve Roeder
Microsoft Developers Support
I have found that the problem is with a header file from Protogen that was
causing the trouble. It seems when the file is included prior to afxdb, the
problem arise, if after all seems to work fine. I have just about given up on
protogen and am finding classwizard sufficient for my needs so this isn't a
problem at this time. I appreciate your attempt at help. (I never did find
out what was in the file that was causing the problems, and not real
interested in looking at this time.)