Skip to content

Unable to get OpenTK.OpenAL to Detect openal32.dll within directory or embedded from openal-soft #1642

Answered by jvbsl
Mrcubix asked this question in Q&A
Discussion options

You must be logged in to vote

The configuration only works with mono, and therefore would only work with OpenTK 3.

For the newer OpenTK you could debug into

if (libraryName == AL.Lib || libraryName == ALC.Lib)

Where part of the resolving process should happen.

Apart from that should the nativel openal32.dll probably at the output folder in runtimes/win-x64/native/openal32.dll for the 64bit openal version and runtimes/win-x86/native/openal32.dll where these the locations you tried?.

Apart from that in general a BadImageFormat-Exception happens when you try to load a library of the wrong architecture(e.g. trying to load a ARM l…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@Mrcubix
Comment options

Comment options

You must be logged in to vote
5 replies
@Mrcubix
Comment options

@Mrcubix
Comment options

@jvbsl
Comment options

@Mrcubix
Comment options

@Mrcubix
Comment options

Answer selected by Mrcubix
Comment options

You must be logged in to vote
1 reply
@Mrcubix
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants