Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing DLL paths (fix #1) #2

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Allow passing DLL paths (fix #1) #2

merged 1 commit into from
Oct 7, 2022

Conversation

simsor
Copy link
Member

@simsor simsor commented Oct 3, 2022

This PR adds two parameters to ReplayEngine::ReplayEngine(), which represent the path to the TTDReplay.dll and TTDReplayCPU.dll libraries. This way, we can load the libraries even if they are not in the same directory as the executable using the bindings.

This PR also explicitly loads TTDReplayCPU.dll while setting up the engine. Even if we don't directly use it, TTDReplay.dll requires it to be loaded to function.

@simsor
Copy link
Member Author

simsor commented Oct 7, 2022

Note: this PR adds the arguments with default values that mirror the previous definition, so this change does not modify the way existing applications instatiate a ReplayEngine

@simsor simsor merged commit 1578ba6 into master Oct 7, 2022
@simsor simsor deleted the issue_1 branch October 7, 2022 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant