Re: C++ problem trying to use a certificate? (General questions)
Hi Kreso,
Thanks for the new sample project for creating certificates. (You may want to fix this line in the code:
#import E:\WeOnlyDo\wodFtpDLX\Code\CertMng\Debug\wodCertificate.dll no_namespace named_guids
I don't think this is the correct file location for most people.)
But I already had this sample (from another download), and it doesn't help me at all with the problem.
The problem is simple:
The documentation on page 109 of the wodFtpDLX.pdf says that to use SSL you need to create a new ICertificate object, load a cert file into it, and attach it to the FTP object. That's fine, but there is no C++ example on how to do this (IMO, because you can't do it!).
Basically, I cannot combine the cert sample code with the \FtpDLXSamples\VC\ATL\ConsoleApp sample code so that I can use both the certificate interface and the FTPDlx interface at the same time because their interfaces conflict with each other.
If you try to do the following:
// import wodKeys
#import C:\WINDOWS\SYSTEM32\wodCertificate.dll no_namespace named_guids
#include Debug/wodCertificate.tlh
// import wodFtpDLX
#import C:\WINDOWS\SYSTEM32\wodFtpDLX.DLL no_namespace named_guids
#include Debug/wodFtpDlx.tlh
You will get 65 compiler errors!?
So please provide an example of how to load a cert file and attach it to a FTPDlx object in C++ (like you describe on page 109 of the PDF docs).
Thanks,
Tim
Complete thread:
- C++ problem trying to use a certificate? Can't c - timster, 2006-01-11, 00:19
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 00:58
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 02:12
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 18:42
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 18:44
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 19:14
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 19:48
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 20:58
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 21:19
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 22:37
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 22:39
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 23:47
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 23:53
- Re: C++ problem trying to use a certificate? - timster, 2006-01-12, 00:33
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-12, 01:46
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-12, 19:59
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-12, 20:17
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 00:37
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-13, 01:19
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 01:22
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-13, 18:00
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 20:12
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-13, 18:00
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 01:22
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-13, 01:19
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 00:37
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-12, 20:17
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-12, 19:59
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-12, 01:46
- Re: C++ problem trying to use a certificate? - timster, 2006-01-12, 00:33
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 23:53
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 23:47
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 22:39
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 22:37
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 21:19
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 20:58
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 19:48
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 19:14
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 18:44
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 18:42
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 02:12
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 00:58