 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mikael Guest
|
Posted: Mon Oct 09, 2006 10:58 pm Post subject: Using XML as parameter between programs/dll |
|
|
Is it possible to use a XML syntax as parameter when calling a program/dll?
I'm asking because the number of parameters differs from time to time.
Mikael |
|
| Back to top |
|
 |
Andreas Tscharner Guest
|
Posted: Tue Oct 10, 2006 8:13 am Post subject: Re: Using XML as parameter between programs/dll |
|
|
Mikael wrote:
| Quote: | Is it possible to use a XML syntax as parameter when calling a
program/dll?
|
When calling a progam: yes (short answer). Long answer: you could
provide XML as argument, but notice that it may not have any spaces (if
it has to have spaces, then quote the complete XML parameter (which
means you cannot have normal quotes in the XML). And this would only
work if that application gets called by another application, because if
you think you can make a user enter XML as parameter, well, then think
again.
A DLL: How can you call a DLL directly? Your usually need to provide an
application that uses that DLL
| Quote: |
I'm asking because the number of parameters differs from time to
time.
|
In this case I suggest you write your parameters to a file and provide
that file as command line parameter as XML tends to get quite long
Best regards
Andreas
--
Andreas Tscharner andreas.tscharner (AT) metromec (DOT) ch
------------------------------------------------------------------------
Real coders don't comment their code. It was hard to write, it should be
hard to understand. -- from the Linux Kernel Mailinglist |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|