Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to programatically recover from dll mistake!
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00891903
Message ID:
00891919
Views:
20
Rodd,

When your code fails the instantiate the object, you re-register your dll
by runing the follow:
RUN regsvr32 /s "dll path + name"
*regsvr32.exe is available in windows system(win <=98)/system32(win >=nt).
The user will experince a delay as it registers the dll.
You check by reinstanciating your object, if it doesn't fail, it worked.

Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Reply
Map
View

Click here to load this message in the networking platform