Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB ActiveX DLL error in VFP: Unable to load 32-bit DLL..
Message
De
13/08/2002 12:59:26
 
 
À
13/08/2002 12:05:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00689162
Message ID:
00689236
Vues:
22
Is it VB6 with sp5? Is so, run this (vb6 runtime) on the workstation and see if it works then:

http://download.microsoft.com/download/vb60pro/Redist/sp5/WIN98Me/EN-US/VBRun60sp5.exe

Update: I updated the link to MSFT's latest one for VB6.

Tracy

>I do not have any VB run-time files installed on the target machine. Do I need them? I'm not sure what the minimal list of VB run-time files are that are required for the VB ActiveX DLL to work. Obviously, I don't want to have to install all of Visual Studio :-/
>
>RegSvr32 does not apparently work with ActiveX DLLs. I tried it and got the message: "LoadLibrary ("rtf2html.dll") failed." According to the documentation I read about creating VB ActiveX DLLs the registration should be done programmatically using the "DllRegisterServer()" command, which appears to work fine on Visual Studio machines.
>
>
>>Mark,
>>Do you have the VB run-time files installed on the target machine? What happens when you attempt to register the DLL using Regsvr32 from the Command prompt? Does it register? If not, do you get an informative error?
>>
>>>I created an ActiveX DLL in VB for use in a VFP application. The application works fine on any machine that has had Visual Studio 6.0 installed on it. But on machines that have only had the VFP runtime files required to run the application installed on them, including the new VB DLL, get the error: "Cannot load 32-bit DLL c:\windows\system\RTF2HTML.DLL".
>>>
>>>The only aspect of the application that is not working on the "non-Visual Studio" machines is that which pertains to my new VB DLL so I know I have all the "normal" runtime files in place. (I've been doing standalone VFP apps for many years; it's only the introduction of a VB ActiveX DLL that I am new to.)
>>>
>>>I am programmatically registering the DLL with the "DllRegisterServer()" command in the app.
>>>
>>>Does anyone have any idea what additional files, that are installed as part of Visual Studio, are necessary for the VB DLL to work?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform