Purebasic的data果然强大,省去操作rc文件的许多麻烦。 代码如下: s.s = PeekS(?text) OpenFile(0,"qq.txt") WriteStringN(0,s) CloseFile(0) DataSection text: IncludeBinary "q.txt" EndDataSection 上面这一段代码是我用来学习使用data包含文件把那个释放的。下面这一段把上面代码生成的文件include了。 OpenFile(0,"testf.exe") WriteData(0,?extfile,173056) CloseFile(0) DataSection extfile: IncludeBinary "test.exe" EndDataSection