下面的几个FQ已经有人贴过了,看了一个,十分不错,借来一用
还有:哪位兄弟知道intraWeb的新闻组的地址?
When I compile my application with Delphi 6, I get an error message saying: "InGlobal" was compiled with a different version of System.rtl
You need to make sure you have Delphi 6 Update Pack 2 installed. If you have already installed the Update Pack previously, re-install.
--------------------------------------------------------------------------------
When I upload my standalone EXE to the webserver and try and access it, the browser prompts me with a Save dialog
IntraWeb standalone applications are not CGI's. They are standalone executables that have a built-in web server. To access the IW application you need to specify the following URL:
http://your_ip_address
ort_assigned
where port_assigned is the port that is set in the ServerController in your project.
--------------------------------------------------------------------------------
How can I convert my stand alone application to ISAPI in Delphi?
Lets take the Guess demo as an example:
program Guess;
uses
IWInitStandAlone, Main in 'Main.pas' {formMain: TIWFormModuleBase},
ServerController in 'ServerController.pas' {IWServerController: TDataModule};
{$R *.res}
begin
IWRun(TFormMain, TIWServerController);
end.
Change the program clause to library.
Chage IWInitStandAlone in the uses clause to IWInitISAPI.
Your project file should now look like this:
library Guess;
uses
IWInitISAPI, Main in 'Main.pas' {formMain: TIWFormModuleBase},
ServerController in 'ServerController.pas' {IWServerController: TDataModule};
{$R *.res}
begin
IWRun(TFormMain, TIWServerController);
end.
--------------------------------------------------------------------------------
How can I convert my ISAPI application to stand alone in Delphi?
Lets take the GuessDLL demo as an example:
library GuessDLL;
uses
IWInitISAPI,
ServerController in 'ServerController.pas' {IWServerController:
TIWServerControllerBase},
Main in 'Main.pas' {formMain: TIWFormModuleBase};
{$R *.RES}
begin
IWRun(TFormMain, TIWServerController);
end.
Change the library clause to program.
Change IWInitISAPI to IWInitStandAlone
Your project file should now look like this:
program GuessDLL;
uses
IWInitStandAlone,
Main in 'Main.pas' {formMain: TIWFormModuleBase},
ServerController in 'ServerController.pas' {IWServerController:
TDataModule};
{$R *.res}
begin
IWRun(TFormMain, TIWServerController);
end.
--------------------------------------------------------------------------------
How can I convert my stand alone application to ISAPI in C ++ Builder?
Open your bpr file in a text editor such as NotePad.
Locate the line that says:
<PROJECT value="MyProject.exe"/>
Change the EXE to DLL
3. Locate the line that says
-tW -tWM"/>
and add "D" after the first W
4. Locate the line that says
<ALLOBJ value"c0w32.obj $(PACKAGES) Memmgr.Lib sysinit.obj $(OBJFILES)"/>
and change c0w32.obj to c0d32.obj
5. Save the changes and open the updated project file in C++ Builder
6. Change IWInitStandAlone to IWInitISAPI in the uses clause.
7. Build the project
--------------------------------------------------------------------------------
What are the A-Team and TeamZed designations I see on some newsgroup post signatures?
Please see the A-Team page and the TeamZed pages.
--------------------------------------------------------------------------------
When I install IntraWeb I receive an error about not being able to install into Delphi 5 but I have never installed Delphi 5 or have removed it since then
. What is wrong?
Another major software vendor has a problem with their install that creates a Delphi 5 registry key even if Delphi 5 is not installed. To fix the problem:
Run regedit and remove this key: HKEY_LOCAL_MACHINE//Software/Borland/Delphi/5.0
Run the IntraWeb install again.
--------------------------------------------------------------------------------
How can I install my IntraWeb application in Apache?
After you have created the DSO, you may find Apache Shared Modules of use. This is an article by Brian Long which includes information on installing Apache DSOs. You can deploy applications you create using Apache Shared Modules on either Win32 or Linux Apache web servers with IntraWeb.
--------------------------------------------------------------------------------
Can I develop for Linux?
Yes, using Kylix 2 or 3 you can deploy in standalone mode, or as an Apache DSO.
--------------------------------------------------------------------------------
How can I have an ISAPI and a stand alone version of my application?
Create two project files with different names, but include the same main unit and other required files. Both the Guess/GuessDLL and Fishfact/FishfactDLL demos demonstrate this.
--------------------------------------------------------------------------------
I am trying to use ADO or some other COM component and I get an error about CoInitialize must be called?
Set InitializeCOM to True in your application's server controller.
--------------------------------------------------------------------------------
Why are fonts messed up in some browsers?
Most computers are set for small fonts. Since all rendering is based on the servers representation if a user has large fonts, the rendering will be slightly off. End users should use small fonts, or alternatively the developer should leave sufficient space around each component to compensate for the offset. Large fonts can be used if templates are used.
--------------------------------------------------------------------------------
Do I need a web-server to run IntraWeb?
This answer depends on how you deploy your IntraWeb application.
If you deploy using ISAPI, then
yes you will need a web server which supports ISAPI such as Microsoft IIS or Omni HTTP.
If you deploy using the stand alone method, then
no you will not need a web server because a specialized web-server is provided by IntraWeb. However, most people will want to run it in conjunction with a normal web server to serve static pages and graphics, but this is not required.
--------------------------------------------------------------------------------
Will I have any conflicts with our primary web server?
Web servers run on the default HTTP port 80. Unless the web-server has been configured to run on the IntraWeb application port or vice versa, there will not be any conflicts.
--------------------------------------------------------------------------------
Can I use Secure Sockets Layer (SSL) with IntraWeb and my IntraWeb applications?
IntraWeb when deployed as ISAPI can be used with SSL by using the SSL features of the hosting webserver.
When deployed in stand alone mode, IntraWeb can also support SSL. However, some countries disallow the use of strong methods of encryption. It depends on the location where the application is to be run. Atozed Software do
es not provide any rights or licenses to use strong encryption methods. However, IntraWeb can support SSL if the OpenSSL dynamic link libraries (DLL's) for Indy are installed. do
wnload SSL Libraries.
For instructions on setting up an IntraWeb stand alone server to use SSL please see the SSL section in the IntraWeb Manual.
--------------------------------------------------------------------------------
Can I use the IntraWeb web-server as our primary web-server?
It is not recommended. The IntraWeb server provided in the package is a specialized server for running IntraWeb applications only. For web-servers, other products are available such as the Apache web-server that can be do
wnloaded for both Windows and Linux and is freely available.
If the primary focus of the website is the IntraWeb application, the web-browser can be automatically redirected to the IntraWeb server.
Apache can be redirected by modifying its configuration file. Microsoft IIS can process a redirect by editing adding a virtual directory and redirect in IIS Manager.
Another option is to use an HTML page containing a meta-tag:
<META HTTP-EQUIV="Refresh" CONTENT="x;
URL="http://<server name>:4321/start/<app name>/"">
Where x is the number of seconds to wait in the HEAD section of the HTML do
cument such as:
<HTML><HEAD><TITLE>Redirecting to Our Application Server</TITLE><META HTTP-EQUIV="Refresh" CONTENT="3;
URL=http://www.yourcompany.com:4321/FishFact/start"></HEAD><BODY><P>You should be redirected to our application server in three seconds. If you are not redirected, please <A HREF="http://www.yourcompany.com:4321/FishFact/start">follow this link to go to our application server</A>.</P></BODY></HTML>
--------------------------------------------------------------------------------
What IP addresses do
es my IntraWeb server listen on?
IntraWeb servers listen on all of the active IP addresses on the machine.
--------------------------------------------------------------------------------
How can I install a new IntraWeb program as a service?
Copy the executable file to the destination machine. From a command prompt run the executable with the "-install" parameter. This installs it as a service. Proceed to the Service applet in the Control Panel to set the startup. If running as a standalone application, by just copying it to the destination machine and starting it is sufficient.
--------------------------------------------------------------------------------
How can I update an IntraWeb program after I have deployed it?
First, stop the IntraWeb application service. Upload the newer version and restart the service. If running as a standalone, simply replace the existing file after stopping it, and then
restart the application.
--------------------------------------------------------------------------------
How can I completely remove an IntraWeb service from my server?
Stop the IntraWeb application service. From a command prompt run the executable with the "-uninstall" parameter. Finally, delete the executable.
--------------------------------------------------------------------------------
Can users run an IntraWeb application through their firewalls?
Firewalls normally block unknown ports and only leave commonly used ports open (such as port 80). However, most firewalls allow all HTTP traffic to pass through regardless of what port they use. This is do
ne by using an HTTP proxy. Therefore, IntraWeb is compatible with nearly all firewalls your users may be using.
--------------------------------------------------------------------------------
What do
I do
if I do
not have permission to install my IntraWeb application on Windows NT or Windows 2000?
The IntraWeb applications must be installed from an administrator account. Contact your network administrator.
Note: This is only true for the stand alone versions of IntraWeb. The ISAPI versions can be installed by any user with upload access.
--------------------------------------------------------------------------------
Why do
es the port that the application runs on keep changing?
The evaluation version of IntraWeb picks the port at random. When the product is purchased, fixed port numbers can be specified in the Server Controller.
--------------------------------------------------------------------------------
Does IntraWeb support visual form inheritance?
Currently, IntraWeb do
es not support visual form inheritance. However as of 4.0.11 IntraWeb do
es support TFrame and is more flexible than visual form inheritance in most situations.
--------------------------------------------------------------------------------
Does IntraWeb support TFrame?
IntraWeb introduces support for TFrame in version 4.0.11.
--------------------------------------------------------------------------------
How do
I control the session timeout?
Set the SessionTimeout property in the application's ServerController.
--------------------------------------------------------------------------------
Why when debugging using the IDE and Netscape 4 is the application is slow on the development machine and the task manager shows 100%?
This is a known problem between Netscape and the Delphi IDE. Task switch to your application when hitting a button in Netscape and it will respond. This only occurs when running from the Delphi IDE.
--------------------------------------------------------------------------------
When when using Internet Explorer is there a delay when I first click on a button?
The first time you click on a button or other submittable item in Internet Explorer and Internet Explorer has just recently been started, Internet Explorer pauses for 1 to 2 seconds and loads its Javascript libraries. Notice that this only happens on the first click, and subsequent actions are much quicker.
--------------------------------------------------------------------------------
I have installed IntraWeb but I receive an error "procedure entry point @Systemcrispi@initializtion$qqrv could not be located".
This situation occurs on system which had IntraWeb 3.0 installed prior to installing 3.1 or later. IntraWeb 3.0 was license to Nevrona and the installer was maintained by Nevrona. IntraWeb 3.0 do
es not completely uninstall itself and thus conflicts with IntraWeb 3.1.
To solve this problem perform the following steps:
Close all versions of Delphi
Uninstall IntraWeb 3.0
Uninstall IntraWeb 3.1
Search your complete file system for *intraweb*.bpl and *intraweb*.dcp - Delete all versions of this file.
Reinstall IntraWeb 3.1
--------------------------------------------------------------------------------
When I run my application it fails to work from Internet Explorer. IE fails to connect to host when launched. What is wrong?
Installation of a different browser (Netscapte 6.1, etc.) can alter the IE web settings which previously existed. Restoring IE to its original settings should resolve the problem. To restore the settings, open IE, select Tool | Internet Options | Program and click on Reset Web Settings.
--------------------------------------------------------------------------------
If I buy the developer edition, can I upgrade to the enterprise edition later?
Yes. You may upgrade from developer to enterprise for the difference in price plus $25 USD.
To upgrade use this order form.
--------------------------------------------------------------------------------
Why do
es IE give me a Javascript error and when I look at the javascript its incomplete?
Its a bug in IE. We have traced this with a network tracer and also see it on internet sites with IE. One thing we have noted is that it seems to only happen when IE is launched via a URL or the Execute (which uses a URL) in stand alone mode. Use the "Copy URL to Clipboard" function and open IE manually, then
open the URL on the clipboard and it will work perfectly.
--------------------------------------------------------------------------------
Can I use GIFs in my application?
Yes, but with some special considerations. GIFs cannot be used in commercial software in most cases, but there is a way around it.
GIF images were free. then
Unisys said "we have a patent on the LZW compression that GIF uses". A judge then
granted them the right to charge license fees. This was an idiotic decision as Unisys left their patent undefended for about 15 years and waited until it was in widespread use. You can read more about this at BurnAllGifs and GNU.org.
You can however use GIFs with IntraWeb by using TIWImageFile. With TIWImageFile IntraWeb merely passes the raw file data through to the web browser and do
es not compress or uncompress the GIF.
TIWImageFile can ignore the GIF at design time, or you can install a GIF processor into Delphi to display it at design time.
Below is a list of free GIF processors for Delphi to enable this. Just install them into any package that is loaded at design time. Some of them come with their own packages.
TGIFImage by Anders Melander
List of GIF processors at Torry's
The above restriction do
es not apply in all countries. For those countries that it do
es apply this should get you around the restriction, but the software you use to create the GIFs may have special restrictions when used to create GIFs for use on the internet.
We are not lawyers, but we know that IntraWeb's portion of your GIF puzzle is legal in all countries, however your other portions of the GIF puzzle are your legal responsibility.
--------------------------------------------------------------------------------
Why can I not use ShowModal?
IntraWeb requires that control be returned to its handling routines. Since ShowModal effectively blocks the program flow, control cannot be returned. Thus ShowModal cannot be used in an IntraWeb application, as it will cause the program to freeze. Instead merely display an IntraWeb form wtih an Ok or Close button which calls the Release method.
In essence though, since your IntraWeb application occurs in a single browser window typically, all forms are "modal".
--------------------------------------------------------------------------------
When using the BDE, I get the following error when starting my web application: "An error occurred while attempting to initialize the Borland Database Engine (error $2B05)"
Please see this article on the Borland Community website.
--------------------------------------------------------------------------------
Is source code available for IntraWeb?
Source code is available under certain conditions and as a seperate purchase.
--------------------------------------------------------------------------------
Why did the chicken cross the road?
Some people say "To get to the other side.". We however are not really sure why the chicken crossed the road. It shall remain a mystery to the world.