德尔福错误:I / O错误998

时间:2017-01-29 13:10:47

标签: file delphi dll save record

我是delphi和编程的新手。我有一个问题,当我编译并运行以下DLL程序时,我得到一个I / O错误998.你能指出我做错的同时对我的代码进行尽可能少的更改吗?据我所知,我处理文件的方式一定是个问题。

这个过程的想法是使用DLL从VCL应用程序接受数据,将其保存到记录,然后将记录保存到.dat文件。

<html style="margin: 0; padding: 0; background-color: pink;">
<body style="margin: 0; padding: 0;">
<div style="
    background: url('https://f4.bcbits.com/img/a0372226097_10.jpg')no-repeat center center;
    background-attachment: fixed;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;    
    position: fixed;
    width: 100%;
    height: 100%;
"></div>
</body>
</html>

对不起外来变量名。

1 个答案:

答案 0 :(得分:1)

我不清楚为什么你使用指针到记录(第一个^),当你可以轻松地使用记录本身时。

您正在取消引用此处的单位指针

   Read(BazaDanych, first^);
相关问题