Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Catalog of API routines
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00107091
Message ID:
00107871
Views:
16
Ok, I got it now! :) The "*" indicates a pointer, but if the type is LP..., then it is probably a macro for a pointer type (ex: LPWORD is in fact a replacement for WORD*). So, all LP... types are pointer types, in fact. Also, all P... are pointer types.
So, the convention was followed all the time, only that LP... types hide the "*". (But the "*" is always there, because it's part of the C language).

Special care must be given to types like LP...*. These are pointer to pointer types. Ex: LPWORD* translates to WORD**, pointer to pointer to WORD.

I wonder why these conventions are not explained clearly in the doc... :(

Vlad

>Sorry if I was a little vague. I mention the convention of using the pointer symbol ("*") to indicate that a pointer (reference) was used. They just used "lp". Then again, I really shouldn't have called it a convention, not being too familar with C++ .
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform