Welcome to the techie blog of Nishant Pant. Here you will find some useful code snippets, tricks, tips, gotchas related to Microsoft technologies like VC++, ASP, VB, ASP.Net, MSMQ, SQL Server etc etc.
Welcome to the techie blog of Nishant Pant. Here you will find some useful code snippets, tricks, tips, gotchas related to Microsoft technologies like VC++, ASP, VB, ASP.Net, MSMQ, SQL Server etc etc.
hello Nishant,
Concerning your Shellextension for COM dlls, exes, ocx
http://nishantpant.wordpress.com/2006/11/02/say-goodbye-to-regsvr32-shellextension-for-com-dlls-exes-ocx-files/
a serious bug in your shell extension:
whenever the properties are accessed from a dll,
that dll is loaded in memory
thats not bad,
but the bad thing:
it is done the wrong way!
dllMain is executed when the dll is loaded, thus making any system your plugin is installed on vulnerable to attacks!
so don’t use loadlibrary to map the dll,
but instead use loadlibraryEx like this:
LoadLibraryEx( targetdll, 0, DONT_RESOLVE_DLL_REFERENCES );
Mark
great
i was a big fan of your plugin, until it crashed my explorer
so i’ll keep monitoring this blog,
to get the updated version