혹시 lazarus 에서 indy 사용하는 방법 알고 계신분 좀 알려 주세요..

dwfree74의 이미지

http://sourceforge.net/project/showfiles.php?group_id=89339
따끈 따끈한 0.9.16 버전이 올라왔네요...2006년 05월 28일자 버전입니다..

계속 나아지고 있는데... 기존의 델파이에서 사용하던 INDY 를 어떻게 사용해야 하는지
방법을 알고 계시는 분 있으면 좀 알려 주세요..

feanor의 이미지

Indy for Lazarus를 시도해 보세요.
http://indy4lazarus.sourceforge.net/

전에 해봤을 땐 잘 안 되는 게 많았습니다.

dwfree74의 이미지

얼핏 저두 전에 했을때 안되었던 거 같습니다...
다시 한번 도전해 봐야 겠습니다..

indy 지원되면 넘 좋을 거 같습니다..ㅎㅎㅎ..
lazarus가 1.0 버전 되면 아마 Delphi 처럼 indy도 포함되어서 나왔으면 하는 바램입니다...^^;

kldp.net 에 많은 프로그래머들이 동참하기를 바라며...^^

dwfree74의 이미지

procedure WS2Stub_WSACleanup; asm mov eax, 0; call WS2Call; jmp eax; end;
Fatal: Syntax error, "BEGIN" expected but "ASM" found
이런 구문 오류는 아래와 같이 해서 잡았습니다만..
procedure WS2Stub_WSACleanup; begin asm mov eax, 0; call WS2Call; jmp eax; end; end;
========================================================================================================

(StubProc: @WS2Stub_WSACleanup; ProcVar: @@WSACleanup; Name: 'WSACleanup'),
여기서 생기는
Error: Can't assign values to an address
이런 구문 오류는 잡기가 쉽지가 않네요...^^;

역시 전에도 이정도 수준까지 했었던 기억이....

kldp.net 에 많은 프로그래머들이 동참하기를 바라며...^^

dwfree74의 이미지

http://wiki.lazarus.freepascal.org/index.php/Indy_with_Lazarus

How to install [3] Windows, Indy 10.5.8.0

Need working Lazarus (and FPC) for this
Download from http://www.indyproject.org/Sockets/Download/DevSnapshot.EN.aspx
unpack into a directory
copy the *.pas, *.lrs and *.inc of the \Lib\System, \Lib\Core, and \Lib\Protocols subdirectories into a new directory of your choosing
copy the indylaz.lpk in the \Lib directory to the directory you created above
from within Lazarus do a Package -> Open package file, open the indylaz.lpk
in the Package Options dialog, add the path to the directory you created above to the "Unit" field.
compile then install (will rebuild Lazarus)

In order to write & compile Indy10 applications, you need to put the path to the Indy directory in the "Other Unit files" textbox of every project that you write. You'll find "Other Unit files" under Project Options -> Compiler Options -> Paths.

------------------------------------------------------------------------------------
1.windows xp에 lazarus 1.0.10 버전 설치
2.indy10_5018.zip 다운로드 후 압축 풀기
3.새로운 폴더 indy10 을 만들고 (경로에 한글 포함안되도록...)
~\Indy10_5018\Lib 의 서브 폴더 중 System,Core, Protocols 이 세개의 폴더 각각에서
*.pas, *.lrs, *.inc 파일들을 새로 만든 indy10 폴더에 복사
4.~\Indy10_5018\Lib 폴더에 있는 indylaz.lpk 파일을 새로 만든 indy10 폴더에 복사
5. Lazarus 실행해서 Package -> Open package file 메뉴실행해서 indylaz.lpk 파일 열기
6. Option 버튼 눌러서 Package Options dialog 창을 띄우고, Unit 필드에 새로 만든 indy10 폴더를 path에 add 시키기
7. Compile 버튼 누리고 컴파일되면 Use>> 버튼 눌러서 하위 메뉴에 install 메뉴 클릭
8. 정상적으로 인스톨 되고 나서 lazarus 재시작 하면 indy 컨트롤들이 설치되어 있음을 확인 할수 있음.

[프로젝트에서 indy 사용시]
프로젝트 옵션에
Project Options -> Compiler Options -> Paths 에서
Other Unit files 에 indy 소스 경로 추가해 주면 정상작동 되네요.

kldp.net 에 많은 프로그래머들이 동참하기를 바라며...^^

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.