Programmatically get active connections in windows [closed] - c++

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I would like to get all active connections (similar to TCPView from sysinternals) on a windows machine, using WinAPI.
How can I do this using Winsock ?

Winsock does not provide any functionality to get a list of active connections.
The GetTcpTable(), GetTcpTable2(), GetTcp6Table, and GetTcp6Table2() functions of the IP Helper API provide the information that you are looking for.

Related

how to know how many device connectd to sqlserver remotly [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
hello i have a program linked with mysql server remotly
i want to know devices connected number ?
It's unlikely you can count devices, however there is a system table information_schema.processlist which shows MySQL server process list, you can count hosts there. See details here on required privileges and fields.

How to get the second active window in z order? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I am trying to create an MFC application(hidden application) for tracking usage of other applications.
I am using GetForgroundWindow() for getting the current active window but sometimes I get my own hidden application window.
How I can get the current active windows in z-order
Call GetWindow passing GW_HWNDNEXT.

How to get computer device manager information as text result in cpp code? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
How to get computer device manager information (in Windows (especially win 10)) as text result in cpp code?. In addition I don't want to use registry i my code.
You can get information of device manager using Windows Management Instrumentation(WMI) or by using Setup APIs. One example of Setup APIs for getting device manager information can be found in code project.

Facebook comment,like and share using android [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Hi i am using facebook integration in android..i want to share post , comment and like how to get comment id and how to integrate our android app?
you should find anything you need, for your first steps, at the developers page of facebook:
Getting Started
Documents

is there any function in wxwidgets to check pdf software is available or not [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am using wxwidgets 2.8.10 with c++ and I am using both windows xp and windows 7.
Is there any function to see if "pdf" software is available in my computer or not by using wxwidgets?
Presumably you want to know whether a PDF viewer is available in order to open a PDF document. And if this is the case, you should just try opening it and then handle the error.