Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Comment accéder aux variables d'un programme à partir de scripts externes?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
emilbarton  
View profile   Translate to Translated (View Original)
 More options Oct 21 2012, 5:10 am
Newsgroups: fr.comp.lang.c++
From: emilbarton <emilbar...@whynot.com>
Date: Sun, 21 Oct 2012 09:10:00 +0000 (UTC)
Subject: Comment accéder aux variables d'un programme à partir de scripts externes?
Bonjour,

j'écris une interface Wx pour databases SQL et j'aimerais que
l'utilisateur puisse lancer des scripts écrits par elle ou lui en Python
ou en Perl afin de traiter à sa guise les extrants des databases.

Y a-t-il un moyen de rendre les conteneurs C++ (principalement des
vecteurs de texte) accessibles à des scripts lancés à partir du programme
principal?

Merci d'avance

--- news://freenews.netfront.net/ - complaints: n...@netfront.net ---


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alain Ketterlin  
View profile   Translate to Translated (View Original)
 More options Oct 21 2012, 5:20 am
Newsgroups: fr.comp.lang.c++
From: Alain Ketterlin <al...@dpt-info.u-strasbg.fr>
Date: Sun, 21 Oct 2012 11:20:09 +0200
Local: Sun, Oct 21 2012 5:20 am
Subject: Re: Comment accéder aux variables d'un programme à partir de scripts externes?

emilbarton <emilbar...@whynot.com> writes:
> j'écris une interface Wx pour databases SQL et j'aimerais que
> l'utilisateur puisse lancer des scripts écrits par elle ou lui en Python
> ou en Perl afin de traiter à sa guise les extrants des databases.

> Y a-t-il un moyen de rendre les conteneurs C++ (principalement des
> vecteurs de texte) accessibles à des scripts lancés à partir du programme
> principal?

Ce n'est pas le problème de C++, mais celui du langage que tu veux
utiliser.

Pour python : "Extending and Embedding the Python Interpreter" à
http://docs.python.org/extending/index.html

Pour perl, mon premier essai avec google donne
http://stackoverflow.com/questions/49168/how-can-i-embed-perl-inside-...

-- Alain.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »