トップページ > 過去ログ > 記事閲覧
実行できません
名前:コロンブス 日時: 2008/11/06 13:03

#include "DxLib.h" int WINAPI WinMain(HINSTANCE hI, HINSTANCE hP, LPSTAR lpc, int nC) { ChangeWindowMode(TRUE); if(DxLib_Init() == -1) return(-1); DrawBox(0, 0, 120, 120, 65535, TRUE); WaitKey(); DxLib_End(); return(0); } このプログラムをメイクしたところ、次のような表示になりました。 エラー E2303 C:\Users\user\Documents\MyC\dxtest\dxtest.cpp 3: 型名が必要 *** 1 errors in Compile *** ** error 1 ** deleting Debug\dxtest.obj Make End !! (Elapsed time 0:00.500) これは、どういう意味ですか?

Page: 1 |

Re: 実行できません ( No.1 )
名前:Will 日時:2008/11/06 13:27

誤)LPSTAR 正)LPSTR です。

Page: 1 |