| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Registration in FtpListView sample |
| User11 Posts: 11 Member Since: 04/29/02 |
posted May 21, 2002 11:30 AM I've successfully registered my license and created my own ftp project for testing with a proxy server. I get no registration warnings. Great! I ran into a problem calling ftp.Login. I'm getting a 451 error. I wanted to see how the FtpListView sample handled the proxy interface and to see if it got the same problem. I built the client sample project FtpListView in C++ with LICENSE defined in the project. The project linked fine but now I'm getting the trial registration expiration message, "Control not licensed for distribution". I tried adding the control to the project. Same error. Any suggestions? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted May 21, 2002 12:13 PM Hi, I just added my license to the un-modified ListView client, compiled on my licensed machine, and distributed to an unlicensed machine. I did not see a trial. Please make sure your license in the code is exactly as it is shown in the Dartnostics report, and that you rebuild the exe on the machine the license was installed on. -ken K M Drake Dart Tech Support |
| User11 Posts: 11 Member Since: 04/29/02 |
posted May 21, 2002 1:01 PM I used the license number from the DARTNostics report in my #define statement and still have the same problem. I tried the #define statement in several different FTPListView sample project files in the \PowerTCP\FTP Tools\Samples\Client directory. The sample project is not showing a registered product on the same development PC where the license was installed however my own project is picking up the registered DartFTP control just fine. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted May 21, 2002 1:23 PM Hi, Did you try doing a "Clean" then "Rebuild All?" Sometimes that helps. If that doesn't work, I would delete and re-install the sample so you are starting with it un-modified. What about the other samples? Do they compile ok? Thanks, -ken K M Drake Dart Tech Support |
| User11 Posts: 11 Member Since: 04/29/02 |
posted May 21, 2002 2:35 PM Hi Ken, I reinstalled (my license was still registered) inserted the #define LICENSE "..." into sample project again, did a rebuild all. All that did was give me another 30 days which allows me to debug my problem but did not really fix it. --Ken |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted May 21, 2002 3:31 PM Hi, Do you mean: #define FTPTOOL_LICENSE "..." That is what the definition should look like. This is isolated to this sample, correct? The others are fine? Thanks, -ken K M Drake Dart Tech Support |
| User11 Posts: 11 Member Since: 04/29/02 |
posted May 22, 2002 2:12 PM FTPTOOL_LICENSE did not work. I used #define LICENSE in the VC6 samples putsite and getsite. They work fine. The problem seems isolated to the FtpListView project. --Ken |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted May 22, 2002 2:41 PM I think this issue has become too confused for the forum. Please zip up the source code for the FtpListView Sample that gives you the error and mail it to support@dart.com. Include a dartnostics report from the machine you are trying to compile the app on. Please do not include all the temp files that are created during compilation. Thanks, Tony |
| User11 Posts: 11 Member Since: 04/29/02 |
posted May 22, 2002 3:53 PM Sample project ftplistview looks OK now. I had to do a Rebuild All after changing the #define LICENSE "..." to #define FTPTOOL_LICENSE "...". The different macros are a little confusing. The other samples worked fine with the LICENSE macro. Thanks, Ken |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted May 22, 2002 4:05 PM I wish you'd let me know which of samples use "#define LICENSE", I wrote most of the samples and I always use "#define WHATEVERTOOL_LICENSE", so I'm kind of confused what you are referring to. Thanks, Tony |
| User11 Posts: 11 Member Since: 04/29/02 |
posted May 22, 2002 4:24 PM Tony, I gave DART that information in an earlier posting. The putsite and getsite samples worked fine by using the LICENSE macro. I did not define FTPTOOL_LICENSE in those samples. The readme.txt file in the VC6 directory refers specifically to #define LICENSE. --Ken Here is the readme.txt excerpt: ---------------- These samples require no additional effort to compile and run. A trial message will appear periodically while on the trial period. To eliminate the trial message after you have purchased the Tool, follow these steps: Find your license number in the registry under: HKEY_LOCAL_MACHINE\SOFTWARE\Dart\PowerTCP\License\<Tool> Use the value found there for the value of LICENSE: Example: #define LICENSE "Number:UnlockCode:CompanyName" Executables compiled with a valid number will not display a trial message. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted May 22, 2002 4:29 PM The Readme is generic and applies to ALL the samples. Actually it doesn't matter what you use as long as whatever you pass into the IFtp::Create() method, which in the PutSite sample is FTPTOOL_LICENSE, not LICENSE. I'm not sure how you got everything working using LICENSE, but I'm glad to hear that you did! Thanks, Tony |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|