12-06-2006
Quote:
Originally Posted by reborg
My main concern would be ( from the last time I had to work with windows ) is that is is very difficult to get that kind of information after the fact if the process does not itself open a window.
Difficult - yes.
Very difficult - probably.
If you want to go down this way, you should look at the toolhelp32 api or use the psapi library. There are a couple of other ways as well. See
Alex Fedotov's write up on the same.
Last edited by vino; 12-06-2006 at 11:03 AM..
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wrote a program to format data with awk. This file will goto a windows machine and loaded into a windows app. The vendor said adding a line feed would help, but it would work as is. I am already doing a /n, will putting on the /r give the windows person what he wants. Thanks. (5 Replies)
Discussion started by: benefactr
5 Replies
2. UNIX for Dummies Questions & Answers
Careful!!! This is a newbie question!
Hello Community
I'd like to develop a very simple application, on the one side (some windows pcs with a listener and sender) on the other side a linux server that does the same.
Any suggestions about doing that? telnet, smbclient?????
It must be... (3 Replies)
Discussion started by: ncatdesigner
3 Replies
3. UNIX for Dummies Questions & Answers
Strange one this...
One of our contacts switched FTP servers, a different IP and now using port 2121 instead of 21.
Changed the details in a Windows application using the username & password provided and it works no problem.
Tried to FTP through Unix and although I can connect to the... (2 Replies)
Discussion started by: macca74
2 Replies
4. Windows & DOS: Issues & Discussions
So I have been playing around with some code and thought I would tap
the vast Linux knowledge here.
My company has a bunch of servers running Linux on the Amazon cloud. I have
created a Windows application in C++ that acts like a remote desktop
to the Linux servers. When I run it it connects... (3 Replies)
Discussion started by: bobmanc
3 Replies
5. Windows & DOS: Issues & Discussions
I have a .NET application that remotely starts, stops, and gets status of Windows services and scheduled tasks. I would like to add the capability of starting, stopping, and getting status of remote AIX applications also. Based on some preliminary research, one option may be to use 3rd party .NET... (0 Replies)
Discussion started by: auser1
0 Replies
6. UNIX for Dummies Questions & Answers
Please, I have a professional application that run only over windows, but I have a Full Sun Fire 445 for that. Someone can sugest me about how to do? Wich S.O can be use. Thanks before hand.
Please read the forum rules again. Rule #9 should be in your focus. Thank you! (9 Replies)
Discussion started by: abelop
9 Replies
7. OS X (Apple)
hi,
i want to start developing an ios app that can be used on iphone and ipad. can anyone guide me how to start? i saw that it can be developed only on a mac system.. but i dont have a mac system. i have an ipad 4 and a laptop with windows os? can i use one of these to start developing ios app??... (4 Replies)
Discussion started by: Little
4 Replies
8. OS X (Apple)
I've searched a number of sites but thought I'd post it here. I'm want to a detect certain usb device (external camera) that is actively being used by an app on a mac.
My search has led me through looking at the system events log to see if there is a ProductID indicator logged. The device is... (2 Replies)
Discussion started by: dallas88
2 Replies
9. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT OPENSOLARIS
tk_mainwindow
Tk_MainWindow(3TK) Tk Library Procedures Tk_MainWindow(3TK)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_MainWindow, Tk_GetNumMainWindows - functions for querying main window information
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_MainWindow(interp)
int
Tk_GetNumMainWindows()
ARGUMENTS
Tcl_Interp *interp (in/out) Interpreter associated with the application.
_________________________________________________________________
DESCRIPTION
A main window is a special kind of toplevel window used as the outermost window in an application.
If interp is associated with a Tk application then Tk_MainWindow returns the application's main window. If there is no Tk application asso-
ciated with interp then Tk_MainWindow returns NULL and leaves an error message in interp->result.
Tk_GetNumMainWindows returns a count of the number of main windows currently open in the process.
KEYWORDS
application, main window
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 7.0 Tk_MainWindow(3TK)