[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nsbasic-palm
Subject:    [nsbasic-palm] Re: EncDec.dll not working...
From:       "Tim Markoski" <tmarkoski () sbcglobal ! net>
Date:       2006-08-23 16:01:51
Message-ID: echu5f+rrka () eGroups ! com
[Download RAW message or body]

Mike-

Declare statements, as used in VB, are typically used for Windows API
Calls from core Windows OS component DLLs. 
These Windows DLLs don't require registration as they aren't COM dlls
and as such don't have an entry point for DLLRegisterServer.

COM dlls need to be registered to expose the class identifiers.
Some COM dlls support can support self-registration.

If you get an error regarding the entry point when you try to manually
register EncDec.dll with Regsvr32.exe then it should would with DECLARE.

--- In nsbasic-palm@yahoogroups.com, Michael Verive <mverive@...> wrote:
>
> Mike,
> 
> Good idea, but VB refuses to load it as a reference or
> a component.  My guess is that it tries to register
> every component/reference, and the sysstem doesn't
> want to register the control.  Just one more level in
> DLL-hell.
> 
> I found an alternative, and am working with it now,
> although it has its own quirks.  Hopefully I'll find
> something that can provide NSBasic programmers strong
> encryption.
> 
> Mike Verive
> mverive@...
> 
> --- Mike McDonald <pyrite90@...> wrote:
> 
> > 
> > It's my understanding that dll's do not have to be
> > registered in order to
> > work. They just have to be registered to be used by
> > any program from any
> > location. What this means is that you may be able to
> > get away with placing
> > the dll in the application folder without
> > registering it. The DLL would then
> > be accesible to your program provided your DECLARE
> > statements (assuming VB6,
> > though I don't personally use it) reference the DLL
> > using a relative path
> > name. Instead of your DECLARE statement containing
> > Lib encdec.dll, it would
> > contain .\encdec.dll
> > 
> > As I said, I don't use VB6, and it's been a long
> > time since I have. My
> > memory is also less than reliable at times. If this
> > doesn't work, the only
> > option remaining may be to rebuild the DLL. Is the
> > source code available?
> > 
> > Mike McDonald
> > http://www.newdaycalendar.com
> >  
> > 
> > -----Original Message-----
> > From: nsbasic-palm@yahoogroups.com
> > [mailto:nsbasic-palm@yahoogroups.com] On
> > Behalf Of Douglas Handy
> > Sent: Friday, August 18, 2006 5:30 PM
> > To: nsbasic-palm@yahoogroups.com
> > Subject: Re: [nsbasic-palm] Re: EncDec.dll not
> > working...
> > 
> > Mike,
> > 
> > >Unfortunately, patching the name in the encdec.dll
> > didn't work.
> > 
> > OK; it was just a SWAG of something easy to try.
> > 
> > >Does Microsoft have something against Ron???
> > 
> > I don't know who used the name first, but at this
> > stage it really doesn't
> > matter.
> > 
> > I'd suggest you create routines which perform the
> > null substitution per
> > Ron's method, then use something like CCrypto class
> > to avoid the need for a
> > DLL at all in your project (for encryption anyway).
> > 
> > Doug
> > 
> > 
> > 
> > Complete Searchable Archive:
> > 
> > http://marc.theaimsgroup.com/?l=nsbasic-palm&r=1&w=2
> > 
> > Shortcut URL to this page:
> >  http://groups.yahoo.com/group/nsbasic-palm
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.11.1/421 -
> > Release Date: 8/16/2006
> > 
> > 
> > 
> > 
> > 
> > Complete Searchable Archive:
> > 
> > http://marc.theaimsgroup.com/?l=nsbasic-palm&r=1&w=2
> > 
> > Shortcut URL to this page:
> >  http://groups.yahoo.com/group/nsbasic-palm  
> > Yahoo! Groups Links
> > 
> > 
> >     nsbasic-palm-unsubscribe@yahoogroups.com
> > 
> >  
> > 
> > 
> >
>







Complete Searchable Archive:
 http://marc.theaimsgroup.com/?l=nsbasic-palm&r=1&w=2

Shortcut URL to this page:
 http://groups.yahoo.com/group/nsbasic-palm  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/nsbasic-palm/

<*> To unsubscribe from this group, send an email to:
    nsbasic-palm-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic