Calling CoGetInterceptor on Win2k


The documentation for CoGetInterceptor indicate that this API is available on Windows 2000 platforms.  Indeed it is but ole32.dll doesn't export this function as indicated by the documentation...at least not the versions of ole32.dll that are available on Win2k.  On Win2k it is actually exported by txfaux.dll which lives in %system32% .  Unfortunately there's no .lib file for this dll so you're not going to link your C++ apps to this dll.  You'll have to use run-time dynamic linking (load the dll using LoadLibrary and then use GetProcAddress so you can call the function).  There's a nice article that discusses this approach:  Using Run-Time Dynamic Linking.


Comments (0)

Skip to main content