exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using the Exchange Backup API

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Application Conversion
Author Message
Viraj



Joined: 05 Aug 2007
Posts: 1

PostPosted: Wed Jul 20, 2005 11:52 am    Post subject: Using the Exchange Backup API Reply with quote

Hello All,

I am trying to write an application to backup Exchange server at Store
level. Below is the function I have written for it. I am using VC++ 6.0 and
M.S. Exchange server 2003. My application crashes when I invoke the function
HrESEBackupRestoreGetNodes. Also I had a question is PBACKUP_NODE_TREE same
as BACKUP_NODE_TREE ?

BOOL BackupExchangeServer(HINSTANCE g_hESEDll)
{
BACKUP_NODE_TREE *pMNUBackupNodeTree;
typedef HRESULT (* HrESEBackupRestoreGetNodes) (IN WCHAR*
wszComputerName,OUT BACKUP_NODE_TREE* pBackupNodeTree);
HrESEBackupRestoreGetNodes fnMNUBackupRestoreGetNodes = NULL;
fnMNUBackupRestoreGetNodes = (HrESEBackupRestoreGetNodes) GetProcAddress
(g_hESEDll,"HrESEBackupRestoreGetNodes");
//my program crashes in the next line.
HRESULT hr = (fnMNUBackupRestoreGetNodes) (NULL, pMNUBackupNodeTree);
if(hr == S_OK)
return MNU_EXCHANGE_BKP_SUCCESS;
else
return MNU_EXCHANGE_BKP_FAILURE;
}

The Lod Library successfully loads the dll "esebcli2.dll". Hence the
function HrESEBackupRestoreGetNodes should return success, but it fails.

Can anyone please point the mistake in my code or give me sample code for
Backup Functions?

Thanks,
Viraj
a.viraj@mobiliti.com
http://www.mobiliti.com

Archived from group: microsoft>public>exchange>application>conversion
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Backup of Exchange Server Hi, I am working on Excahnge Server as Can anyone tell how to overcome or what technology we use in case of failure of exchange server with no loss.

Backup mail server (One domain, two mail servers) Hey there I setup exchange to receive mail for 2 domains. Its working fine. As a contingency plan i want to setup a scenario in which even if my mail server aint available i shouldnt have LOST MAIL/ BOUNCED MAIL issues. I studied a few possibilities inclu

Migrate Exchange 5.5 GAL to Exchange 2003 on Windows SBS 200 How do I migrate an Exchange 5.5 Server GAL to Exchange 2003? Kind Regards, Paul

Exchange 5.5 In Exchange 5.5 Server, I am trying to find the "sent" and "inbox" so that I can see where the end users are emailing to and from on a daily basis. can i do that from Exchange Server, I must of looked everywhere for it. Thanks,

Exchange 5.5 to !(Exchange) Our company has decided not to upgrade Exchange and pick an alternative mail server such as postfix. I need to backup all of the mail into a format that I could then migrate to whatever mail server that we choose. Is there anyone here who has dealt with s
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Application Conversion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group