aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-05-23 23:31:21 +0300
committerValentin Popov <valentin@popov.link>2023-05-23 23:31:21 +0300
commit171f2fa1944ec9e12d54a7a29d110d844de3830a (patch)
treeb5d573d60026ff7defadd3f9273d84000d8b1fef
parent7298ade31cac0f6690a00369101e77797430dca9 (diff)
downloadpopov.link-171f2fa1944ec9e12d54a7a29d110d844de3830a.tar.xz
popov.link-171f2fa1944ec9e12d54a7a29d110d844de3830a.zip
Corrected the warnings
-rw-r--r--content/blog/create-lib-file-from-dll.md4
1 files 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
```