Discussion:
Getting source of a message
Grzegorz Niemirowski
2004-04-16 18:01:35 UTC
Permalink
How does Fidolook get source of selected messages? Is it extracted from dbx
file? If yes, how Fidolook know witch message to extract?
--
Grzegorz Niemirowski
George Hazan
2004-04-17 05:35:51 UTC
Permalink
Hello, Grzegorz!
Fri, 16 Apr 2004 20:01:35 +0200 you wrote:

GN> How does Fidolook get source of selected messages?

By calling the appropriate method of IMimeMessage interface.

GN> Is it extracted from dbx file?

It's extracted from the instance of the IMimeMessage, which can live
anywhere (new message is stored in the memory until it's not saved in the
storage).

GN> If yes, how Fidolook know witch message to extract?

Any message has its own id, and the message list knows all of the message
ids it's displaying.
--
WMBR, George Hazan (ghazan-***@public.gmane.org)
Grzegorz Niemirowski
2004-04-18 03:23:38 UTC
Permalink
Post by George Hazan
GN> How does Fidolook get source of selected messages?
By calling the appropriate method of IMimeMessage interface.
Could you give me some hint, some piece of code? I know Fidolook is not Open
Source but I googled for IMimeMessage and found nothing.

Regards,
Grzegorz Niemirowski
Konstantin Zadorozhny
2004-04-18 08:35:43 UTC
Permalink
Hello, Grzegorz!
You wrote on Sun, 18 Apr 2004 05:23:38 +0200:

GN> "George Hazan" <ghazan-***@public.gmane.org> wrote
GN> in message news:c5qfpa$rom$1-WnDAp88bSu0nT+***@public.gmane.org
GN>>> How does Fidolook get source of selected messages?
??>>
??>> By calling the appropriate method of IMimeMessage interface.

GN> Could you give me some hint, some piece of code? I know Fidolook is not
GN> Open Source but I googled for IMimeMessage and found nothing.

Here it is. http://personal.primorye.ru/andreyno/soft/ieoe/DBXSDK.zip


With best regards, Konstantin Zadorozhny.
Grzegorz Niemirowski
2004-04-18 13:24:48 UTC
Permalink
"Konstantin Zadorozhny"
Post by Konstantin Zadorozhny
Here it is. http://personal.primorye.ru/andreyno/soft/ieoe/DBXSDK.zip
Thank you very much, but I haven't found anything about IMimeMessage. There
is only library for reading DBX files. Maybe I don't understand
something....

Regards,
Grzegorz Niemirowski
George Hazan
2004-04-19 08:06:33 UTC
Permalink
Hello, Grzegorz!
Post by George Hazan
By calling the appropriate method of IMimeMessage interface.
GN> Could you give me some hint, some piece of code?

Sure, but you won't be able to create such an object inside your program,
cause it requires the internal IMimeStorage class factory to be redefined by
your own ;) I.e. you should implement your own Fidolook to get access to it.

DBX SDK allows to access DBX files from the outside.
--
WMBR, George Hazan (ghazan-SBvdmUDOIYcvJsYlp49lxw==@public.gmane.org)
Grzegorz Niemirowski
2004-04-19 17:50:23 UTC
Permalink
Post by George Hazan
Sure, but you won't be able to create such an object inside your program,
cause it requires the internal IMimeStorage class factory to be
redefined by your own ;) I.e. you should implement your own Fidolook to
get access to it. DBX SDK allows to access DBX files from the outside.
I can create IMimeStorage and IMimeMessage objects but I don't know how to
initialize them.
--
Pozdrawiam,
Grzegorz Niemirowski
www.grzegorz.net
George Hazan
2004-04-20 05:26:58 UTC
Permalink
Hello, Grzegorz!
Post by George Hazan
Sure, but you won't be able to create such an object inside your program,
GN> I can create IMimeStorage and IMimeMessage objects but I don't know how
GN> to initialize them.

You don't have to initialize them, but you should have an initialized OE
context (including anonymous static variables inside MSOE.DLL) to use all
those classes, or you will get access violations. So it's sad but true: you
cannot use these classes outside OE. It does not create a problem for
Fidolook though.
--
WMBR, George Hazan (ghazan-***@public.gmane.org)
Grzegorz Niemirowski
2004-04-20 17:52:22 UTC
Permalink
Post by George Hazan
You don't have to initialize them, but you should have an initialized OE
context (including anonymous static variables inside MSOE.DLL) to use all
you cannot use these classes outside OE. It does not create a problem for
Fidolook though.
And this is why I'd like to know how Fidolook works. I can do some things in
OE context but I don't know how to use those classes.
--
Pozdrawiam,
Grzegorz Niemirowski
www.grzegorz.net
Konstantin Zadorozhny
2004-04-22 19:59:56 UTC
Permalink
Hello, Grzegorz!
You wrote on Tue, 20 Apr 2004 19:52:22 +0200:

??>> You don't have to initialize them, but you should have an initialized
??>> OE context (including anonymous static variables inside MSOE.DLL) to
??>> use all those classes, or you will get access violations. So it's sad
??>> but true: you cannot use these classes outside OE. It does not create
??>> a problem for Fidolook though.

GN> And this is why I'd like to know how Fidolook works. I can do some
GN> things in OE context but I don't know how to use those classes.

A lot of people whant to know how OE works. That was exactly the reason
why FL didn't went open source one day.

With best regards, Konstantin Zadorozhny.
Grzegorz Niemirowski
2004-04-22 20:02:26 UTC
Permalink
Konstantin Zadorozhny
Post by Konstantin Zadorozhny
A lot of people whant to know how OE works. That was exactly the reason
why FL didn't went open source one day.
OK, I understand. Thanks for your help.
--
Pozdrawiam,
Grzegorz Niemirowski
www.grzegorz.net
Loading...