Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to grab system icons Pin
Joaquín M López Muñoz29-Jan-02 13:15
Joaquín M López Muñoz29-Jan-02 13:15 
GeneralRe: How to grab system icons Pin
Christopher Lord29-Jan-02 13:21
Christopher Lord29-Jan-02 13:21 
Generalnewbie question about staticly linked exe's Pin
RobJones29-Jan-02 12:04
RobJones29-Jan-02 12:04 
GeneralRe: newbie question about staticly linked exe's Pin
Ravi Bhavnani29-Jan-02 12:20
professionalRavi Bhavnani29-Jan-02 12:20 
GeneralRe: newbie question about staticly linked exe's Pin
Simon Walton29-Jan-02 12:20
Simon Walton29-Jan-02 12:20 
GeneralRe: newbie question about staticly linked exe's Pin
Tim Smith29-Jan-02 12:20
Tim Smith29-Jan-02 12:20 
GeneralRe: newbie question about staticly linked exe's Pin
Joaquín M López Muñoz29-Jan-02 12:27
Joaquín M López Muñoz29-Jan-02 12:27 
GeneralDamned ActiveX control Pin
29-Jan-02 11:14
suss29-Jan-02 11:14 
Hello everyone!!!

I am using email services of a Microsoft MAPI ActiveX control(msmapi32.ocx) by 2 totally identical instances of MFC apps except that each instance is running on a different server. Both servers have Outlook services installed and proper connections to company's mail server are established, therefore, each server sends email without any problems. Each copy of msmapi32.ocx is properly registered on each server box. My MAPI control is instantiated and interfaced through CWnd wrapper class.

The problem is that one application on one server is working whereas another doesn't.

After dumping log information I have observed the following interesting things:
1) When the working application instantiates component through CWnd's Create() function, wrapper's HWND is NOT 0, BUT the failing application has wrapper's HWND == 0.
2) Even if wrapper's HWND == 0, component's properties and methods can be easily accessed without any exception thrown, but, of course, NO ACTION is DONE.

My questions are:
1) Does anyone know where the problem is?
2) When wrapper's Create() function instantiates OLE control, is "HWND" CORRECT indicator about the success of contorol's instantiation.
3) If 2 is wrong, how can I find out through the CWnd-wrapper object wether the component is breathing or not.

Thanks so much in advance.
Kirill
GeneralRe: Damned ActiveX control Pin
Joaquín M López Muñoz29-Jan-02 12:52
Joaquín M López Muñoz29-Jan-02 12:52 
GeneralCopyImage with NT/W2K Pin
PJ Arends29-Jan-02 10:28
professionalPJ Arends29-Jan-02 10:28 
GeneralWinsock problem!! Pin
Rickard Andersson2029-Jan-02 10:01
Rickard Andersson2029-Jan-02 10:01 
GeneralRe: Winsock problem!! Pin
Joaquín M López Muñoz29-Jan-02 10:32
Joaquín M López Muñoz29-Jan-02 10:32 
GeneralRe: Winsock problem!! Pin
Nish Nishant29-Jan-02 20:19
sitebuilderNish Nishant29-Jan-02 20:19 
GeneralRe: Winsock problem!! Pin
Rickard Andersson2029-Jan-02 21:41
Rickard Andersson2029-Jan-02 21:41 
GeneralRe: Winsock problem!! Pin
Joaquín M López Muñoz29-Jan-02 23:13
Joaquín M López Muñoz29-Jan-02 23:13 
GeneralRe: Winsock problem!! Pin
Rüpel30-Jan-02 3:14
Rüpel30-Jan-02 3:14 
GeneralCustom draw CListView SDI Pin
RobJones29-Jan-02 8:55
RobJones29-Jan-02 8:55 
GeneralRe: Custom draw CListView SDI Pin
Joaquín M López Muñoz29-Jan-02 9:39
Joaquín M López Muñoz29-Jan-02 9:39 
GeneralRe: Custom draw CListView SDI Pin
RobJones29-Jan-02 12:07
RobJones29-Jan-02 12:07 
GeneralMemory detection tools Pin
gh29-Jan-02 7:31
gh29-Jan-02 7:31 
GeneralRe: Memory detection tools Pin
Brian V Shifrin29-Jan-02 8:38
Brian V Shifrin29-Jan-02 8:38 
GeneralRe: Memory detection tools Pin
gh29-Jan-02 9:06
gh29-Jan-02 9:06 
Questionsomething wrong with faxcomex.h ??? Pin
nvhoang29-Jan-02 6:38
nvhoang29-Jan-02 6:38 
AnswerRe: something wrong with faxcomex.h ??? Pin
Joaquín M López Muñoz29-Jan-02 12:30
Joaquín M López Muñoz29-Jan-02 12:30 
Generalreading data from bitmaps Pin
Rajveer29-Jan-02 6:21
Rajveer29-Jan-02 6:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.