#if EXE #exe addfile "$qm$\qmgrid.dll" 10 ;;add dll to exe (when making exe) if !GetModuleHandle("qmgrid.dll") ,str sg.expandpath("$temp$\qmgrid.dll") ,if(!ExeExtractFile(10 sg)) ret ;;extract dll from exe ,if(!LoadLibrary(sg)) ret ;;load explicitly #endif