home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,075 of 2,978   
   Femme Verbeek to eljainc   
   Re: Communication between Borland Pascal   
   10 Mar 06 17:13:46   
   
   From: fv@nospam.tcenl.com   
      
   eljainc schreef:   
   > Hello,   
   >   
   > This question has been asked before several times, however I have not   
   > been able to figure it out. Also,I realize that this group is for   
   > Borland Pascal for DOS and not Delphi, but half of what I'm trying to   
   > do originates from Borland Pascal.   
   >   
   >   
   > I have a DOS Real mode program written with Borland Pascal 7. Running   
   > concurrently is a Windows application (not a console app) written with   
   > Delphi Professional 5. The Delphi program is waiting for an event from   
   > the DOS program, but it needs to monitor it very often (almost real   
   > time). I tried file based I/O trapped in a loop but the CPU utilization   
   > on the Delphi application becomes close to 100%. My Delphi program   
   > basically has the structure like the following:   
   >   
      
   A BP program can start any 32 bit windows program simply with exec(....)   
   If you know how to do it between two windows programs, a very simple   
   method would be to let the BP application start a tiny 32 bit   
   consolemode progam at the moment the event should occur. The 32 bit   
   program creates the event for the dos program e.g. by putting a message   
   on the windows clipboard or in shared memory.   
      
   -- Femme   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca