?
Solved

Access violation ... in module 'MSVBVM60.DLL'

Posted on 2006-06-26
8
Medium Priority
?
1,518 Views
Last Modified: 2008-01-09
hi,

i'm trying to use an acitveX from delphi. i didn't write this activeX but i know it was writen in vb6.

i registered this activeX with: regsvr32 "C:\Windows\System32\theActiveX.ocx"
i got : DLLRegisterServer in C:\Windows\System32\theActiveX.ocx succeeded

i tried to install it with: regsvr32 /i "C:\Windows\System32\theActiveX.ocx"
i got: C:\Windows\System32\theActiveX.ocx was loaded, but the DLLInstall entry point was not found. this file cannot be registered.

when i try to execute one of it's method i get the following error:
Access violation at address 6AA5137B in module 'MSVBVM60.DLL'. Read of address 00000020

any another method raised this error:
OLE error 800A01A9

i installed the Service Pack 6 for Visual Basic 6.0: Run-Time Redistribution Pack... with no luck.


i don't know whether this has anything to do with this problem, but when i first tried to install and import this activeX into delphi (delphi 5) i faced a strange behaviour:

the theActiveX_TLB.pas that was automatically created by delphi did not include theActiveX component that should have been actually installed in the components palette, although it included other few related classes.
i tried to do the same in another computer (with the same version of delphi), surprisinglly it succeeded! the theActiveX_TLB.pas contained  theActiveX in addition to the other related classes, and the component indeed showed up in the components palette... so i copied this theActiveX_TLB.pas to the first computer, and i was able to register it in the components palette and use and compile my project successfuly.

any ideas??

thanks,
ewilde.
0
Comment
Question by:ewilde
[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
  • 4
  • 2
8 Comments
 
LVL 26

Expert Comment

by:EddieShipman
ID: 16993967
Another instance of "DLL Hell" from Visual basic. Seems your copy of the VB6 run-time is out of date.
0
 
LVL 5

Author Comment

by:ewilde
ID: 16996015
EddieShipman,

how is that possible? as i mentioned, i downloaded the VB6 run-time from here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c&DisplayLang=en

and also, as i mentioned, there is another demo application that uses this activeX, and it works fine.

thanks again,
ewilde.
0
 
LVL 5

Author Comment

by:ewilde
ID: 16996039
this demo application was written in visual basic, though.
0
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.

 
LVL 5

Author Comment

by:ewilde
ID: 16996057
i also tried to use a previous version of VB6 run-time (the srvice pack 5)
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 16996590
"DLLInstall entry point was not found" tells me that there is a problem with the OCX.
0
 
LVL 5

Author Comment

by:ewilde
ID: 17304291
i finally found the solution here:
http://www.x64.com/pt/vbdelphi.html
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 17348706
Closed, 500 points refunded.
ee ai construct
Community Support Moderator
replacement part #xm34
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

765 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