From f8cb81ec59d1497dc80bdb1f4a69d86ec17b6046 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 26 May 2018 06:48:14 -0400 Subject: [PATCH] update readme --- README.md | 4 ++-- vnr/extensions/Extensions.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 41fe988..2726b16 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ITHVNR +# NextHooker @@ -12,7 +12,7 @@ Basically, GUI text hooker based on [Stomp](http://www.hongfire.com/forum/showth See my [Example Extension project](https://github.com/Artikash/ExampleExtension) to see how to build an extension. -To use an extension, simply rename the extension dll file to ```{NUMBER}_nextvnr_extension.dll``` and copy into the NextVNR folder. +To use an extension, simply rename the extension dll file to ```{NUMBER}_nexthooker_extension.dll``` and copy into the NextVNR folder. Extensions are called in order by the number they are prefixed with. diff --git a/vnr/extensions/Extensions.cpp b/vnr/extensions/Extensions.cpp index ae5a9e2..222fc2b 100644 --- a/vnr/extensions/Extensions.cpp +++ b/vnr/extensions/Extensions.cpp @@ -21,7 +21,7 @@ void LoadExtensions() } else { - if (wcsstr(fileData.cFileName, L"_nextvnr_extension.dll")) + if (wcsstr(fileData.cFileName, L"_nexthooker_extension.dll")) { extensionFunctions[wcstoul(fileData.cFileName, nullptr, 10)] = (ExtensionFunction)GetProcAddress(LoadLibraryW(fileData.cFileName), "OnSentence"); }