Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation Server
Message
From
14/11/2001 10:43:49
 
 
To
14/11/2001 10:36:19
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00581097
Message ID:
00581534
Views:
24
This message has been marked as the solution to the initial question of the thread.
You cannot - that is a problem. That is why it is recommended to test object first as usual VFP custom object, not as COM object. Then try to run it as COM after complete testing without COM. So run it client-side first. If you cannot (because SQL Server access or whatever reason), then you have to think about some sort of logging of commands and time at which they run. Thi way you will see in log file the sequense of commands ran in COM object code and see the point where delay happens. This way will not help you to spot a single command, but it will for sure help you to narrow down the place where problem happens. In addition, include debug information, and make error handler using Error event of the object. In Error handler write as much information into the log file as possible, include LineNo, program() etc. to see exact place where error happened.

HTH.

>Vlad, thanks for a good direction to play with. I think the parameters are the problem. I may try to run it as SP with parameters object instead of sinple SP call.
>By the way, how I can run and debug my com object on ther server, and see what cause the problem, as you have mention, it's a shame to admit but I dont know how can I do this.
>Meni treba poyasnyty ya ce vono debagaetsya.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform