<html>
<head>
<style>
p{margin-top:0;margin-bottom:0}
</style>
</head>
<body>
<table class="txc-wrapper" border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td class="txc-wrapper-td"><div class="txc-content-wrapper" style="color:#111;font-family:Apple SD Gothic Neo,Malgun Gothic,'맑은 고딕',sans-serif;font-size:10pt;line-height:1.5;"><p>Hi. Mr. Andrew</p>
<p><br></p>
<p>I try to use libopenslide-0.dll in c#</p>
<p><br></p>
<p>As I got the error "cannot find dll" in VS 2019 even if use DllImport like this.</p>
<p><br></p><div>unsafe class useDll</div><div> {</div><div> [DllImport("libopenslide.dll", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]</div><div> public static extern IntPtr Wopenslide_open([MarshalAs(UnmanagedType.LPStr)] string filename);</div><div> }</div><div><br></div><div>After put the dll in C:\Windows\System32, I tried again, but I got the same error.</div><div><br></div><div>Please advise what I should do.</div><div><br></div><div><br></div><div>Thank you.</div><p><br></p></div></td></tr></table>
</body>
</html>
<img src="https://confirm.mail.daum.net/confirmapi/v1/users/jhpark_lac%40hanmail%2Enet/cmails/20200723132312%2EixwE1vveTImsAPZ1zSWCBQ%40jhpark_lac%2Ehanmail%2Enet/recipients/openslide-users%40lists%2Eandrew%2Ecmu%2Eedu">