When I am using `firefly Visual designer`, I found that the gorc.exe resource compiler in FBC can not support resource file whose name is not English( in my case, it is Chinese).
So is there any solution? Thanks
R:\中文名字项目\release>E:\prg\BASIC\fb\FreeBASIC-1.01.0-win32\bin\win32\GoRC.ex
e /ni /nw /o /fo "CODEGEN_中文名字项目_RESOURCE.obj" "CODEGEN_中文名字项目_RESOU
RCE.rc"
Error!
Line 39 of Resource Script (CODEGEN_中文名字项目_RESOURCE.RC):-
Could not find file:-
CODEGEN_�����Ŀ.Exe.Manifest
oyster wrote:Thanks, but the problem lies in GORC actually.
I'm aware of that but, new Compiler = newer version, of GORC ...
(may or may not make a difference, I really don't know, you'd have to check GORC doc's)
I'd also suggest to try to update fbc or at least GoRC first. According to its documentation it should support unicode (non-english) file names - maybe the problem is the way how it is called by fbc. Have you tried compiling the resource file manually? (hint: run fbc with argument "-v" to get the command).
//edit: sorry, I just saw that you already tried that.
Afair FreeBasic can also use windres instead of GoRC. However, I can't remember how to enable that option - maybe it's even some compile-time option so you'd need a custom compiler build.
FireFly is not built to handle unicode so it doesn't surprise me that you are having trouble with non-ANSI filenames. (BTW, I am the developer of FireFly).
You might want to start to use my newer editor WinFBE which is built to use unicode. However, the visual designer portion of WinFBE is not built yet.