Pegasus Multimedia and Imaging Suite里面有个例子:
X:\Program Files\PegasusSoftware\SuiteFacev20\VBLib\LibDemo.Vbp在LibDemo.frm当中有
RivetLib1.LibraryFile = mAppPath & "LibDemo.lib"
但是找不到.lib文件,如何进行转换生成.lib文件呢?
谢谢!

解决方案 »

  1.   

    我想这套工具当中应当有转成.Lib的文件,但是我找了半天也没有找到其它方面的工具不知道有没有将JPG文件转成.Lib文件的呢?
      

  2.   

    自身工具里面的帮助内容为:
    RivetLib Control
    Description The Rivet Library is designed as a loading point for any form or data required by another Rivet control. Using this control you can  bundle together the graphic and text files associated with an application into one physical library file. Objects within the file are stored in groups with each group having its own name. To optimize run-time loading performance an entire group can be loaded at once (see the Preload property). This greatly improves performance, for example, if the application is to be distributed on CD-ROM. This feature is demonstrated in the SAMP24 sample application.The RivetLib control supports three image formats. This is in contrast to using the FrameFile property of other controls which supports six image formats. The three types were chosen to optimize performance. They are:  uncompressed .BMP, .GIF, and .JPG. The RivetLib also supports three types of document files for the RivetText control. They are: straight ASCII (.TXT), rich text (.RTF), and the Rivet Bundle Format (.BND).  ASCII or RTF files can be converted to BND files to improve load time performance.The use of this library is not limited to Rivet controls however. When an object is loaded you get a handle to the object, which can be used anywhere.
      

  3.   

    自己搞定
    做法:
    1、建立一个文件文本性质的文件Build.BLD
    输入你的图片信息
    "组名Group","对象名Object","YourPictureFileName.jpg"
    ......
    ......2、运行RivetBld.exe,在X:\Program Files\PegasusSoftware\SuiteFacev20目录下
    然后点File===>Build===>选择刚上面Build.BLD文件===>选择生成的目标文件===>Build.lib3、即可生成了4、在VB中引用即可。