crisvam Posted September 30, 2022 Report Share Posted September 30, 2022 Colegas que usam o Pelles C, como gero o arquivo com extenção RES no Plles c? Grato pela atenção. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted September 30, 2022 Report Share Posted September 30, 2022 Save AS... Salvar como, não funciona? Quote Link to comment Share on other sites More sharing options...
Rogerio Figueira Posted September 30, 2022 Report Share Posted September 30, 2022 Boa tarde. O Pelles salva o .rc O arquivo .res é criado automaticamente no processo de compilação. Uso um arquivo .mak como o exemplo a seguir: # --------------------------------------------------------------------------- VERSION = BCB.01 # --------------------------------------------------------------------------- !ifndef BCB BCB = $(MAKEDIR)\.. !endif !ifndef BHC BHC = E:\xHarbour !endif !ifndef FWH FWH=E:\FWH !endif # --------------------------------------------------------------------------- PROJECT = 3189001.EXE OBJFILES = 3189001.obj CFILES = 3189001.c RESFILES = faz.RES RESDEPEN = $(RESFILES) LIBFILES = E:\FWH\lib\FiveHX.lib \ E:\FWH\lib\FiveHC.lib \ E:\xHarbour\lib\rtl.lib \ E:\xHarbour\lib\vm.lib \ E:\xHarbour\lib\gtgui.lib \ E:\xHarbour\lib\lang.lib \ E:\xHarbour\lib\macro.lib \ E:\xHarbour\lib\rdd.lib \ E:\xHarbour\lib\dbfntx.lib \ E:\xHarbour\lib\dbfcdx.lib \ E:\XHARBOUR\LIB\HBSIX.LIB \ E:\XHARBOUR\LIB\DBFFPT.LIB \ E:\XHARBOUR\LIB\PCREPOS.LIB \ E:\XHARBOUR13\LIB\DBFFPT.LIB \ E:\xHarbour\lib\common.lib \ E:\xHarbour\lib\pp.lib \ E:\BORLAND\bcc55\lib\cw32.lib \ E:\BORLAND\bcc55\lib\import32.lib \ E:\BORLAND\bcc55\lib\PSDK\odbc32.lib \ E:\BORLAND\bcc55\lib\wininet.lib DEFFILE = # --------------------------------------------------------------------------- CFLAG1 = -O2 $(CFLAGS) -d -L$(BHC)\lib\b32 -c -M CFLAG2 = -I$(BHC)\include;$(FWH)\include;$(BCB)\include;$(BCB)\include\vcl PFLAGS = RFLAGS = LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;$(BHC)\lib;$(BHC)\lib\b32 -Gn -aa -Tpe -s IFLAGS = LINKER = ilink32 # --------------------------------------------------------------------------- ALLOBJ = c0w32.obj $(OBJFILES) ALLRES = $(RESFILES) ALLLIB = $(LIBFILES) # --------------------------------------------------------------------------- .autodepend $(PROJECT): $(CFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE) $(BCB)\BIN\$(LINKER) @&&! $(LFLAGS) + $(ALLOBJ), + $(PROJECT),, + $(ALLLIB), + $(DEFFILE), + $(ALLRES) ! .cpp.obj: $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $* .c.obj: $(BCB)\BIN\bcc32 -I$(BHC)\include $(CFLAG1) $(CFLAG2) -o$* $** .prg.c: $(BHC)\bin\harbour /m/n/a/q -I$(FWH)\include;$(BHC)\include -o$* $** .rc.res: $(BCB)\BIN\brcc32 -w32 $(RFLAGS) $< #----------------------------------------------------------------------------- Quote Link to comment Share on other sites More sharing options...
alex2002 Posted September 30, 2022 Report Share Posted September 30, 2022 Simplesmente como o João falou: Clica em "Save As" e escolha o tipo .RES Quote Link to comment Share on other sites More sharing options...
Ladinilson Posted September 30, 2022 Report Share Posted September 30, 2022 Serei um pouco mais prático.... Pegue esse e aprveite, tem umas dialogs ai e podes apagar e também já esta com o Manifest. Abraços e bom final de semana LESTDIAL.res Quote Link to comment Share on other sites More sharing options...
crisvam Posted September 30, 2022 Author Report Share Posted September 30, 2022 Obrigado a todos, vou dar uma estudada e ver como vou fazer. Uma dúvida: Eu pego o RC e salvo como res? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.