{"id":10093,"date":"2011-07-21T07:00:00","date_gmt":"2011-07-21T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2011\/07\/21\/why-is-secur32-dll-called-secur32-dll-and-not-secure32-dll\/"},"modified":"2011-07-21T07:00:00","modified_gmt":"2011-07-21T07:00:00","slug":"why-is-secur32-dll-called-secur32-dll-and-not-secure32-dll","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20110721-00\/?p=10093","title":{"rendered":"Why is secur32.dll called secur32.dll and not secure32.dll?"},"content":{"rendered":"<p>Many years ago, in a discussion of <a href=\"http:\/\/blogs.msdn.com\/oldnewthing\/archive\/2004\/07\/02\/171769.aspx\"> why you shouldn&#8217;t name your DLL &#8220;security.dll&#8221;<\/a>, I dug a bit into the history behind the DLL. Here are some other useless tidbits about that file.\n Originally, there were two DLLs called <code>security.dll<\/code>. One was the 32-bit version and one was the 16-bit version. They could coexist because the 32-bit version was in the <code>system32<\/code> directory and the 16-bit version was in the <code>system<\/code> directory.\n And then Windows&nbsp;95 showed up and screwed up everything.\n Windows&nbsp;95 did not have separate <code>system32<\/code> and <code>system<\/code> directories. All the system files, both 16-bit and 32-bit, were lumped together in a single <code>system<\/code> directory. When the Security Support Provider Interface was ported to Windows&nbsp;95, this created a problem, for it would require two files in the same directory to have the same name. Since the 16-bit version had seniority (because your Windows&nbsp;95 installation may have been an upgrade install over Windows&nbsp;3.1, which would have been the 16-bit version), it was the 32-bit version that had to be renamed.\n Okay, so why <code>secur32.dll<\/code>? Well, <code>security32.dll<\/code> was too long, since it exceeded the classic 8.3 limit, and Windows&nbsp;NT supported being run on FAT volumes (which necessarily did not support long file names, since long file names on FAT didn&#8217;t exist until Windows&nbsp;95). Okay, but why <code>secur32.dll<\/code> instead of <code>secure32.dll<\/code>, which still fits inside the 8.3 constraints?<\/p>\n<p> Nobody knows for sure any more; the person who chose the name left Microsoft a long time ago. Perhaps because <code>secur32.dll<\/code> looked better than <code>securi32.dll<\/code>. Maybe he couldn&#8217;t count. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many years ago, in a discussion of why you shouldn&#8217;t name your DLL &#8220;security.dll&#8221;, I dug a bit into the history behind the DLL. Here are some other useless tidbits about that file. Originally, there were two DLLs called security.dll. One was the 32-bit version and one was the 16-bit version. They could coexist because [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2],"class_list":["post-10093","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history"],"acf":[],"blog_post_summary":"<p>Many years ago, in a discussion of why you shouldn&#8217;t name your DLL &#8220;security.dll&#8221;, I dug a bit into the history behind the DLL. Here are some other useless tidbits about that file. Originally, there were two DLLs called security.dll. One was the 32-bit version and one was the 16-bit version. They could coexist because [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/10093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=10093"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/10093\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=10093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=10093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=10093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}