delphi - How to use component from the old indy9 package -
i have upgraded indy9 indy10 in delphi7. took time me change parts tcp servers , clients seems works nice now.
now, noticed 1 part still not working, , thats idhttpserver component.
our applications web page using mootools library. indy9 idhttpserver works perfectly, indy10 something, makes browsers fail display page.
besides other errors, there nonsense error (firefox error console output):
timestamp: 2013.08.07 13:13:56 error: syntaxerror: missing ] after element list source file: http://192.168.100.2:8780/lib/ui/core/mootools-1.2.4-more-yc.js line: 103, column: 60 source code: unction(){var b=["c?","c ","c","c?","c,","c¢","cƒ","c£","c"","c¤","c.","c?","Ä,","ă","Ä"","Ä.","Ä?","Ä?","ÄŒ","Ĩ","c? -------------------------------------------------------------^
the actual source code inside .js is:
long long text ....... function(){var b=["c?","c ","c","c?","c,","c¢","cƒ","c£","c"","c¤","c.","c?","Ä,","ă","Ä"","Ä.","Ä?","Ä?","ÄŒ","Ĩ","c?","c§","Ä?","ĸ","Ä","Ä'","cˆ","cØ","c?","c©","cŠ","cr","c<","c«","Äš","Ä>","Ę","Ät","Ä?","ÄŸ","cŒ","c¬","c¨","c","c?","c®","c¸","cÆ","Ĺ","Är","Ľ","ľ","Å","Å,","c'","c±","Å?","ň","Ń","Å"","c'","c²","c"","c³","c"","c´","c.","cµ","c-","c¶","c˜","cø","Å'","Ř","Åt","Å"","Å.","Å ","Å?","Å?","ÅŸ","Åš","Å>","Ť","Å?","Ť","Å?","Å¢","Å£","ct","c¹","cš","cr","c>","c»","cœ","c¼","Å®","ÅÆ","Åø","cæ","c½","c¯","Ž","ž","Ź","År","Å»","ż","c?","c¾","c","c°","cŸ","Å'","Å"","c?","c¦","aµ"]; ................ long long text
what happening here?
i took deep breathe , thought, hey use old version of idhttpserver still have source files of indy9 in other folder. if nobody knows how fix indy10 httpserver, please tell me how use old version? httpserver component (which surely links 10s of other old indy files).
i tried include old sources, becoming mess, because use idhttpserver.pas old version, yet idcustomhttpserver.pas (this happens after follow uses of idhttpserver.pas file) new version...
to use different indy version in 1 project, set project search path indy\lib\core, \protocols , \system, , instantiate components in code.
this has advantage can avoid uninstall / install steps switch between different indy 10 versions.
Comments
Post a Comment