PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > dde "wait loop"
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
dde "wait loop"

Réponse
 
LinkBack Outils de la discussion
Vieux 08/01/2008, 16h38   #1
Ernst Tanaka
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut dde "wait loop"

I have a question on DDE

I use the following command;

d = tk_call('dde', 'request', 'TOS', 'DESCRIPTION', x.opra)

it seems that the call doesnot always give data while I am sure data is
available.
Tested via a dde call in a spreadsheet.

Could it be that that my program is not waiting long enough for the DDE
response.

Appreciate any .

Ernst T
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 09/01/2008, 13h04   #2
Ernst Tanaka
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dde "wait loop"

Is there away to do dde calls in a async way and handle them with
callbacks?

I am stuck here, would appreciate any .

Thnks

Ernst T
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 10/01/2008, 04h12   #3
Ernst Tanaka
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dde "wait loop"

no response so far;

have check on event/callback but sofar nothing.
read MSFT documentation on DDE, no direct either.

Still hope some fellow Rubyist will give a hand.

Thks

Ernst
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 10/01/2008, 11h51   #4
Junkone
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dde "wait loop"

On Jan 9, 11:12pm, Ernst Tanaka <er...@tanakasite.com> wrote:
> no response so far;
>
> have check on event/callback but sofar nothing.
> read MSFT documentation on DDE, no direct either.
>
> Still hope some fellow Rubyist will give a hand.
>
> Thks
>
> Ernst
> --
> Posted viahttp://www.ruby-forum.com/.


i have been searching high and low on how to use dde with ruby and the
only post i have seen is yours. will keep looking.
seede
  Réponse avec citation
Vieux 14/01/2008, 01h35   #5
Ernst Tanaka
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dde "wait loop"

Junkone wrote:
> On Jan 9, 11:12�pm, Ernst Tanaka <er...@tanakasite.com> wrote:
>> --
>> Posted viahttp://www.ruby-forum.com/.

>
> i have been searching high and low on how to use dde with ruby and the
> only post i have seen is yours. will keep looking.
> seede



Anyone experience with DDE who would like to contribute to this post.
I am stuck here.
My program runs; sometime I get data; sometime I get the string "N/A".
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 18/01/2008, 17h00   #6
Ernst Tanaka
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Request for new gem (DDE)

A request for senior rubyist to write a DDE Gem.

If you check out VisualFoxPro you see a great set of command handling
every DDE situation.
Trust me; I have check the web -- it really seems Ruby doesnot have
anything close.

http://msdn2.microsoft.com/en-us/lib...s4(VS.80).aspx
DDE Functions.

It would be great if the gem could also handle callback from DDEadvise

TK has a limited set of DDE command implemented. Two disadvantages one
you have to load TK for just a limited use; two the Tk DDE
implementation is very limited.

I am not able to take up my own dare. I learned to program in 1980 on
Cics/Cobol and have learned ruby over the last months by trial and
error. I am on the edge of my ruby knowledge.

We have a long weekend coming up;

Thanks!

Ernst
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 18/01/2008, 18h01   #7
Junkone
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Request for new gem (DDE)

On Jan 18, 12:00pm, Ernst Tanaka <er...@tanakasite.com> wrote:
> A request for senior rubyist to write aDDEGem.
>
> If you check out VisualFoxPro you see a great set of command handling
> everyDDEsituation.
> Trust me; I have check the web -- it really seems Ruby doesnot have
> anything close.
>
> http://msdn2.microsoft.com/en-us/lib...pxDDEFunctions.
>
> It would be great if the gem could also handle callback from DDEadvise
>
> TK has a limited set ofDDEcommand implemented. Two disadvantages one
> you have to load TK for just a limited use; two the TkDDE
> implementation is very limited.
>
> I am not able to take up my own dare. I learned to program in 1980 on
> Cics/Cobol and have learned ruby over the last months by trial and
> error. I am on the edge of my ruby knowledge.
>
> We have a long weekend coming up;
>
> Thanks!
>
> Ernst
> --
> Posted viahttp://www.ruby-forum.com/.


I second that. I just dont know much ruby or dde mechanics to
contribute. I would appreciate if someone took this proj and guide.
seede
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h04.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,20555 seconds with 15 queries