Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 23rd, 2003, 01:32 AM
Registered User
Join Date: Oct 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Extension Server in C++ / MFC

I am trying to write a server extension DLL to download or graph data. Can anyone help with the following 2 questions, please?

1. In the server context, how can I draw a picture? I should say that I currently have this working in an MFC-derived program, where I've obviously used the CDC class in a view. I can't find any hints anywhere in MS about this. Do I create a bitmap? If so, how do I convert this into a gif file for downloading, and how do I get access to draw on it?

2. I currently create a csv file for downloading the data and then send a redirection message down to the client to point to the file. Is there a way of doing this more efficiently, forcing the client to ask whether to save or open the file. If I need to send more than 1 file, how could I do that?

Many, many thanks to anyone who can help.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Front Page server extension error NWilson Assembly Language 1 January 17th, 2006 01:55 PM
MFC-hELP pazzuzu Visual C++ 0 June 28th, 2005 10:49 AM
COM Using MFC vxp4799 Visual C++ 0 May 12th, 2005 08:16 AM
How to use html extend Frontpage Server Extension? keenx C# 0 May 31st, 2004 02:09 AM
Server Extension using C++ Margaret Wright C++ Programming 2 December 17th, 2003 06:16 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.