I've deployed a little application. On my computer is works fine, but
when I try to start my application on a computer, where Dolphin is not installed, I get the message: DolphinSureCrypto(16r7E: The modul was not found). But after the message it will work without any problems. What does it mean? How can I prevent it? Thanks charly |
charly
> I've deployed a little application. On my computer is works fine, but when > I try to start my application on a computer, where Dolphin is not > installed, I get the message: DolphinSureCrypto(16r7E: The modul was not > found). But after the message it will work without any problems. > What does it mean? How can I prevent it? There was a recent thread about this which I've copied below. This should answer your question "What does it mean" but we will need a bit more information about your application, and how you are deploying it, if it doesn't answer the "How can I prevent it" bit. ==+==+==+ From: kuo Sent: 09:22:00, 24 September 2004 Subject: Win32Error when executinng deployed progarm. Hi, I deployed my progrm on my WinXP platform. It ran ok in the same computers, but I noticed that whenever I ran it in another computer with the same OS of WinXP professional, service pack 1 but without DolphinXP installed, an error message always appeared up before the shell shown, It is with the title: 'Win32Error' saying that DolphinSureCrypto'(167E: cann't find te module.)' Did anyone know what's going on ? Best regards, Tk Kuo www.tkneuro.com ==+==+==+ From: Yar Hwee Boon Sent: 09:27:00, 24 September 2004 Subject: Re: Win32Error when executinng deployed progarm. On Fri, 24 Sep 2004 17:22:22 +0800, kuo <[hidden email]> wrote: > It is with the title: 'Win32Error' > saying that DolphinSureCrypto'(167E: cann't find te module.)' > > Did anyone know what's going on ? Probably missing DolphinSureCrypto.dll? -- Regards HweeBoon MotionObj ==+==+==+ From: Chris Uppal Sent: 10:22:00, 24 September 2004 Subject: Re: Win32Error when executinng deployed progarm. kuo wrote: > It is with the title: 'Win32Error' > saying that DolphinSureCrypto'(167E: cann't find te module.)' > > Did anyone know what's going on ? The SecureHashAlgorithm class, which is used in various places, uses the DolphinSureCrypto.DLL to do its computations. I don't /think/ that code is bound into a ToGo application, so you have to include the DLL separately with your application's distribution. BTW, does anyone know if it's possible to include a DLL as a Window's resource as part of a .exe, and load that DLL at runtime from the resource rather than the file system ? -- chris ==+==+==+ From: Chris Uppal Sent: 17:44:00, 24 September 2004 Subject: Re: Win32Error when executinng deployed progarm. I wrote: > > It is with the title: 'Win32Error' > > saying that DolphinSureCrypto'(167E: cann't find te module.)' > > > > Did anyone know what's going on ? > > The SecureHashAlgorithm class, which is used in various places, uses the > DolphinSureCrypto.DLL to do its computations. I've just remembered something. The PC1Cipher class makes use of SecureHashAlgorithm in its #churnRandPool method, and that method is run at image startup (which includes when a .exe starts up, if PC1Cypher has not been stripped). It sounds as if you may have PC1Cipher left in your deployed .exe, whether accidentally or because you need it for something. If you /do/ need PC1Cipher, but don't need its #generateRandomWithBits: method, then I think you can remove the image startup trigger (as part of your deployment script), in which case you should be able to use PC1Cipher without needing the DolphinSureCrypto DLL. -- chris ==+==+==+ From: kuo Sent: 13:34:00, 26 September 2004 Subject: Re: Win32Error when executinng deployed progarm. "Chris Uppal" <[hidden email]> wrote: > > The SecureHashAlgorithm class, which is used in various places, uses the > > DolphinSureCrypto.DLL to do its computations. > > I've just remembered something. The PC1Cipher class makes use of > SecureHashAlgorithm in its #churnRandPool method, and that method is run at > image startup (which includes when a .exe starts up, if PC1Cypher has not been > stripped). It sounds as if you may have PC1Cipher left in your deployed .exe, > whether accidentally or because you need it for something. > > If you /do/ need PC1Cipher, but don't need its #generateRandomWithBits: method, > then I think you can remove the image startup trigger (as part of your > deployment script), in which case you should be able to use PC1Cipher without > needing the DolphinSureCrypto DLL. > Thanks for your detailed analysis about my problems. After further workup, I found that the package, DolphinSure, was included due to my fault, that it remained in my deployed executables because I set redundent packages not removed at stripping. My program worked well and became smaller by using manual prerequisits ( including the loose methods in SSW Modal package). But I didn't use any codes that reference those related classes in the DolphinSure package, so, I don't know why at startup, the DolphinSureCrypto.dll library would be called. BTW, could the PC1Cipher class be used to decrypt DVD data, since there were many related softwares being written as freewares, would Dolphin have such capability? Best regards, Tk Kuo ==+==+==+ From: Chris Uppal Sent: 09:34:00, 27 September 2004 Subject: Re: Win32Error when executinng deployed progarm. kuo wrote: > But I didn't use any codes that reference those related classes in the > DolphinSure package, so, I don't know why at startup, the > DolphinSureCrypto.dll library would be called. The PC1Cipher class arranges to be sent the #sessionStarted event (see PC1Cipher class>>initialize); when it gets that event it calls its class-side method #churnRandPool, which in turn makes use of the DLL. This happens on every image startup, including startup of any deployed applications that include the PC1Cipher class (unless they have explicitly arranged for the notification not to be sent). > BTW, could the PC1Cipher class be used to decrypt DVD data, since there > were many related softwares being written as freewares, would Dolphin > have such capability? I don't think that DVD data is encrypted using that particular algorithm (but I could be wrong -- I don't know much about it). In any case, you'd need a valid key, as well as the decryption code. If you want to read DVD data from Dolphin, then you could try wrapping: http://developers.videolan.org/libdvdcss/ which looks pretty easy (just 6 simple functions and no structures). -- chris -- Ian Use the Reply-To address to contact me. Mail sent to the From address is ignored. |
Free forum by Nabble | Edit this page |