Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Conflict between Shell32 and AxSHDocVw.dll
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Chanchal Agrawal
14y
3.6k
1
Reply
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.ShellClass shell = new ShellClass();
Folder sourceFolder = shell.NameSpace(sourceFile);
Folder destinationFolder = shell.NameSpace(DestinationPath);
destinationFolder.CopyHere(sourceFolder.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
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Open C# IDE and create a new Console Application
Problem with draw and graphics