TIdentifier =array[0..15]ofChar; TFileName =array[0..259]ofChar; TMemoText =array[0..1023]ofWideChar; With extended syntax enabled ({$X+}), you can assign a string constant to a statically allocated zero-based character array. (Dynamic arrays won’t work for this purpose.) If you...
string fileName = debugDataReader.ReadASCIINullTerminated();varguidHex = guid.ToString("N"); string ageHex = age.ToString("X"); string version = guidHex + ageHex; PEFileDebugInformation information = new PEFileDebugInformation(); information.Signature = guid; information.Age...
SmallString<16> FileNameStorage; StringRef FileNameRef = FileName.toNullTerminatedStringRef(FileNameStorage);constchar*constCommandLine[] = {"clang-tool","-fsyntax-only", FileNameRef.data() };FileManagerFiles((FileSystemOptions()));ToolInvocationInvocation(std::vector<std::string>( CommandLine...
Then you won't have users swearing at you in ten years time because you hard coded some arbitrary maximum length for a filename or similar. Translate 0 Kudos Copy link Reply Community support is provided Monday to Friday. Other contact methods are available here. Intel does not verify all...
I didn't see any errors in that log, however I do see the error appearing in the most recently modified file in the directory. (It doesn't meet the filename pattern that you specified.) 20190521_163010_15584562101620_VSCode.log Yes, all of the notifications still appear. The "Agent term...
fileNum++; writer.Write(fileNum);// File number (4)writer.WriteNullTerminatedString(file.ToLowerInvariant());// File name (all lower case!) (n)writer.Write(f.Size);// File size (8) unsigned longwriter.Write(f.CRC);// File CRC (4) long long} ...