Try to use Winapi::findFirstFile running on server
问题 I have a problem trying to run Winapi::findFirstFile running on server. I havve already tried copying the method on the class WinapiServer, and changing some lines, like this: server static container findFirstFile(str filename) { InteropPermission interopPerm; Binary data; DLL _winApiDLL; DLLFunction _findFirstFile; ; interopPerm = new InteropPermission(InteropKind::DllInterop); interopPerm.assert(); data = new Binary(592); // size of WIN32_FIND_DATA when sizeof(TCHAR)==2 _winApiDLL = new DLL