Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ISAPI » General » Downloads
 
Add your own
alternative version

Storing and retrieving binary data in ISAPI extensions

, 5 Sep 2002
An easy way to store and retrieve binary data in an ISAP dll and display them on a web page.
binarylib.zip
BinaryLib.def
BinaryLib.dsp
BinaryLib.dsw
Hello kitty what.jpg
binarylib_dll.zip
BinaryLib.dll
#if !defined(AFX_BINARYLIB_H__D7957707_1B0F_424D_BC7E_065755AEC4F7__INCLUDED_)
#define AFX_BINARYLIB_H__D7957707_1B0F_424D_BC7E_065755AEC4F7__INCLUDED_

// BINARYLIB.H - Header file for your Internet Server
//    BinaryLib Extension

#include "resource.h"

class CBinaryLibExtension : public CHttpServer
{
public:
	CBinaryLibExtension();
	~CBinaryLibExtension();

// Overrides
	// ClassWizard generated virtual function overrides
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//{{AFX_VIRTUAL(CBinaryLibExtension)
	public:
	virtual BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer);
	//}}AFX_VIRTUAL
	virtual BOOL TerminateExtension(DWORD dwFlags);

	// TODO: Add handlers for your commands here.
	// For example:

	void Default(CHttpServerContext* pCtxt);
	void GetImage(CHttpServerContext* pCtxt, LPCSTR sImage);

	DECLARE_PARSE_MAP()

	//{{AFX_MSG(CBinaryLibExtension)
	//}}AFX_MSG
};


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BINARYLIB_H__D7957707_1B0F_424D_BC7E_065755AEC4F7__INCLUDED)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Dirk Vandenheuvel
Architect
Belgium Belgium
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141220.1 | Last Updated 6 Sep 2002
Article Copyright 2002 by Dirk Vandenheuvel
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid