I'm sorry this took so long. I wanted to put the OpenSSL-Win32 folder in the solution folder so that you would have everything you need to compile. There are still two issues with it, but I hope you can figure it out.
One is, for some reason it won't find the crypto.h include file even though the include directories are pointing to the OpenSSL-Win32 folder inside the solution folder. I can't figure that out.
Two is, you will probably will have to change this line in the ssl.h file: # include <C:\Users\Tony\Documents\Visual Studio 2015\Projects\Magic2015\OpenSSL-Win32\include/openssl/e_os2.h>
I hope this allows you to compile and debug if needed.
I think you are not getting an error because you don't have a filter in the filters list. In my testing, I am using a file that is populated with mailboxes and filters.
I tested it by creating an empty document(File/New) and not adding any filters and it indeed ran without error. I added a filter and saved the document and ran it again. It did give the error after that, since there is an existing filter.
Can you possibly try it by adding a filter?
The filter does not really have to make sense and the program will ask you to save the document somewhere(on File/Exit). You can save it anywhere.
Run it again and try the filter option again. It should give the error.
OK, I created a filter, saved it, closed the program. Started the program again, clicked open, loaded the file and when I clicked filters I got this MessageBox. https://www.dropbox.com/s/pb55mecvg12pidn/Tony_2.png?dl=0
After I clicked OK the filter dialog appeared.
Yes, sometimes I get that also. That is not supposed to happen. It should go into the filters dialog as it did when you first tried it.
Sometimes, it just gives an error like when Internet Explorer bombs out with "The pop3 program has stopped working" and it gives me the option to debug or close the program.
In either case, it should work. I have been using the Visual Studio 6.0 executable for years and it never gave any errors.
I can't find "The parameter is incorrect" anywhere in the program.
I can't explain why it gives different messages at different times.
I can't find "The parameter is incorrect" anywhere in the program.
Maybe this message is from MFC.
Are you trying it in debug mode?
Yes, I did.
I think to problem is in the Filters Dialog. Maybe sth. with the ListBox index.
For some strange reasons I can't compile it anymore so I can't tell you more.
Thanks for your help in trying to fix this problem.
I am going to put everything back to the way it was. With these changes that I made, it helped in getting me a filters dialog box with blank filters, but it caused another problem where I can't run the program with a new empty file.
Somehow, I will have to figure out how to fix the original problem that I started this post for.