General information
Category:
Object Oriented Programming
Environment versions
Network:
Windows 2003 Server
Tamar,
Thanks for your suggestions.
1. I understand your first one.
2. I'm not clear what you are saying in the second one. I am using a VFP client to instantaite my COM server for testing, although the ultimate client will be a C++ app at this point. Is this what you are suggesting?
Jim
>>All of this would be much easier to figure out if I could actually run the COM server under the VFP debugger, but that is not possible without a great deal of effort.
>
>Jim - I'm a big believer that every VFP COM Server needs a LogIt (or AddToLog or ...) method that writes out whatever you pass it to a text file. Set up the log in the server's Init method, storing the filename in a property. Then, it only takes one line to add some debugging code anywhere in the object:
>
>This.LogIt("Starting blah blah blah. Variable xyz = " + m.xyz)
>
>You can also instantiate VFP objects defined as COM servers natively in VFP for testing. It's not complete testing, but it can save you a lot of work up front as you weed out the typos and other simple errors.
>
>Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only