So I went to community service this morning
And
My dad showed up to community serviceI went to meals for the elderly
He mowed
So we didn't work together
But he asked if I needed a ride home
I said yes
Then in the vehicle he asked if I wanted to get something to eat
The two of us went to a steakhouse
I ordered a 16oz
Felt so good eating it
The salad the chips and hot sauce
The fries the coca cola
It was so good
I love my dad
I worked on my new code from 11-4
Then from 4:30-7
Then from around 12:20-4:00
I can list processes and select a process
I can bring a pid to the front
I can find pol.exe pid in several different ways
My issue is finding a way to define or store the pid from one of the methods
To then bring to the front
Obviously pol.exe pid changes every launch
In a dream world I would pick the police.exe from a list of all running .exes
Store the pid by defining it
Then use the definition to run code that brings to front
Why is this important when I already know how to do this(since crafter already does it)
Mostly for redundancy
To learn more ways to do the same thing
I haven't done hardly any work on getting the API.dll working
C++ c# .net and converted to Python
It's all too overwhelming
I'm thinking the first thing I need is to attach to an instance
Then I need to find a way to run functions from the dll
Ctypes gives me error after error on the two lines below
mylib.my_function.argtypes = [ctypes.c_int, ctypes.c_char_p]
mylib.my_function.restype = ctypes.c_int
That's where ctypes hits a brick wall
My function is supposed to be a function from the API.dll
The dll needs to be loaded and available to use for functions
The pol.exe needs to be attached
The code to runs the functions needs to work
I just don't know
First things first
The .dll needs to be loaded
The .exe needs to be attached
The functions code needs to make sense
The output when running the functions needs to be in the code
And honestly that's about it
It's just wrapping that all together
To get the results
Something as simple as pressing a button in a .exe to display the current time in the .exe
Or an exe that can tell which fish you have on the line
I got sending input to FFXI that was pretty easy
Now I want to read data from FFXI and display in a GUI
It'll happen eventually if I keep at it like this
I don't really have anything else that keeps me as focused
It's fun
It's not a bad way to spend my time
No comments:
Post a Comment