Owen
Owen
CC#
Created by Owen on 12/21/2024 in #help
Issue referencing a library within a cloned GitHub project
Issue resolved. My dumbass didn't have c++ build tools installed for Visual Studios. Thanks for witnessing folks.
8 replies
CC#
Created by Owen on 12/21/2024 in #help
Issue referencing a library within a cloned GitHub project
however. i'm still left with this log file when building the library. any help would be appreciated.
8 replies
CC#
Created by Owen on 12/21/2024 in #help
Issue referencing a library within a cloned GitHub project
No description
8 replies
CC#
Created by Owen on 12/21/2024 in #help
Issue referencing a library within a cloned GitHub project
No description
8 replies
CC#
Created by Owen on 12/21/2024 in #help
Issue referencing a library within a cloned GitHub project
8 replies
CC#
Created by Owen on 12/21/2024 in #help
Issue referencing a library within a cloned GitHub project
I just found an option to right click "DirectXTex" within the solution explorer and it had a "Build" option, upon building it seemed like nothing had happened, however a .log file was dropped in "gta-toolkit\Libraries\DirectXTex\Debug" - I have attached the contents here and will be researching it now. I'm pretty much live solving my issue right now, but posting my progress here incase I take a wrong turn and someone notices and can help me :kekw:
8 replies
CC#
Created by Owen on 12/21/2024 in #help
Issue referencing a library within a cloned GitHub project
No description
8 replies
CC#
Created by Cience on 7/9/2023 in #help
✅ Detect holding mouse from in and outside the form
40 replies
CC#
Created by Cience on 7/9/2023 in #help
✅ Detect holding mouse from in and outside the form
40 replies
CC#
Created by Cience on 7/9/2023 in #help
✅ Detect holding mouse from in and outside the form
I recommend H.Hooks for global hooks. I haven't personally used it for mouse hooks, but it could also be worth a look at.
40 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
Thank you others also, appreciate the help greatly.
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
Thank you very much!
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
Sounds like essentially what I have written above - but done correctly haha. I will look into it now.
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
This does look good - thank you muchly. I'm pretty happy using low level hooks here as it seems to work, just needs solid implementation. I'm going to save the above code snippet though, and if I encounter any issues - i'll be switching over.
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
Sounds correct, I will make this change now.
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
I'm not yet familiar with
IDisposable
IDisposable
- so I wasn't able to fully put your above recommendation to practice. Maybe I will do some research if you think an alternative method involving this would be better.
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
What are your thoughts on this implementation?
using GTAToolkit.Extensions;
using H.Hooks;

namespace GTAToolkit.Hotkeys
{
public class CreateHotkeyEvent
{
public static LowLevelKeyboardHook keyboardHook = new LowLevelKeyboardHook();
public static void Do()
{
keyboardHook.Down += (_, args) =>
{
if (args.Keys.Are(Key.Shift, Key.D0))
{
// Shows/hides window via ')' hotkey
ConsoleExtensions.ShowHideWindow();
}
};
keyboardHook.Start();
}
}
}
using GTAToolkit.Extensions;
using H.Hooks;

namespace GTAToolkit.Hotkeys
{
public class CreateHotkeyEvent
{
public static LowLevelKeyboardHook keyboardHook = new LowLevelKeyboardHook();
public static void Do()
{
keyboardHook.Down += (_, args) =>
{
if (args.Keys.Are(Key.Shift, Key.D0))
{
// Shows/hides window via ')' hotkey
ConsoleExtensions.ShowHideWindow();
}
};
keyboardHook.Start();
}
}
}
I then have another method to detect console closing which will Dispose the public keyboardHook.
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
It doesn’t touch or interact with the game in any way. It is simply a tool to simplify file generation, and other things required in FiveM development
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
Program is completely external. It does nothing with the live game. Simply creates its own files that can be later used within fivem
48 replies
CC#
Created by Owen on 4/20/2023 in #help
❔ Issue with GlobalMouseKeyHook / Global Hotkeys.
Totally agree - was just my way to test. I will look into a clean implementation now
48 replies