RTC Forums
November 24, 2024, 08:08:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: How to Output the image directly from the HTTP Server to web browsers?  (Read 4730 times)
zxplzzc
RTC Expired
*
Posts: 8


« on: November 15, 2011, 12:30:11 PM »

I store the web page templates and the gif images in the resource of the exe  to prevent others from change it,but how can I  output the resources  to web browsers directly  without accessing the files in the disk? In the trtcconnection there is only Write(String)?
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: November 15, 2011, 12:50:40 PM »

Obviously, you will need to extract the resource into an AnsiString before you can write it out. There is no other way.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #2 on: November 15, 2011, 12:52:48 PM »

Btw ... in case you are also asking how to embed the image into a web page, here is a related topic.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.023 seconds with 16 queries.