Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Problem with VB6 and MDAC 2.5

Posted on 2000-03-20
3
Medium Priority
?
341 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
[X]
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
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 300 total points
ID: 2735958
Change your references to ADO 2.5 Library instead of 2.1
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

610 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