| |

VerySource

 Forgot password?
 Register
Search
View: 639|Reply: 1

Static link path setting problem?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-14 15:30:01
| Show all posts |Read mode
Created a regular DLL, which called a third-party DLL (using static linking, plus put the DLL into). Now in a main program, the rule DLL I made is statically linked and the method it encapsulates is called. What path should these two DLLs be placed on? Or how to set the link path when connecting statically. I put the two DLLs directly in the directory of the executable file and reported an error.

"Now the program always reports that the third-party DLL is not found, so the program fails to start."
Reply

Use magic Report

0

Threads

70

Posts

42.00

Credits

Newbie

Rank: 1

Credits
42.00

 China

Post time: 2020-4-19 14:15:01
| Show all posts
Put a copy in the knowability file directory, because this path is used when executing directly

Put a copy in the source code path, because this path is used in the debug state
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list