01 Win32 API - Introduction

  Рет қаралды 27,014

Sangram Kesari Ray

Sangram Kesari Ray

Күн бұрын

Пікірлер: 18
@danielketcheson1965
@danielketcheson1965 2 жыл бұрын
- 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-jf8yv
@abdulqadir-jf8yv 3 жыл бұрын
Bhai, you are the best teacher, and Co-incidentally I say this on teachers day.
@claudioabado3317
@claudioabado3317 3 жыл бұрын
Wow! This is an ambitious series!!! Thank YOU!
@jake3476
@jake3476 2 жыл бұрын
Great explanation! Thank you for making quality content.
@dasubabutatichettu8588
@dasubabutatichettu8588 3 жыл бұрын
Excellent explanation
@ramanjitkaur9721
@ramanjitkaur9721 3 жыл бұрын
Very well explained!!
@izlanvarivojlan
@izlanvarivojlan 4 жыл бұрын
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.
@lookforfps
@lookforfps 3 жыл бұрын
Du bist der Beste
@john_hunter_
@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.
@Genial149
@Genial149 6 жыл бұрын
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
@sangramkesariray
@sangramkesariray 6 жыл бұрын
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.
@rajeshwarpratap3117
@rajeshwarpratap3117 5 жыл бұрын
Clear the win sheets in jharkhand
@deepeshjadhav2287
@deepeshjadhav2287 6 жыл бұрын
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
@sangramkesariray
@sangramkesariray 6 жыл бұрын
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!
@deepeshjadhav2287
@deepeshjadhav2287 6 жыл бұрын
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 ??
@sangramkesariray
@sangramkesariray 6 жыл бұрын
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!
@deepeshjadhav2287
@deepeshjadhav2287 6 жыл бұрын
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.
@sangramkesariray
@sangramkesariray 6 жыл бұрын
Try this API - EnumWindows msdn.microsoft.com/en-us/library/windows/desktop/ms633497(v=vs.85).aspx
Windows Native API - Roger Orr [ACCU 2019]
1:24:27
ACCU Conference
Рет қаралды 17 М.
Creating a Window using C++ and Win32 | Tutorial
23:10
Aerideus
Рет қаралды 97 М.
Жездуха 42-серия
29:26
Million Show
Рет қаралды 2,6 МЛН
02 Win32 API - Unicode
11:02
Sangram Kesari Ray
Рет қаралды 2,2 М.
Как устроен PYTHON
37:44
про АйТи | IT Pro
Рет қаралды 31 М.
What is the Windows API?  What is Windows.h?
5:35
Guided Hacking
Рет қаралды 192 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
WIN API for Game Developers, day 0, introduction
4:39
Low Level Game Dev
Рет қаралды 27 М.
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 4,3 МЛН
EP0002 - Win32 Basics - Making a video game from scratch in C
1:12:40
Comparing C to machine language
10:02
Ben Eater
Рет қаралды 5 МЛН