For Programmers: Free Programming Magazines  


Home > Archive > Fortran > January 2008 > Handling automation events in an Intel Visual Fortran Windows









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Handling automation events in an Intel Visual Fortran Windows
jmcgowan@cetrus.com

2008-01-28, 10:21 pm

Hello,



I have an Intel Visual Fortran 10.1 application that I am working on.
I have used the Fortran Module Wizard to create a Fortran wrapper for
a COM server...let's call is xxx.dll

I can invoke the COM routines in xxx.dll fine. However, the xxx.dll
generates "notfication events" that appear to be automation events of
some kind.

I need my client (a windows SDI application at the moment) to process
the "notfication events" from xxx.dll. I need to duplicate the
functionality of a C++ MFC example that appears to use an MFC dispatch
map to handle automation events and register a callback function to
handle the events. Is there a way to do this or something similar or
equivalent in Intel Visual Fortran.

Sincerely,



John McGowan







Gary Scott

2008-01-28, 10:21 pm

jmcgowan@cetrus.com wrote:

> Hello,
>
>
>
> I have an Intel Visual Fortran 10.1 application that I am working on.
> I have used the Fortran Module Wizard to create a Fortran wrapper for
> a COM server...let's call is xxx.dll
>
> I can invoke the COM routines in xxx.dll fine. However, the xxx.dll
> generates "notfication events" that appear to be automation events of
> some kind.
>
> I need my client (a windows SDI application at the moment) to process
> the "notfication events" from xxx.dll. I need to duplicate the
> functionality of a C++ MFC example that appears to use an MFC dispatch
> map to handle automation events and register a callback function to
> handle the events. Is there a way to do this or something similar or
> equivalent in Intel Visual Fortran.


You will probably get a more thorough answer on the Intel forum. (see
Steve Lionel's posts for a link)

>
> Sincerely,
>
>
>
> John McGowan
>
>
>
>
>
>
>



--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com