Re: Microsoft and Trust Take 2

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:eZIVcxslIHA.5160@xxxxxxxxxxxxxxxxxxxxxxx
I see. Thanks. I'd never heard of IMAPI
before. I still don't get the Shell part, though.
VB needs typelibs, but .Net needs Interop
and "unsafe" code, as I understand it.

That is true, you will need to use interop. You don't need unsafe code I
believe, the definition of unsafe code as I understand it is the use of
pointers for direct memory access. My original point was the dot net can
handle these interfaces directly where VB needs a typelib or dll.

I would
think that, just as with Java, the Shell is pretty
much the last thing that .Net should be used for.

I'm not sure as I haven't looked into this myself but it sounds right.
Because it's managed code there are a few oddities I believe such as calling
dot net code from SQLServer 2000.

My last project was an Explorer Bar/BHO
combination. It works fine, written in VB, has no
dependencies, is compatible with Win95 up, and
weighs in at about 2/3 MB for everything including
an uninstaller, help file, etc. As I understand it,
I could do something like that in .Net but it's not
native and it's not recommended because there's
a risk of two plugins being installed with different
.Net versions, so that one might malfunction.

I'm not sure about that but as an example a dot net app can receive a file
dragged from windows explorer or it can allow files to be dragged out of it
to windows explorer. You can of course do this the simple way or you can use
more advanced options and stream files across. You'd use the more advanced
version if this files didn't actually exist as files. The point is to use
the shell functionality you don't need to be writing a shell.

Michael


.



Relevant Pages

  • Re: Keep getting error with email validation script
    ... What is unsafe about the systemfunction? ... Using the shell is certainly unsafe, but you can use the system ... This is because systemunder *nix uses the fork/exec model. ... If you use the form of systemthat does not invoke a shell, ...
    (comp.lang.perl.misc)
  • Re: Keep getting error with email validation script
    ... well just continue to screw ourself by using the unsafe system ... What is unsafe about the systemfunction? ... Using the shell is certainly unsafe, but you can use the system ... This is because systemunder *nix uses the fork/exec model. ...
    (comp.lang.perl.misc)
  • Re: Keep getting error with email validation script
    ... Using the shell is certainly unsafe, but you can use the system ... Perl ... this is because C system invokes the shell. ...
    (comp.lang.perl.misc)
  • Re: Keep getting error with email validation script
    ... also figures since the OP is & to invoke the subroutine, ... What is unsafe about the systemfunction? ... Using the shell is certainly unsafe, but you can use the system ...
    (comp.lang.perl.misc)