我在form1中调用form3,可是程序刚运行就出错了,一个窗体都没show 出来。可是当我不在delphi中运行,而是直接运行可执行程序时,就好使了,为什么呀?
以下就是出错信息:
project project1.ext raised exception class EVariantTypeCastError 
with message 'could not convert variant of type(null) into type(string)'.
process stopped .use step or run to continue.