AutoitScript » C++ / C / Win32
71 FOLLOWERS
AutoitScript is a place to discuss autoit help, support, tech, scripts, UDFs, OS deployment, windows cient, windows server and more. This category discusses sort programs, set up site for C, library functions, toolkit, and ask questions related to C programming.
AutoitScript » C++ / C / Win32
2M ago
Hi there,
im working right now on my DLL for my W32 AutoIt GUIDarkTheme UDF Project.
Sadly i dont get why there ist that Error when using DLLCall
AutoIt Test Code:
; Pointer for Hooked Functions
Global $PTR_OPENNCTHEMEDATA_ORIG
;*******************************************************************************
; ERROR HANDLER
;*******************************************************************************
Local $oMyError = ObjEvent("AutoIt.Error", "ErrFunc")
; This is a custom error handler
Func ErrFunc($oError)
Local $bHexNumber = Hex($oError.number, 8)
ConsoleWr ..read more
AutoitScript » C++ / C / Win32
2M ago
Hello everyone,
I am currently working on an implementation of Win32 Darkmode for Autoit.
Unfortunately I have reached my limits when translating. ?
It is about the following code:
void FixDarkScrollBar()
{
HMODULE hComctl = LoadLibraryExW(L"comctl32.dll", nullptr, LOAD_LIBRARY_SEARCH_SYSTEM32);
if (hComctl)
{
auto addr = FindDelayLoadThunkInModule(hComctl, "uxtheme.dll", 49); // OpenNcThemeData
if (addr)
{
DWORD oldProtect;
if (VirtualProtect(addr, sizeof(IMAGE_THUN ..read more
AutoitScript » C++ / C / Win32
3M ago
hi,
I made a software for managing dtmf tones.
For the moment the pc audio output is connected to an Arduino with an mt8870 module which decodes the tone and returns the correct value via serial.
I wanted to make sure not to use external hardware and so I tried with the bass.dll library to read the microphone input.
I can read the volume and interpret the data, but I haven't found a way to handle the dtmfs.
Searching the internet I found a project with source in Delphi and C++ with examples to import a library called DTMFScanner.dll (https://www.3delite.hu/Object ..read more
AutoitScript » C++ / C / Win32
5M ago
Hi all,
Please see this code.
Local $aCall = DllCall($__g_hGDIPDll, "int", "GdipLoadImageFromFile", "wstr", $sFileName, "handle*", 0)
In this code, how do I know the function name getting called ? Is it Bitmap::FromFile ..read more
AutoitScript » C++ / C / Win32
7M ago
I'm trying to get the Pixel search function to work. I'm getting access violation when accessing the point struct.  ..read more
AutoitScript » C++ / C / Win32
1y ago
Hi all,
I am using a dll file created in D programming language. One of my functions returns a wstring. I need to call that function from Autoit and get that string.
What should be the appropriate return type of that function and how to retrieve the string in autoit ? Thanks in advance ..read more
AutoitScript » C++ / C / Win32
1y ago
ConsoleWrite("starting" & @CRLF)
$hDLL = DllOpen("CredCreator.dll")
;~ ConsoleWrite("Error" & $hDLL & @error)
$Cred_Create = DllCall($hDLL,"ptr","cred_create","wstr","KEYTEST")
ConsoleWrite("$Cred_Create=" & $Cred_Create & " error=" & @error & @CRLF)
$Cred_Register = DllCall($hDLL,"int","cred_register","ptr", "mgr", "wstr","USERNAME", "wstr", "PASSWORD")
ConsoleWrite("$Cred_Register=" & $Cred_Register & " error=" & @error & @CRLF)
$cred_free = DllCall($hDLL,"none","cred_free","ptr", "mgr")
ConsoleWrite("cred_free=" & $Cred_Register & " e ..read more
AutoitScript » C++ / C / Win32
1y ago
hi everyone i am a newbie.
i am using c# add references and select AutoItX3.dll after that using AutoItX3Lib;
and call all function easly.
but now i want to use autoit with c++
i am adding #include "C:\Program Files (x86)\AutoIt3\AutoItX\AutoItX3_DLL.h" and saw AU3_ControlClick and all other functions in main function but useless.
Any tutorial for how can i use autoit with c++ ?
Thank for helping.
  ..read more
AutoitScript » C++ / C / Win32
2y ago
Hi all,
Please see this code.
Local $aCall = DllCall($__g_hGDIPDll, "int", "GdipLoadImageFromFile", "wstr", $sFileName, "handle*", 0)
In this code, how do I know the function name getting called ? Is it Bitmap::FromFile ..read more