Welcome!
General Emulation => MAME => Topic started by: XorXe on December 19, 2005, 09:21:31 PM
-
Hi guys i try to compile ekmame, but i have problems in fronthlp.c i have a sintax errors :confused: but i never touch this file, this is the error.
(http://img474.imageshack.us/img474/6789/ms0pq.jpg)
and this in my fronthlp.c (http://ccc.1asphost.com/XorXe/fronthlp.c)
-
Have you tried deleting your obj dir? It's possible that it just didn't build correctly the first time.
-
Yes i delete the objet dir but dont work :confused:
And i replace 421 to 440 lines for other source (same lines) but doesnt work.
-
I think the problem may be here:
#ifdef UNICODE
WCHAR tname[MAX_PATH];
MultiByteToWideChar(CP_ACP, 0, name, -1, tname, sizeof(tname) / sizeof(tname[0]));
#else
const char *tname = name;
#endif
Are you defining UNICODE or no?
If you're not, I'd suggest commenting out:
// WCHAR...
// MultiByte..
-
mmm i think unicode is only for compiling in asian languajes, but im compile in english.
And i modify fronthlp.c like this
#ifdef UNICODE
// WCHAR tname[MAX_PATH];
// MultiByteToWideChar(CP_ACP, 0, name, -1, tname, sizeof(tname) / sizeof(tname[0]));
#else
const char *tname = name;
#endif
but i already have problems.
(http://img369.imageshack.us/img369/8905/ms220xp.jpg)
-
I meet the same problem.Try to download w32api-3.6.tar.gz....Good Luck!