Visual Basic - Ayuda con los *.res

Life is soft - evento anual de software empresarial
 
Vista:

Ayuda con los *.res

Publicado por res (43 intervenciones) el 21/08/2000 00:00:00
Como puedo editar y compilar un archivo .res?
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Ayuda con los *.res

Publicado por hernux (37 intervenciones) el 21/08/2000 00:00:00
(Si no entro todo, avisame que te mando por mail)

Esto es un ejemplo:
si no lo entendes avisame, y te explico un poco

//$ Const ordTestBmp = 101
#if defined(US)
101 BITMAP "TestUS.BMP"
#elif defined(SP)
101 BITMAP "TestSP.BMP"
#endif

//$ Const ordTestIcon = 301
#if defined(US)
301 ICON "TestUS.ICO"
#elif defined(SP)
301 ICON "TestSP.ICO"
#endif

//$ Const ordTestCursor = 401
#if defined(US)
401 CURSOR "TestUS.CUR"
#elif defined(SP)
401 CURSOR "TestSP.CUR"
#endif

//$ Const ordTestWav = 501
#if defined(US)
501 WAVE "TestUS.WAV"
#elif defined(SP)
501 WAVE "TestSP.WAV"
#endif

//$ Const ordTitulo = 1001
//$ Const ordMnuFile = 1101
//$ Const ordMnuEdit = 1102

STRINGTABLE
BEGIN
#if defined(US)
1001 "Title"
1101 "&File"
1102 "&Edit"
#elif defined(SP)
1001 "Titulo"
1101 "&Archivo"
1102 "&Editar"
#endif
END

Lo compilas asi:
rc /v /d SP /r /fo Final.res Origen.rc
rc /v /d US /r /fo Final.res Origen.rc

El archivo RC esta en el CD de VB

SUERTE
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar