Transfering Image Files in COM Calls 
Author Message
 Transfering Image Files in COM Calls

I'm working on a criminal history system in which we have to transfer image
files from a database to a web page through middle tier objects. Could
anyone give me a general idea how this can be done. For instance, should I
look into serializing CBitmap or something along those line. I'm not sure
where to start.

Thanks, Ron



Tue, 13 Jul 2004 18:53:42 GMT  
 Transfering Image Files in COM Calls
You should not use DDB, because it's device dependent. You may not want to
use BMP format either, because compression is not so good. Actually, there
is no compression for 24-bpp BMP files.

Consider using JPG or PNG file photos. Use GDI+ which handles lots of image
formats.

Feng Yuan (www.fengyuan.com)

This posting is provided "AS IS" with no warranties, and
confers no rights.



Wed, 14 Jul 2004 11:58:10 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Image File in COM Call

2. VB image list handle isn't fully accessible in VC++ ActiveX thru COM call

3. transfering a file

4. transfering file collection with sockets

5. Calling COM DLL from .c files

6. Calling COM from .c files

7. Calling COM DLL from .c files

8. Problem calling VB COM dll from VC++ multithreaded COM EXE client

9. Enable COM clients call methods inside COM events

10. COM client crashes calling COM method

11. call a VB COM dll thru a C++ COM dll from a C program

12. call a VB COM dll thru a C++ COM dll from a C program

 

 
Powered by phpBB® Forum Software