-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
Paradox To/From
To/FromCODEGuides
Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

August Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCorel Paradox / ObjectPAL Coding BoardParadox Web Stuff Topic   Print This     

Paradox 9.0 and XML

Paradox 9.0 and XML in Paradox Web Stuff topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: Paradox   Paradox 9   Paradox 9 0  
Meta
Slovenia
Hello!

I would like to send XML to certain IP address and wait for XML.
Is this possible from ObjectPal? And how?

Thanks in advance
Marjeta
 Posted 22 years ago (Thread Starter)
Comment Quote
About Meta
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #10761, 3 replies
Thread Started 10/6/2004 2:40:00 PM
View Counter=3834
Last Reply Posted 1/11/2005 12:02:00 PM)
Location=Slovenia  
Joined=25 years ago   MB Posts=6  
Moderator
Mike Prestwood
Prestwood IT
Prestwood IT office in Citrus Heights, CA
Hi Marjeta,

I think the easiest way to get this task done is to do this with an ActiveX control or a DLL. I would write it in Delphi 7 Enterprise, but other solutions exist. D7 Enterprise has just about the best Win32 XML support.

Good luck,

Mike Prestwood

--
Mike Prestwood
Prestwood IT Solutions

 Posted 22 years ago
Comment Quote
About Mike Prestwood
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Mike Prestwood

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains play-drums.com and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Web Presence
Facebook, Prestwood IT Facebook page -- fan page. (Visit Me)
Twitter, Follow Prestwood IT on Twitter. (Visit Me)
LinkedIn, Prestwood IT company page on LinkedIn. (Visit Me)
YouTube, Prestwood IT YouTube Channel (Visit My Channel)
Website, My drum website where I sell my drum books. (http://www.play-drums.com)

Post ID #10764 (Level 1.1)  Reply to 10761
Thread Started 10/7/2004 3:35:00 PM
View Counter=2
Location=Prestwood IT office in Citrus Heights, CA 
Joined=26 years ago   MB Posts=1410   KB Posts=1805   KB Comments=53   BLOG, Topics=4  
Meta
Slovenia
Thanks for your advice - I'll probably follow your advice in programming a DLL.

Currently my friend made a java class ( which creates XML, sends it to IP address and waits for responded XML ), which is started in batch file, initiated by "execute" command in my ObjectPAL method.

It seems to me a very awkward solution, but I'm not acquainted with ActiveX control. Where should I start ?

Thanks a lot
Marjeta
 Posted 22 years ago (Thread Starter)
Comment Quote
About Meta
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #10768 (Level 1.2)  Reply to 10761
Reply Posted 10/9/2004 2:01:00 PM
Location=Slovenia  
Joined=25 years ago   MB Posts=6  
Most Recent Post
Meta
Slovenia
I still have problems in sending and receiving XML.
Following your advice, Mike, a friend of mine made a DLL in Delphi , containing a function with parameters:

RToMR(AURL,ACert,AReq,AResp:PChar;ARespLen:DWORD):DWORD;

In my script the function is declared in uses block:
Uses rd2mr

RToMR(AURL CPTR, ACert CPTR, AReq CPTR, var AResp CPTR,var ARespLen CLONG ) CLONG

endUses

In script the function is called:

retc = RedarstvoToMRVL(AURL,ACert,AReq,AResp,ARespLen)

where variables are declared as foolows:
var
AURL String
ACert String
AReq String
AResp String
ARespLen LongInt
retc LongInt
endvar

AURL, ACert and Areq are filled with values, AResp is filled with number of blanks and ARespLen is the length of AResp.

Still the error occurs:
"Access violation at address 03513577 in module 'red2mrvl.dll'. Read of address 00000064" - this is the area of AResp, which I filled with 100 asterisks.

I suppose there's an error in passing parameters - I intended to pass first three parameters by value and the last two by pointer - where did I make a mistake ?

Thanks in advance
Marjeta
 Posted 21 years ago (Thread Starter)
Comment Quote
About Meta
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #10937 (Level 1.3)  Reply to 10761
Reply Posted 1/11/2005 12:02:00 PM
Location=Slovenia  
Joined=25 years ago   MB Posts=6  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1172A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #10761 Counter
3834
Since 4/2/2008
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2026 Prestwood IT Solutions.   [Security & Privacy]