WTL FormBased APP with AX
-
I have created a WTL Form based APP using the WTL 7.0 Wizard. I insert the ActiveX Control "Sysmon" (System Monitor), having passed the LIBID in the .Init call. I call ::CoInitialize(NULL), since ::CoInitializeEx(NULL, COINIT_MULTITHREADED) will not work. Now, the System Monitor AX control shows up on the dialog form, but will absolutely not work (the counter bar does not move!). Then I tried to create the AX using CAxWindow and then the Create call on this. Same result. I tried to set up proper message routing in the PreTranslateMessage functions, but still I cannot get the performance monitor to move (start counting). However, creating a MFC form based app, and inseting the same AX on the form, this works like a charm. What is the issues with WTL? Can anyboy help on this? Thanks in Advance, obt