Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manually REPLACEing in a VCX Methods field
Message
 
 
To
07/11/2005 16:16:44
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01065807
Message ID:
01066200
Views:
11
Olaf,

I don't believe either one of you. *g*

What I believe is that VFP detects an error condition between what is in the two memo fields and that's what causes the blanked out methods editor window.

VFP does a simple parsing of the methods memo to figure out what is where, it doesn't use pointers from the objcode to get back to the lines in the methods memo.

>>VFP isn't going to decompile the objcode.
>I didn't say VFP decompiles objcode. I said it uses some offset/source code length stored within objcode to find the lines within the methods memo.
>
>If you don't believe me, simply try what I said and see for yourself. Or maybe you believe Fabio Lunardon, quote: "VFP uses ObjCode to find the lines of code...".
>
>I tried now in VFP9 and 7 with the same result. And after I cleared the objcode memo, the class designer/editor wouldn't show any code, although the methods memo isn't cleared. So it must use offset/length informations stored within objcode to determine what bytes of the methods memo to show as a certain method within the editor instead of finding Procedure and diplaying the following lines up to an Endproc line.
>
>Maybe it is done to prevent the word "Endproc" or the line "Procedure " within a method (think of comments) to mess things up. And as I didn't change any of the of the reserved fields while hacking the vcx in table mode, there must be the observed link between the methods memo and the objcode memo and no other field.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform