- paused 1 min into the video - 3 mins research, found the guy who made pc's, Gary Kildall - Gratitude for hours! Your content is super informative and interesting!
@abdulqadir-jf8yv3 жыл бұрын
Bhai, you are the best teacher, and Co-incidentally I say this on teachers day.
@claudioabado33173 жыл бұрын
Wow! This is an ambitious series!!! Thank YOU!
@jake34762 жыл бұрын
Great explanation! Thank you for making quality content.
@dasubabutatichettu85883 жыл бұрын
Excellent explanation
@ramanjitkaur97213 жыл бұрын
Very well explained!!
@izlanvarivojlan4 жыл бұрын
Hello. I am goint to do a program which will write active object's name. For example if cursor goes to folder in Desktop program should write folder's name to any txt file.Please Help me.
@lookforfps3 жыл бұрын
Du bist der Beste
@john_hunter_3 жыл бұрын
So is the Win32 API what you would use when you want to alter content in other programs? For example the Nvidia control panel can alter video colour settings in every single application that plays videos.
@Genial1496 жыл бұрын
Thanks for the video. but i still didnt get what type of functions WIN32 API provides ? what is the function or functions name ? for example Graphic Function Hardware interface Function please answer my question. many thanks
@sangramkesariray6 жыл бұрын
Graphics functions are provided by GDI, GDI+, etc. All WinAPI passes through NTDLL.DLL before it jumps to the Kernel but not all of them are for Graphics. Graphic doesn't go through NTDLL.DLL and uses user32.dll, etc to jump into the kernel. Hence the Architecture of WinAPI and Graphics is little different. The complete reference is provided at MSDN API Index.
@rajeshwarpratap31175 жыл бұрын
Clear the win sheets in jharkhand
@deepeshjadhav22876 жыл бұрын
Hey I am looking for path of active window but code below gives me title of active window : #include #include #include std::string GetActiveWindowPath() { char text[1000]; HWND hwnd=GetForegroundWindow(); GetWindowText(hwnd,text,sizeof(text)); return text; } int main() { printf("hello world "); while(1) { std::cout
@sangramkesariray6 жыл бұрын
A window lives in-memory, a program that creates a window can have path not the window itself. Looking at the code, it doesn't appear that it'd produce the path of the running running program. You might want to tweak the code a bit. Hope this helps!
@deepeshjadhav22876 жыл бұрын
Exactly,the code I have mention above gives me the title of active window but I am looking for path of it. I used getCurentDirectoy() it gives current process path but I want path for any active window. do you know any function in api which give me my required output ??
@sangramkesariray6 жыл бұрын
You mean to say, the program should get the Path of all processes which has an active window, but not necessarily belonging to the current program. Say, if i've Chrome, Visual Studio and VLC running in my machine with their windows on the screen, then the program should get the path for them? I doubt how to approach this by listing the running threads of all processes. Probably you can look for the Shell APIs in Win32. I've not tried this myself. Hope this helps!
@deepeshjadhav22876 жыл бұрын
Right !... I have used getting thread id for current process and I get thread id for it but need something that converts that id into path anyway thanks for help.
@sangramkesariray6 жыл бұрын
Try this API - EnumWindows msdn.microsoft.com/en-us/library/windows/desktop/ms633497(v=vs.85).aspx