i'm trying to get a new code to work please help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

i'm trying to get a new code to work please help

I'm trying to make a keyboard for my calculator but i cant get the code right here is my code: https://code.sololearn.com/c7z0jUFBEgrV this is the line that doesn't work: user32 = ctypes.WinDLL('user32', use_last_error=True)

10th Sep 2021, 3:30 PM
Derek Yackley
Derek Yackley - avatar
1 Answer
0
Derek are you trying to code this on Sololean? Just I doubt WinDLL would work here, with it not being a Windows OS. ** Just tested this with: from ctypes import * windll.kernel32.GetModuleHandle(0) Which as expected didn’t run.
10th Sep 2021, 6:53 PM
DavX
DavX - avatar