Hi all,I tried to unregister a particular "ocx" file i am getting "Exception occurred" Error. I unregitered the ocx by using API's.
The steps i did for Unregistering
1) Get the handle for the file using LoadLibrary(<filename>
2) Get the function pointer using GetProcAddress(handle,"DllUnregisterServer")
3) calling the function pointer. But it returns the "hr" value as "-2147352567"
But it unregister the specified ocx when I looked on Registry Entries.
please help me on how to debug the vb component "DllUnregisterServer" function