Recent

Author Topic: iPro not working on win 32 or 64...  (Read 2470 times)

blafot

  • Newbie
  • Posts: 1
iPro not working on win 32 or 64...
« on: January 24, 2017, 02:44:52 pm »
Hi.
Tryed out 32 and 64 bit and I cant even compile the demos. Access violation. Clean install.
Im migrating from Delphi7 and just put up a panel and a provider and getURL and it does not work.

Is there any bug? The demos cant load anything either.... Missing lines, Access violation etc...

Thanx.

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: iPro not working on win 32 or 64...
« Reply #1 on: January 24, 2017, 06:41:56 pm »
I just tested the demos in components/turbopower_ipro/examples, and could compile and run each one of them. It is only the browser example which seems to have issues at run time when opening a URL - I must have closer a look when I have time.

So please provide more details: What is your OS? Which Lazarus and fpc version? Are the iPro components installed at all? You MUST be able to compile and run the file-based sample projects (e.g. htmlfileexplorer1). Otherwise something is wrong with your installation.

For migrating a project from Delphi you will probably see issues because the original TurboPower Internet Professional library had a bunch of components while only of few of them have been ported to Lazarus so far.

[P.S.]
The browse example runs with a complete url including file name, such as http://www.lazarus-ide.org/index.php

For this, you must get yourself the latest trunk version of Lazarus, or you replace the line

  FContentType := FClient.ResponseHeaders.Values['Content-Type'];

of TIpHttpDataprovider.CheckURL in Iphttpbroker.pas by
 
  FContentType := AllTrimSpaces(FClient.ResponseHeaders.Values['Content-Type']);

 

TinyPortal © 2005-2018