## Recommended Posts

Hi AutoIt Scripters/Programmers. I have a question about MIME Tools for Notepad++:

I've recently found a UDF about Base64 in forum, but they can't decode\encode correctly some emojis , other UTFs and etc. so i decided to use mimeTools.dll of Notepad++ or main site

My problem is how to use this dll in AutoIt Language?

##### Share on other sites
• Colduction changed the title to Use mimeTools.dll of Notepad++

find in help F1 Dllcal is just a start , and if you post also an example in autoit  of  want you did do , all comnuty will be happy help you bye

##### Share on other sites
10 hours ago, faustf said:

find in help F1 Dllcal is just a start , and if you post also an example in autoit  of  want you did do , all comnuty will be happy help you bye

I know how to use dllcall function, but i don't know what this dll have and how to call it, every dll has a special parameters to call.

I didn't see any instructions and user guide for this dll on the internet.

##### Share on other sites

There is nothing useful in this dll. Hardly a few functions.  Useless...

“They did not know it was impossible so they did it” ― Mark Twain

Spoiler

##### Share on other sites
4 minutes ago, Nine said:

Hardly a few functions.  Useless...

But how notepad++ calls it for decode\encode Base64 and etc? it seems it should be useful

Edited by Colduction
##### Share on other sites
5 hours ago, Colduction said:

what this dll have and how to call it, every dll has a special parameters to call.

use dll viewer find in google is a tool for look inside

of dll

##### Share on other sites
5 hours ago, Colduction said:

r decode\encode Base64 a

try here

##### Share on other sites
19 hours ago, Colduction said:

But how notepad++ calls it for decode\encode Base64 and etc? it seems it should be useful

one of the best aproach

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * *
IE on Windows 11 for other useful stuff click the following button:

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt *

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
, be   and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2022-03-07

##### Share on other sites
14 hours ago, mLipok said:

one of the best aproach

Hi @mLipok, i know, but it's not useful for Emojis

The reason that i want to use this dll, is just Base64 Decoder\Encoder and URL Decoder\Encoder (both of them) and these are perfectly worked for Emojis and other unicodes.

##### Share on other sites
On 4/29/2020 at 10:34 AM, faustf said:

try here

I've already seen this thread, but it doesn't help for Decoding\Encoding emojis or other unicodes.

##### Share on other sites
On 4/29/2020 at 10:31 AM, faustf said:

use dll viewer

I've seen that, but it wasn't not clear, it seems that this dll's functions are unknown in DLL Viewer.

##### Share on other sites
1 hour ago, Colduction said:

I've seen that, but it wasn't not clear, it seems that this dll's functions are unknown in DLL Viewer.

On 4/28/2020 at 7:28 PM, Nine said:

There is nothing useful in this dll. Hardly a few functions.  Useless...

Not unknown, simply not public, you need to specify to Export when you create a dll, and they decided not to.

“They did not know it was impossible so they did it” ― Mark Twain

Spoiler

Hmmm

## Create an account

Register a new account

• ### Similar Content

• By DevMode
welcome
I need help dealing with a C++ DLL
Specify that I need help with how to use this function
struct libusb_device; typedef struct libusb_context libusb_context; ssize_t LIBUSB_CALL libusb_get_device_list(libusb_context *ctx,libusb_device ***list); My problem is how to deal with "libusb_device ***list"
my code
$libusb_device = DllStructCreate("PTR") Func libusb_init()$Var = DllCall($libusb0, "ptr", "libusb_init",'ptr',$_libusb_device_handle_Ptr) If @error Then Return False Return $Var[1] EndFunc Func libusb_get_device_list() MsgBox(0,VarGetType($_libusb_device_handle_Ptr),$_libusb_device_handle_Ptr)$Var = DllCall($libusb0, "int", "libusb_get_device_list","ptr",$_libusb_device_handle_Ptr,"ptr*",POINTER(POINTER($libusb_device)))$Error = @error If $Error Then Return False MsgBox(0,VarGetType($Var),$Error&@CRLF&$Var) _ArrayDisplay($Var) Return$Var[1] EndFunc
Thank you
iLibUSB.dll iLibUSB_32.dll libusb.h

• Hi all,
My programming knowledge is very basic.
I have an old script that creates shares and assign permissions. It normally registers SetAcl.ocx if necessary and creates an object to assign permissions.
The command that registers SetAcl was apparently working fine under Windows 7 but is not working under Windows 10.
RunWait("regsvr32.exe path\to\setacl.ocx /s", "", @SW_HIDE) As I'm logged in as admin, I changed this command to :
RunAsWait(@UserName, "", "", 0, "regsvr32.exe path\to\setacl.ocx /s", "", @SW_HIDE) It seems to terminate correctly but the script still doesn't work as expected.
To check that, I've created that small script :
Local $objSetAcl = ObjCreate("SETACL.SetACLCtrl.1") If IsObj($objSetAcl) Then ConsoleWrite("Object successfully created." & @CRLF) Else ConsoleWrite("Object not created. Registering SetAcl.ocx" & @CRLF) Local $result = RunAsWait(@UserName, "", "", 0, "regsvr32.exe path\to\setacl.ocx /s", "", @SW_HIDE); Use of my admin username to elevate CMD ConsoleWrite("Return code : " &$result & @CRLF) ConsoleWrite("Creating object" & @CRLF) $objSetAcl = ObjCreate("SETACL.SetACLCtrl.1") If IsObj($objSetAcl) Then ConsoleWrite("Object successfully created." & @CRLF) Else ConsoleWrite("Object creation failed." & @CRLF) EndIf EndIf It tries to register SetAcl.ocx, return code 0 seems to be fine but still can't use SetAcl.
But if I go to CMD as admin, run the regsvr32 command and restart my script, it can create the object without issue.
I know my poor knowledge makes me miss something. Anyone can help me figure this out ?

• Dear members of the forum,
I'm working on a project in which I have to use Image recognition technique.
Due to client restrictions, I couldn't use AutoIt for this project.
Is there a way to use this DLL "ImageSearchDLL.dll" (which is used to do image recognition steps in AutoIt) in VB.Net to achieve the same result?
I have used this DLL few years before and got good results. If there is a latest version of this DLL and if you can share it, that will be helpful too.
Any guidance is deeply appreciated.

• Good morning Forums
In these days, I am working on a project that involved me to use some Windows APIs to obtain some information about Terminal Servers.
I'm doing this using wtsapi32.dll in a VBA Project, but, the lack of knowledge about few things threated in the articles make this quite difficult to
implement and understand at the same time.
The most difficult thing I'm facing is "translating" C/C++ functions or struct in VBA when pointers are used, or pointers of pointers, and so on.
Since VBA seems to not have a pointer type, to make those functions work I need to implement other functions taken from other DLLs, and this confuses me a lot.
For example, starting from this code, I splitted all the functions and all the definitions to understand why they are there, and why I need to use them.
At the end, I've found out that the code I was going to implement starting from the functions provided in the Microsoft Docs won't be ever be able to work without some supplementary functions which are not mentioned anywhere.
So, I was wondering if someone would please point me out to a good and practical exaplanation about pointers (in general) or specifically for VBA, because I need to use them quite often in these days, and I'd like to understand what I am doing.

Best Regards and Stay at home 🏡

• All my scripts were working fine and now I am getting this error.  How do I resolve it?  Which folder(s) do the DLLs need to be in?
×

• Wiki

• Back

• #### Beta

• Git
• FAQ
×
• Create New...