I added two libraries in Visual Basic 6.0 Project References.
I created objects of each of library class in vb prj.
Then I wrote some functions to call library functions using these objects in vb project.
I made DLL of this vb project.
I registered this DLL.
Using ‘Win32.Com.dispatch: createObject’ service I created dispatch object and by using ‘Win32.COM.dispatch: invoke’ I am calling methods of DLL which internally calling methods of library DLL.
Now after finishing process I am gracefully exiting from DLL and releases
dispatch object using 'Win32.COM.dispatch: release’
If at least once I called this flow service, my webMethods performs for 10 to 15 minutes more and then hangs.
Please suggest solution…!