Hi All,
I have a strange problem due to a conflict between Shell32.dll and AxSHDocVw.dll
Details:
I was using the following code to unzip files and it was working perfectly.
private void Unzip(string sourceFile, string DestinationPath )
{
Shell32.ShellCl ass shell = new ShellClass();
Folder sourceFolder = shell.NameSpace (sourceFile);
Folder destinationFold er = shell.NameSpace (DestinationPat h);
destinationFold er.CopyHere(sou rceFolder.Items (), "");
}
Later on i included an axWebBrowser and added reference to AxSHDocVw.dll and SHDocVw.dll. Although the axWebBrowser was working fine but my Unzip function stopped working.
The 'sourceFolder' was not getting initialized and was always null.
The thing is Shell32 class works perfectly until AxSHDocVw.dll is included. Please let me get rid of the conflict
Thanks,
Chanchal
I have a strange problem due to a conflict between Shell32.dll and AxSHDocVw.dll
Details:
I was using the following code to unzip files and it was working perfectly.
private void Unzip(string sourceFile, string DestinationPath )
{
Shell32.ShellCl ass shell = new ShellClass();
Folder sourceFolder = shell.NameSpace (sourceFile);
Folder destinationFold er = shell.NameSpace (DestinationPat h);
destinationFold er.CopyHere(sou rceFolder.Items (), "");
}
Later on i included an axWebBrowser and added reference to AxSHDocVw.dll and SHDocVw.dll. Although the axWebBrowser was working fine but my Unzip function stopped working.
The 'sourceFolder' was not getting initialized and was always null.
The thing is Shell32 class works perfectly until AxSHDocVw.dll is included. Please let me get rid of the conflict
Thanks,
Chanchal
Comment