Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Problem with VB6 and MDAC 2.5

Posted on 2000-03-20
3
336 Views
Last Modified: 2008-03-06
Hi !

I'm calling a StoredProc (Oracle) in a VB6 project using ADO (MDAC 2.1).

I recently installed MDAC 2.5 and when i execute my ADODB.Command, i got the following message:
"vb6.exe - Application Error  The instruction at '0x040d9749 referenced memory at '0x000000008'. The memory could not be 'written'"."

It was working with MDAC 2.1 !!!

Please help me !!!!!!!
0
Comment
Question by:sruel
3 Comments
 
LVL 5

Expert Comment

by:Voodooman
ID: 2639471
These are usually/often bad dll calls or some lousy dll not giving up the memory that has been allocated or some such thing.

Try it on another machine - it could be file combinations.

?have you installed any other software since you installed the MDAC?

Good Luck

Voodooman!
0
 

Author Comment

by:sruel
ID: 2640650
I didn't installed any other software since MDAC 2.5 and I cannot try it on another machine: it's on my dev machine !!!
0
 

Accepted Solution

by:
BrianBender earned 100 total points
ID: 2735958
Change your references to ADO 2.5 Library instead of 2.1
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question