General information
Category:
COM/DCOM and OLE Automation
Hi Gunnar,
>did you find a way to get the line numbers for all program levels?
>I am working with VFP6 Sp5. Or is that only in higher fox versions?
I didn't try, but I think this would be quite difficult in vfp6.
>Update:
>Ah, just found it in VFP 9 Beta.
>
>Ok, is there a way to do this in Vfp6? or is it possible to create a dll in Vfp9 and run it in Vfp6?
I think the runtime of the process the stack runs in is the deciding factor.
You might go in and find/trace the c-routine called by aStackInfo in vfp7/8/9 and perhaps read out corresponding structures in vfp6, but why ? You get much more in vfp9 and have saved yourself hacking machine instructions <g>.
vfp6sp5 is a VERY solid platform, but the enhancements of vfp7 and vfp8 are also in vfp9.
Read not only the "What's new in vfp9" but take the time to find out what you are missing from vfp7 and vfp8. Ok, the COM enhancements of vfp7 seem less important today than a few years ago, but astackinfo was introduced in 7 AFAIR. vfp8 brought you bindevent() and cursoradapter - just to name my favorites. There was definitely more, and you are certain to find something representing a golden nugget for your needs.
If have you vfp6-app's already deployed, I'ld start developing/enhancing in 9Beta and wrapping all the new features with compiler switches, so that the same code can still be compiled/run under vfp6. When vfp9 is released, you are ready to go into your own app's beta phase.
my 0.02 EUR
thomas
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