|
Posted by Lisa Pearlson on July 1, 2005, 4:02 pm
Please log in for more thread options Thank you for this response, Alexander,
I'm assuming WTL7.1 is the one coming out bundled with Visual Studio 2005.
So I won't be able to use eVC4 with it.
I've actually never used WTL before, or ATL, only MFC with a mix of Win32
api. But, now that I have to develop on smart phone, I seem to know less
about winapi programming than I thought. I understand it all, when I read
it, but can't make it myself.
In particular, I was hoping to be able to embed internet explorer on SP2003
into my app. In MFC, I used CHTMLView and trapped CHTMLView::BeforeNavigate2
to catch clicks on HTML elements to call my own C++ functions.
I wouldn't know how to do that on SP2003. Does its internet explorer even
expose an interface, via COM or ActiveX?
eVC4 doesn't even show a resource editor for smart phone development. Are
design time resources all MFC or something, and in winapi must be always
dynamically created? I can't even find common controls like CEdit described
in the online docs. Those aren't MFC only, are they?
Lisa
>
> As far as I know, you cannot delete mail account via MAPI and POOM. But
> you can enumerate all existing accounts via MAPI. Alas, I don't know a
> good way to get GUID of an account and accounts created via UI do not have
> GUIDs at all. This means that you cannot control such accounts via
> DMProcessConfigXML. The only advice I can give is to dump mail databases
> and see for yourself what fields are in there.
>
> Smartphones will support MFC starting from WIndows Mobile 2005. Yes, we
> are using WTL in some of our projects - not only on Smartphone but on
> Pocket PC as well. Note that WTL7.1 officially supports eVC, so you don't
> need my port any more. :) We do not use .NET in our projects at all but
> this does not mean it is not suitable for Smartphone development - it
> greatly depends on your needs and on your experience with native and .NET
> development.
>
> If you need to develop native apps for Smartphone you need yo use eVC3 for
> SP2002 and eVC4.2 or later for SP2003. .NET development is possible only
> in VS2003. Both native and .NET development for new Windows Mobile 5 for
> Smartphones OS will be done in VS2005.
>
>
> --
> Alexander Shargin
> Microsoft MVP in Mobile Devices
> http://www.pocketpcdn.com - Pocket PC Developer Network
> http://www.smartphonedn.com - Smartphone Developer Network
> http://www.rsdn.ru - Russian Software Developer Network
>
>
>> Hey, thanks a lot!
>>
>> Do you know if creating/deleting mail accounts is also possible using
>> MAPI or POOM ?
>> I mean, there is no way to enumerate e-mail accounts, to find the right
>> one, is there?
>>
>> Also, if you manually create a mail account, does this account also get a
>> GUID assigned by outlook?
>>
>> Where do these GUIDs get stored? If they get stored in the windows
>> registry, maybe they can be enumerated?
>>
>>
>> Last but not least, I am new to Smart Phone development and usually I
>> develop MFC on pocket pc. Turns out Smart Phone doesn't support MFC, and
>> plain API would be a pain.. While looking for this info, I came across
>> your WTL port.
>> Do you use WTL or .NET?
>>
>> Where can I find sample Smart Phone applications written in C++ and .NET
>> ?
>> Can I develop .NET with eVC4 or do I need Visual Studio 2003 ?
>>
>> Lots of questions..
>> I'm thankful for your time.
>>
>> Lisa
>>
>>>
>>> You can delete an account using config XML in the following format:
>>> <wap-provisioningdoc><characteristic type="EMAIL2"><nocharacteristic
>>> type="GUID"></characteristic></wap-provisioningdoc>
>>>
>>> here GUID is id of account to delete (the same one passed to
>>> DMProcessConfigXML when account is created).
>>>
>>>
>>> Sincerely,
>>> Alexander
>>>
>>>> How to get e-mail account settings and delete e-mail accounts by
>>>> DMProcessConfigXML() ?
>>>>
>>>> Are there other ways to delete e-mail accounts, such as POOM or MAPI?
>>>>
>>>> Lisa
>>>>
>>>
>>>
>>
>>
>
>
|