Menu

D6 Installation, Examples

Help
2003-12-18
2003-12-19
  • Jeff Wormsley

    Jeff Wormsley - 2003-12-18

    Trying to install in D6, I get an assertion in the file pfgUserData line 326 which prevents installation.  It seems to have something to do with userdata.dll.  Where does this need to be?  I can turn assertion checking off and build the package and install.

    In the examples, I cannot compile SyncExample because it uses third party database and query components.  Can the examples be adjusted to work with normal delphi components?

     
    • Paul Gilbert

      Paul Gilbert - 2003-12-19

      pfgUserData.pas line 326 is the assertion for the method UmGetLibVersion in Userdata.dll. The method itself isn't used by the core library but rather, like many of the other methods, defined on the off-chance that someone wants to use it. It's fairly worrying if it's not present in the DLL though - what version of the HotSync API are you running on your computer. It might be a very old version that didn't used to have this method; I'd like to know though - if it's a method that's only recently be included, I'll need to provide some alternative than a simple assertion - perhaps defaulting to a dummy method if the method can't be found.

      As for the SyncExample project, that's the only one that relies on third party components; mostly because it demonstrates the synchronisation component, which is the one of the components that wasn't written by myself. All the other examples should compile fine. It should be possible to adjust the example to work with the existing components, though I don't have the time myself to do it. If you can manage it though, let me know, and I'll add the modified version to the example set.

      Regards,

      Paul Gilbert.

       
    • Jeff Wormsley

      Jeff Wormsley - 2003-12-19

      Palm Desktop 3.1.1 (came with my m100)
      userdata.dll in C:\Program Files\Palm is 3.5.1.0
      userdata.dll in D:\Palm\CDK403\Common\Bin is 4.0.0.1. 
      I tried copying the latter into the conduit directory, but this didn't help.

      I've tried the Address book example.  It compiled and ran the first time.  I made a slight changed and recompiled, but didn't unregister it.  Big mistake, apparently, since it would no longer unregister with rgsvr32.  I had to use conduit manager to get rid of it.  Now, whenever I try to re-register it with regsvr32, I get an application error "The exception unknown software exception (0x0eedfade) occurred in the application at location 0x7c59ba9d." followed by "Runtime error 217 at 0070EF30" followed by "LoadLibrary("D:\DELPHI\APPS\D6\Conduits\AddressExample\Addressconduit.dll") failed - A dynamic link library (DLL) initialization routine failed."  I can't seem to get rid of this, no matter what I try.

      So, I'm kind of stuck.

       
    • Jeff Wormsley

      Jeff Wormsley - 2003-12-19

      Followup...

      Assertions were on in the AddressConduit project.  Turned them off, and it allows the regsvr32 to register the conduit.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.