Can I make a system call to QT from another application...to call
'mcActionShowMessageString' and get debugstr
On the pc side I use system calls to access stuff like:
System::Call "advapi32::GetUserName(t .r0, *i ${NSIS_MAX_STRLEN} r1)i.r2"
DetailPrint "User name - $0"
Maybe I can make a similar call to QT ?
Can I target QT by its PID [which I can get] and request for
'mcActionShowMessageString' to give my background app the debugstr ?
--------
This below is the awfully complicated work-around I would rather avoid.
Currently, I am using a server side php/msql to store what debugstr could
do locally.
With QueryListServer, QT sends GET variables to a php script that
inserts/replaces the below record in the database.
'Commands' Table in mysql db
Mac Address Commad Parameters
000d9368cf4a createTextfile happy,fun,ball
When a ListReceived is triggered with the correct QT list name , QT sends
out: http://127.0.0.1:8181 .
Using tcpvcon [PC] or lsop[ Mac] , the background application is
searching for any communication from QT on port 8181.
On PC, I call this every second or so from my background app:
tcpvcon -anc 828 | find /c "8181"
If the returned string is "1", then my background app queries the SAME
database to get the command/parameters that QT sent....
Then, my background app parses the string and executes commands.
-----------
For obvious reasons, this is a bit kludgy :( Lots of needless db queries
and extra steps.
I'm doing my homework :) Can someone throw me a bone ?
g
On Aug 9, 2005, at 8:37 PM, Eric Carlson wrote:
At 12:09 PM -0700 8/9/05, Graham Anderson wrote:
How is debugstr transmitted by QT ?
QuickTime doesn't do anything with the string, but it will pass the
string to the host application if it has requested a notification. Each
application can handle or ignore the message as it chooses.
Eric Carlson
QuickTime Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden
This email sent to email@hidden