View previous topic :: View next topic |
Author |
Message |
efalzon Newbie
Joined: 03 Sep 2004 Posts: 3 Location: Brisbane, Australia
|
Posted: Fri Sep 03, 2004 3:03 am Post subject: Invalid Command in POP3.DSU |
|
|
Hi all,
I've just picked up VDS recently, and I'm pretty impressed with it. But I'm experiencing an intermittent problem with .DSU commands.
I'm using POP3.dsu, which I purchased with VDS 5 + Internet Suite. It has been working fine, but yesterday it started reporting an error "invalid command at line 22 of pop3.dsu" whenever I try to call the command "pop3 connect,mail.domain.com"
I notice a posting from last year reported that everything had mysteriously repaired itself. Is there a configuration setting I need to change to fix this?
Thanks,
Edward _________________ In theory, Practice and Theory are the same.
In practice, they are different! |
|
Back to top |
|
|
jules Professional Member
Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Sep 03, 2004 6:55 pm Post subject: |
|
|
Strange. I use this extensively and have never encountered this problem. _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
Back to top |
|
|
efalzon Newbie
Joined: 03 Sep 2004 Posts: 3 Location: Brisbane, Australia
|
Posted: Sat Sep 04, 2004 5:09 am Post subject: |
|
|
Okay, I'm up and running again, and I believe I have focused in on the issue:
The Command, #EXTERNAL VDSTCP50.DLL, was declared in one of my secondary DSC files, and did not appear in the primary Project.DSC file.
After putting it as the first line in the primary DSC, it was all fine. This seems to be required <i>in addition to</i> the #include pop3.dsu declarations. How come?
Edward _________________ In theory, Practice and Theory are the same.
In practice, they are different! |
|
Back to top |
|
|
jules Professional Member
Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Sat Sep 04, 2004 9:01 am Post subject: |
|
|
#include is a compiler directive to include the .dsu file.
external (without the #) is a command to load an extension DLL.
The external command must be executed before any of the commands or functions in the .dsu are used. _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
|
efalzon Newbie
Joined: 03 Sep 2004 Posts: 3 Location: Brisbane, Australia
|
Posted: Sat Sep 04, 2004 10:01 am Post subject: |
|
|
Yes, I presumed that, and had declared it at the top of the secondary DSC file, which is the only file that calls the TCP commands & functions. Apparently that isn't the right spot.
Thanks for the advices.
Edward. _________________ In theory, Practice and Theory are the same.
In practice, they are different! |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sat Sep 04, 2004 3:05 pm Post subject: |
|
|
hi edward,
great to see another aussie on the forum
serge _________________
|
|
Back to top |
|
|
|