Display JPG in ATL

• Tools: VC2005 (ATL8.0)

• 2 possible ways:
1. using the OleLoadPicture function and the IPicture interface
https://msdn.microsoft.com/en-us/magazine/cc301454.aspx
2. ATL CImage Class
https://msdn.microsoft.com/en-us/library/bwea7by5(VS.80).aspx
CImage calls GDIPlus in the end... Gdiplus.dll is included with Windows XP, which is also included in Win2000SP4.

• How to package the ActiveX ATL in a Web page
1. Use the depends.exe to check dependency
2. Pack VC2005 redistrubution package...
[C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\ vcredist_x86.exe]
3. ReferenceHow to package MFC controls in a Web page[KB167158]
https://support.microsoft.com/kb/167158/
https://topic.csdn.net/u/20071024/16/f820f776-ff31-4e25-954c-195f2c7e40b0.html

[msvcr80.dll]
FileVersion=8,00,50727,42
hook=mfc80installer

[mfc80installer]
file-win32-x86=https://192.168.1.117/helloactivex/mfc80.cab run=%EXTRACT_DIR%vcredist_x86.exe