Products | Versions |
---|---|
TIBCO Rendezvous | - |
Not Applicable | - |
Resolution:
The calls, tibrv_Open() and tibrv_Close() deal with threads and synchronization functions, i.e. they are "heavy" routines and Windows documentation specifically says such things should not be called inside the DllMain(). Furthermore, tibrv_Close() must be called explicitly, and should be called before DllMain() does the process detach.
Basically, you need to include explicit calls to tibrv_Open() and tibrv_Close() in the code outside of DllMain().
Please refer to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcekernl/htm/_wcesdk_win32_DllMain.asp for further information.