Hi everyone,
so like it's said in the title, I want to call a dll (C) with my addon.
I've found a way to do it using Alien lib, wich allows me to call win32 functions. It works but as soon as I try it with my addon, it doesn't work anymore.
It seems that the lua "require" doesn't work with addons.
Code:
require "alien"
local fw = alien.User32.FindWindowA
fw:types{ret="long",abi="stdcall","string","string"}
I know that wow's lua engine is "sandboxed" but is there a way to make it work ?
(sorry for my english and I hope I didn't post it in the wrong section)