ewilde
asked on
Access violation ... in module 'MSVBVM60.DLL'
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\theAc tiveX.ocx"
i got : DLLRegisterServer in C:\Windows\System32\theAct iveX.ocx succeeded
i tried to install it with: regsvr32 /i "C:\Windows\System32\theAc tiveX.ocx"
i got: C:\Windows\System32\theAct iveX.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.
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\theAc
i got : DLLRegisterServer in C:\Windows\System32\theAct
i tried to install it with: regsvr32 /i "C:\Windows\System32\theAc
i got: C:\Windows\System32\theAct
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.
Another instance of "DLL Hell" from Visual basic. Seems your copy of the VB6 run-time is out of date.
ASKER
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.
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.
ASKER
this demo application was written in visual basic, though.
ASKER
i also tried to use a previous version of VB6 run-time (the srvice pack 5)
"DLLInstall entry point was not found" tells me that there is a problem with the OCX.
ASKER
i finally found the solution here:
http://www.x64.com/pt/vbdelphi.html
http://www.x64.com/pt/vbdelphi.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.