Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Read and parse XML file from internet Pin
doctorpi4-Apr-05 23:25
doctorpi4-Apr-05 23:25 
GeneralRe: Read and parse XML file from internet Pin
ThatsAlok4-Apr-05 23:33
ThatsAlok4-Apr-05 23:33 
GeneralSerial port timeouts Pin
Cedric Moonen4-Apr-05 21:29
Cedric Moonen4-Apr-05 21:29 
GeneralRe: Serial port timeouts Pin
Blake Miller6-Apr-05 6:37
Blake Miller6-Apr-05 6:37 
GeneralWriting the virtual serial port driver Pin
Neha.marwaha4-Apr-05 20:48
Neha.marwaha4-Apr-05 20:48 
GeneralNobody has answered my question Pin
SanjaySMK4-Apr-05 20:43
SanjaySMK4-Apr-05 20:43 
GeneralRe: Nobody has answered my question Pin
Dudi Avramov4-Apr-05 22:15
Dudi Avramov4-Apr-05 22:15 
GeneralOutlook object library and windows service.. Pin
Muhammad Irfan Azam4-Apr-05 19:40
Muhammad Irfan Azam4-Apr-05 19:40 
Hi.
I am creating the Outlook Object Library 11.0's application object in C++ and calling its CreateDispatch method in an MFC Regular DLL's exproted function. When i call that function from a windows application it is working fine, but when that function is called from a windows service the CreateDispatch function of the application object fails. Please tell me what is this problem. The windows service is configuered to run with a user of windows NT domain.
Here is the code
if(objApplication.CreateDispatch("{0006F03A-0000-0000-C000-000000000046}"))
{
objNameSpace = objApplication.GetNamespace("MAPI");
if(objNameSpace!=NULL)
{
isLoggedIn=TRUE;
return TRUE;
}
}
isLoggedIn=FALSE;
return FALSE;




Common Man

GeneralRe: Outlook object library and windows service.. Pin
Blake Miller6-Apr-05 6:40
Blake Miller6-Apr-05 6:40 
GeneralGlobal Variables Pin
LordTygger4-Apr-05 19:34
LordTygger4-Apr-05 19:34 
GeneralRe: Global Variables Pin
Michael Dunn4-Apr-05 19:47
sitebuilderMichael Dunn4-Apr-05 19:47 
GeneralRe: Global Variables Pin
LordTygger4-Apr-05 20:06
LordTygger4-Apr-05 20:06 
GeneralRe: Global Variables Pin
S. Senthil Kumar4-Apr-05 22:16
S. Senthil Kumar4-Apr-05 22:16 
GeneralRe: Global Variables Pin
LordTygger4-Apr-05 22:32
LordTygger4-Apr-05 22:32 
GeneralWinSock Api tutorial Pin
brilliant1014-Apr-05 19:32
brilliant1014-Apr-05 19:32 
GeneralRe: WinSock Api tutorial Pin
ThatsAlok4-Apr-05 19:50
ThatsAlok4-Apr-05 19:50 
GeneralRe: WinSock Api tutorial Pin
Andrew Walker4-Apr-05 21:06
Andrew Walker4-Apr-05 21:06 
Question!!HELP!!Is it possible to stop drag and drop? Pin
atsuki4-Apr-05 19:14
atsuki4-Apr-05 19:14 
AnswerRe: !!HELP!!Is it possible to stop drag and drop? Pin
David Crow5-Apr-05 3:13
David Crow5-Apr-05 3:13 
GeneralRe: !!HELP!!Is it possible to stop drag and drop? Pin
atsuki6-Apr-05 18:36
atsuki6-Apr-05 18:36 
GeneralRe: !!HELP!!Is it possible to stop drag and drop? Pin
David Crow7-Apr-05 2:17
David Crow7-Apr-05 2:17 
Generalthanx Pin
mpallavi4-Apr-05 19:00
mpallavi4-Apr-05 19:00 
GeneralRe: thanx Pin
ThatsAlok4-Apr-05 19:17
ThatsAlok4-Apr-05 19:17 
GeneralRe: thanx Pin
Tareq Ahmed Siraj4-Apr-05 19:52
Tareq Ahmed Siraj4-Apr-05 19:52 
Generalconfused.. pls help! Pin
mpallavi4-Apr-05 20:56
mpallavi4-Apr-05 20:56 

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.