- 192 名前:デフォルトの名無しさん [04/11/01 18:26:19]
- 次のようなソースをコンパイルするとエラーが出る。
static void mytest(MyApplet *ap) { DBGPRINTF("mytest"); IShell *sh = ap->a.m_pIShell; } error: C2275:'IShell' : typedef識別子に、クラス メンバ アクセス演算子(->)を使用しました。 aee.h(294): 'IShell'の宣言を確認してください。 だけど、 IShell *sh = ap->a.m_pIShell; DBGPRINTF("mytest"); の順に変更するとエラーでない。 なぜでしょうか? ちなみにincludeしてるのは、AEEModGen.h AEEAppGen.h AEEShell.h AEEFile.h AEENet.h myapp.bid AEEStdLib.h です。
|

|