Im really new to nsis and I can't find any example using that so as my last resort I've posted here.
Whenever I add the function directly to the code, because I dont know any other way, and I call it from the section I have it like this:
I always get an error on te CallbackFunction.Push "All Local Drives" ; Drive types used for the search. See "Drive Types".
Push $0
GetFunctionAddress $0 "CallbackFunction" ; Custom callback function name.
Exch $0
Call DetectDrives
Processed 1 file, writing output (x86-ansi):
Adding plug-ins initializing function... Done!
Error: resolving install function "CallbackFunction" in install section "" (0)
Note: uninstall functions must begin with "un.", and install functions must not
Error - aborting creation process
I don't know if Im doing anything wrong or its missing anything.
How do I fix this?
Note: Im trying to use this function to get the Driver Letter from a pendrive.
Thanks in advance
-Dxmega