Avatar of uilli
uilli

asked on 

Registering MSSTDFMT.DLL before program starts

Hello,
I'm developing a software that will run off the cd-rom, but without installation.
I'm currently registering all the dll's and ocx's on the fly, if they are not yet registered in system32.
The problem I have is with MSSTDFMT.DLL.

When I start my app, I get "Class not registered. You need to install the file MSSTDFMT.DLL"

I'm registering the dll on the first line of the FORM_LOAD event, using the function LoadLibrary(dll) defined as:

Private Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" ( _
ByVal lpLibFileName As String) As Long

Any ideas on how to overcome this problem? I don't want to make any installation, I just need to run the app when the cd is inserted. Also I didn't want to use regsvr32 because I'm not able to know if I have administrator rights in every computer I will use the program in
Visual Basic Classic

Avatar of undefined
Last Comment
liveJD

8/22/2022 - Mon