ME4 - No API for 64 bit OS???

Discussion for developers using MailEnable.
Post Reply
mattblack
Posts: 20
Joined: Mon Jan 11, 2010 9:35 pm

ME4 - No API for 64 bit OS???

Post by mattblack »

Hi guys,

I'm very close to buying the full enterprise edition of ME4, I love it.

But, I've just one hurdle to jump over though. I need to be able to create, delete, disable and enable mailboxes from classic ASP (VBScript) under IIS 64bit (native) mode.

However, there don't appear to be any 64 bit libraries registered under IIS, and I can't find any relevant ones to register. I see the 32bit one for MEAOPO.dll but of course this wont run under IIS.

Please, please, please will someone tell me that it IS possible to get this working under 64 bit IIS/OS or I cannot go ahead with buying ME :-(

Thanks in advance
~Matt

MailEnable
Site Admin
Posts: 4441
Joined: Tue Jun 25, 2002 3:03 am
Location: Melbourne, Victoria Australia

Re: ME4 - No API for 64 bit OS???

Post by MailEnable »

But, I've just one hurdle to jump over though. I need to be able to create, delete, disable and enable mailboxes from classic ASP (VBScript) under IIS 64bit (native) mode.
Matt, Its not possible to do this using COM/ASP on 64 bit native O/S. You need to use the .NET assemblies since they work under both 32 and 64 bit. I guess from your other more recent posts relating to queries on .NET you have already established this.
Regards, Andrew

mattblack
Posts: 20
Joined: Mon Jan 11, 2010 9:35 pm

Re: ME4 - No API for 64 bit OS???

Post by mattblack »

thanks Andrew. Yes Peter told me the same via email (that the com isn't 64-bit compatible) and so I'm learning .net now (See my other post).

Cheers

kartik
Posts: 6
Joined: Thu Mar 04, 2010 11:08 am

Re: ME4 - No API for 64 bit OS???

Post by kartik »

Hey Guys,
I am using .net API MEStore.dll to check MailBox exist or not.

Unhandled Exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at MailEnable.mod_StoreItem.DirectoryEntry_Clear()
at MailEnable.Store.DirectoryEntry_Clear()
at TestPO.Program.Main(String[] args)

My deployment server is Windows server 2008 64 bit.
I wrote code in windows XP 32 bit machine in VS 2005 C# express.
I guess, its problem of 64bit machine.
Can u plz help how can i run code in 64 bit machine.

mattblack
Posts: 20
Joined: Mon Jan 11, 2010 9:35 pm

Re: ME4 - No API for 64 bit OS???

Post by mattblack »

hey mate,

i managed to do it using VB.net and the .net assemblies on the mailenable developer pages.

My first .net app so it was a bit of trial and error

cheers
Matt

Post Reply