CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Problem adress image with ISAPI DLL

Questions & Answers about IWCGJQuery Suite.

by Corwin » 20 Jul 2015 12:33

HI

I have a webapplication with ISAPI.

in the form of start I have this code

Code: Select all
procedure TIWHomeForm.CreateHeader;
var utile:String;
begin
  IWCGHEADER.Css:= 'cgdev-middle-header';
  with IWCGHEADER.HTMLCode do
  begin
    Add('<div>');
    Add('<h1 aling=Center><span>MIND.TBS</span></h1>');
    Add('</div>');
    Add('<div style="position: absolute;left: 400px;top: 132px;z-index: 100;padding: 0;border-style: none;border-width: 0px;" id="IWCGJQIMAGELOGO"><img src="./IWHomeForm_IWCGJQImageLogo_IWCGJQIMAGELOGO.png" id="IWCGJQIMAGELOGO_IMG"></div>');
  end;
end;



The WebApplication.ApplicationPath on sever is c:\ISAPI\

when they launch on the production server does not find the image,

in the html code of the page I have:
Code: Select all
<div style = "position: absolute; left: 400px; top: 132px; z-index: 100; padding: 0; border-style: none; border-width: 0px;" id = "IWCGJQIMAGELOGO"> <img src = "./ IWHomeForm_IWCGJQImageLogo_IWCGJQIMAGELOGO.png" id = "IWCGJQIMAGELOGO_IMG"> </ div>


The server has Windows 8 IIS Versio 8.5.9600.16384

who is the problem? :roll:

Regards
Corwin
 
Posts: 114
Joined: 27 Apr 2015 10:01

by Corwin » 20 Jul 2015 14:03

Hi

i solved! :mrgreen:

using Process Monitor, I discovered that the image search in ISAPI / wwwroot

Regards
Corwin
 
Posts: 114
Joined: 27 Apr 2015 10:01


Return to Q & A

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.