automating CreateMsgService in MAPI
-
hi ! thru : bool CreateMsgService(LPTSTR lpszService, LPTSTR lpszDisplayName) we can create a service , but that pops up a property sheet page thru which user has to enter data to create the service.How can we fill in the information programatically ? I have seen a lot of applications automatically add services.I thought of two possible ways.One is that they might be an option using some other API or modified version of this one, or else use Inter process communication to send a WM_MINIMIZe to the property sheet page , and then using SetWindowText( ) after retrieveing the windows handle and detecting the fields.This is theoritically possible but sounds a bit clumsy isn't it ? I am sure it is possible somehow...you have any idea ? Can you also explain to me the usage of ConfigureMsgService ? I could not find the proper docs in MSDN.. Thanks in advance Regards Kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason ,huh ?"