{"id":100025,"date":"2018-10-22T07:00:00","date_gmt":"2018-10-22T21:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/?p=100025"},"modified":"2019-12-21T08:10:38","modified_gmt":"2019-12-21T16:10:38","slug":"20181022-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20181022-00\/?p=100025","title":{"rendered":"Why does the Entry Point Not Found error dialog sometimes not include the name of the missing entry point?"},"content":{"rendered":"<p>A customer observed that sometimes the Entry Point Not Found error dialog does not include the name of the missing entry point.<\/p>\n<p>Usually, it looks like this:<\/p>\n<div style=\"width: 30pc; border: solid 1px #afcbe8; font-size: 10pt; font-family: MS Sans Serif, sans-serif;\">\n<div style=\"text-align: center; background-color: #afcbe8; padding: 1ex; font-size: 14pt;\">Contoso.exe &#8211; Entry Point Not Found<\/div>\n<table style=\"border: solid 1px #95adc5;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"font-size: 40pt;\" valign=\"middle\">\u2297<\/td>\n<td style=\"padding: 0px 10px; background-color: white;\">The procedure entry point WidgetStart could not be located in the dynamic link library widget.dll.<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<div style=\"padding: 2ex; display: flex; justify-content: flex-end; background-color: #f0f0f0;\">\n<div style=\"border: solid 1px #3399ff; padding-top: 1ex; text-align: center; width: 8pc; height: 2.5em;\">OK<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>But sometimes it looks like this:<\/p>\n<div style=\"width: 30pc; border: solid 1px #afcbe8; font-size: 10pt; font-family: MS Sans Serif, sans-serif;\">\n<div style=\"text-align: center; background-color: #afcbe8; padding: 1ex; font-size: 14pt;\">Contoso.exe &#8211; Entry Point Not Found<\/div>\n<table style=\"border: solid 1px #95adc5;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"font-size: 40pt;\" valign=\"middle\">\u2297<\/td>\n<td style=\"padding: 0px 10px; background-color: white;\">The procedure entry point\u00a0 could not be located in the dynamic link library widget.dll.<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<div style=\"padding: 2ex; display: flex; justify-content: flex-end; background-color: #f0f0f0;\">\n<div style=\"border: solid 1px #3399ff; padding-top: 1ex; text-align: center; width: 8pc; height: 2.5em;\">OK<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Why does the error message sometimes leave out the name of the missing entry point?<\/p>\n<p>If the entry point name is longer than 128 characters, then it is omitted from the error message. The most common reason for having a very long function name is that you exported decorated C++ functions, because C++ function decoration can result in very long names.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because the name is too long.<\/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":[25],"class_list":["post-100025","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>Because the name is too long.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/100025","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=100025"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/100025\/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=100025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=100025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=100025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}