AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein indy tcp alternative that works with activex
Thema durchsuchen
Ansicht
Themen-Optionen

indy tcp alternative that works with activex

Ein Thema von drama22 · begonnen am 5. Apr 2015 · letzter Beitrag vom 7. Apr 2015
Antwort Antwort
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#1

indy tcp alternative that works with activex

  Alt 5. Apr 2015, 16:41
is there any alternative for indy library can work with activex ? i using indy into my tcp project but threds not working with activex or maybe there is some solve i can find about my project here ,, i asked about this in stack overflow and here is my question

http://stackoverflow.com/questions/2...40817#29440817

unfortunately the answer there is not working even in stand alone app , any suggestion about that ?
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#2

AW: indy tcp alternative that works with activex

  Alt 5. Apr 2015, 18:05
Im not that deep into ActiveX, but maybe MSDN-Library durchsuchenCoInitialize or MSDN-Library durchsuchenCoInitializeEx will solve your problem. You should try out CoInitializeEx(nil, COINIT_MULTITHREADED) .
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
Benutzerbild von sx2008
sx2008

Registriert seit: 15. Feb 2008
Ort: Baden-Württemberg
2.332 Beiträge
 
Delphi 2007 Professional
 
#3

AW: indy tcp alternative that works with activex

  Alt 5. Apr 2015, 21:20
If you want to access websites over http/https there is a ActiveX CoClass (and a interface) inside the microsoft msxml2 library available.
http://en.wikipedia.org/wiki/XMLHttpRequest
fork me on Github
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#4

AW: indy tcp alternative that works with activex

  Alt 5. Apr 2015, 21:38
If you want to access websites over http/https there is a ActiveX CoClass (and a interface) inside the microsoft msxml2 library available.
http://en.wikipedia.org/wiki/XMLHttpRequest
what is the incident between http/https to my question ? i asked about how to use indy tcp thred in activex.
  Mit Zitat antworten Zitat
Benutzerbild von sx2008
sx2008

Registriert seit: 15. Feb 2008
Ort: Baden-Württemberg
2.332 Beiträge
 
Delphi 2007 Professional
 
#5

AW: indy tcp alternative that works with activex

  Alt 6. Apr 2015, 03:51
60% of the internet traffic is http/https. Undeniably it's the most important internet protocol.
Often developers can't see the advantage to build their software on top of the http protocol; instead they build their own TCP protocol.
(and fail to get the message framing right)
My post was just an offer. You didn't tell us any details about your problem, so don't expect answers that hits the bulls eye.
fork me on Github
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#6

AW: indy tcp alternative that works with activex

  Alt 6. Apr 2015, 17:50
60% of the internet traffic is http/https. Undeniably it's the most important internet protocol.
Often developers can't see the advantage to build their software on top of the http protocol; instead they build their own TCP protocol.
(and fail to get the message framing right)
My post was just an offer. You didn't tell us any details about your problem, so don't expect answers that hits the bulls eye.
i didnt post details because i thought all details was on stack but any how am trying to transform my delphi project from VCL to ActiveX. I have issues with a client thread its unable to start and i cannot use my commands to send orders to server here is my whole project you can simply test it its connect to my server remotely

https://www.mediafire.com/?8iavxqn3zrahx9i
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#7

AW: indy tcp alternative that works with activex

  Alt 6. Apr 2015, 20:59
Did you try out CoInitialize?
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#8

AW: indy tcp alternative that works with activex

  Alt 6. Apr 2015, 22:03
Did you try out CoInitialize?
iam not using c++ and iam developing in delphi xe7
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#9

AW: indy tcp alternative that works with activex

  Alt 7. Apr 2015, 02:20
Did you try out CoInitialize?
iam not using c++ and iam developing in delphi xe7
How is this API related to C++? Just call it like this CoInitializeEx(nil, COINIT_MULTITHREADED) and include uses Winapi.ActiveX .
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#10

AW: indy tcp alternative that works with activex

  Alt 7. Apr 2015, 03:18
Did you try out CoInitialize?
iam not using c++ and iam developing in delphi xe7
How is this API related to C++? Just call it like this CoInitializeEx(nil, COINIT_MULTITHREADED) and include uses Winapi.ActiveX .

i added Winapi.ActiveX in my uses and call CoInitializeEx(nil, COINIT_MULTITHREADED) on create event i still have the same error and got disconnect from server
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:32 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz