<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">iMath wrote:<br>
</div>
<blockquote cite="mid:tencent_5809E0B16466001908E1E7C3@qq.com"
type="cite">
<div>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px;
vertical-align: baseline; clear: both; font-family: Arial,
'Liberation Sans', 'DejaVu Sans', sans-serif; line-height:
18px;">I want to build a cross-platform application ,I used a
windows API called <a moz-do-not-send="true"
href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb762232%28v=vs.85%29.aspx"
rel="nofollow" style="margin: 0px; padding: 0px; border:
0px; vertical-align: baseline; background-color:
transparent; color: rgb(74, 107, 130); text-decoration:
none; cursor: pointer;">SHOpenFolderAndSelectItems()</a>.
Although I found example called it by pywin32,but pywin32 is
not available on Linux , I don't want to call a Windows API on
linux,just don't want to make another code version for
Linux,so I wonder how to access it by ctypes? </p>
</div>
</blockquote>
<br>
Your problem is more fundamental than that. Your function is trying
to open a "File Explorer", but the whole concept of a File Explorer
is a Windows concept. The Mac has Finder, but there isn't a
standard file manager app for Linux. You will have to think about
what you are really trying to do on non-Windows systems.<br>
<pre class="moz-signature" cols="72">--
Tim Roberts, <a class="moz-txt-link-abbreviated" href="mailto:timr@probo.com">timr@probo.com</a>
Providenza & Boekelheide, Inc.
</pre>
</body>
</html>