Help: DAO in DLL (static link to MFC) causes Heap assert

Help: DAO in DLL (static link to MFC) causes Heap assert

Post by data_b » Sat, 06 Feb 1999 04:00:00




Quote:>When I run this program I get a CrtIsValidHeapPointer(pUserData) error when I
>delete rs within the dll.

this is a classic case of having mixed up jumbles of debug and non-debug
(release) code calling each other through inadvertant dynamic linking, object
registration, etc...

somewhere, you are doing this too.. as you run your app under the de*,
watch the output window (alt-2 i think) as it tells you what dlls are being
loaded. you should see one that is not a debug dll...or just check your project
settings and see who is being loaded improperly.

 
 
 

1. Help: finding the right set of MFC/DAO DLLs

Hi all,

We are trying for sometime to reveal the right set of DLLs we shoudl install
with our application. The application characteristics are:
* Built on VC++ 6.0 (with Service Pack 3)
* Using MFC as a shared DLL
* Using DAO 360 objects (to access Access database)

What we ahve found so far is that if we install the following applications,
then the DLLs are there, and the application works:
1. Visual C++ 6.0
2. Service Pack 3 for Visual C++ 6.0
3. Office 2000

I know that some of the DLLs requires not only copying but also registering,
and that there are special setup applications for that.
Any ideas what DLLs shoudl we install? Where we can find the documentation?

Thanks for any hint,
Lior Messinger,
SimiGon

2. In search of Ingres Interface.

3. Help needed with MFC dll that uses DAO

4. remote admin with enterprise manager

5. Static DLL and DAO 3.6....

6. help with msflexgrid

7. Runing DAO DLL in non-MFC application

8. MFC DLL using DAO

9. HELP!!! CRecordset::Close is causing an assert

10. Strange Debug/Release Differences for MFC DLL using DAO

11. Problem terminating DAO from MFC DLL