Software Archive
Read-only legacy content
17061 Discussions

How to download files through Fortran COM server....

Intel_C_Intel
Employee
481 Views
Hi Friends,
I am now trying to download a file through my Fortran COM server.By using IResponse interface one can send a file directly to the client browser.But I have been stucked how to implement the IResponse interface in Fortran COM server.

Thanks in advance.

Regards,
Debaprasad Tripathy
Timken Engg. And Research India Pvt. Ltd.
0 Kudos
3 Replies
Intel_C_Intel
Employee
481 Views
You have to manually implement the IResponse interface method by method, argument by argument, in the COM Server Wizard. Not a good place for a typo! ;-). You must implement the entire interface. You can, of course, just return E_NOTIMPL for the methods you don't want to bother with - some would call that a 'quality of implementation issue'.

In the CVF COM Server wizard, there is no equivalent of VB's Implements keyword or the VC++ Implement Interface menu/functionality. Well, at least not of CVF 6.5. Don't know about 6.6. But it would be a an important feature to add.

-John
0 Kudos
Intel_C_Intel
Employee
481 Views
hi John,
Is there any source except progrmmers guide and language reference that I can follw to implement the IResponse interface inFortran COM server.
thanks
Debaprasad Tripathy
0 Kudos
Intel_C_Intel
Employee
481 Views
There's the MSDN documentation for IResponse, at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/html/psdk/asp/buil27xh.asp?frame=true. How much help that is, probably depends on your experience with COM and C++. I'm sure there's plenty of other sites on the web to get related information, but almost certainly specific to a language other than Fortran.

hth,
John
0 Kudos
Reply