From 171f2fa1944ec9e12d54a7a29d110d844de3830a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 24 May 2023 00:31:21 +0400 Subject: Corrected the warnings --- content/blog/create-lib-file-from-dll.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/blog/create-lib-file-from-dll.md b/content/blog/create-lib-file-from-dll.md index 40c3d00..5f76a90 100644 --- a/content/blog/create-lib-file-from-dll.md +++ b/content/blog/create-lib-file-from-dll.md @@ -14,7 +14,7 @@ So here is my quick guide. Open the "Visual Studio Command Prompt", you find its shortcut in "_Start_" -> "_Programs_" -> "_Microsoft Visual Studio Tools_". Now run the `dumpbin` command to get a list of all exported functions of your dll: -```shell +```bash dumpbin /exports C:\\yourpath\\yourlib.dll ``` @@ -51,7 +51,7 @@ jinit_c_coef_controller Now from that definition file, we can finally create the `*.lib` file. We use the `lib` tool for this, so run this command in your "Visual Studio Command Prompt": -```shell +```bash lib /def:C:\\mypath\\mylib.def /OUT:C:\\mypath\\mylib.lib ``` -- cgit v1.2.3