Skip to content

Can't fix it Unable to load DLL 'tdjson.dll' or one of its dependencies #164

Answered by ForNeVeR
Primus-max asked this question in Q&A
Discussion options

You must be logged in to vote

Normally, if you deploy tdjson.dll alongside your program, it all should work correctly.

Note, though, that Windows build of tdjson.dll deployed as a part of tdlib.native (which you may or may not use, this is your choice) may depend on Visual Studio C++ runtime, that may have to be installed separately (that's mentioned in the documentation).

For investigation of such cases, I recommend using Process Monitor: set it up to filter file activity of your process and look for failed file opening attempts. That will help to determine which DLLs it looks for, and at what paths. If there's a failed query for vcruntime*.dll, that means you have no required runtime version installed. If it fails t…

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@Primus-max
Comment options

@ForNeVeR
Comment options

Comment options

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

@Primus-max
Comment options

@ForNeVeR
Comment options

@Primus-max
Comment options

@ForNeVeR
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ForNeVeR
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants