>Bob,
>
>The .h file is read at design time for the class when the class designer is closed and the class is recompiled. I assume it's also read for a class when a classlib is explicitly recompiled. I normally include the .h as a file in the project but mark it excluded. If it's included all you do is bloat your exe and give something for people to snoop through if they browse the exe.
>
>>When is a #include for a VCX actually bound?
>>
>>I don't need to include the .h files with my app (right?).
>>
>>I changed a VCX to reference a non-existant #define in my .h file. I got an error (of course). I added the #define to the .h file, yet my VCX still complains. Apparently I have to do something to "refresh" my VCX's view of the .h file.
>>
>>I'm guessing I could build the project. Is this correct, or are there other ways? (Or am I altogether confused?)
Here's a great use for the project hook in VFP 6.0...the .H file can automatically be excluded.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer