home recent topics recent posts search faq  

Schaudin.com Forum



register | lost password | |
Messages in this topic - RSS

Home » RC-WinTrans Support » Make Satellite DLL from WinTrans 9 project

For support issues and specific questions related to RC-WinTrans' use, features and functions.
|
02.12.2011 11:06:50

AlexC
AlexC
Posts: 20
Hi,

Is it possible from a windows 7 command script to generate translatede satellite DLLS for a C# project via the RWTcmd.exe ?


The context is a commad script like this :
setlocal
echo off

SET LangCode=zh-CN
SET ProjExten=%~x2
SET TargetFile=%4
SET WinTransProj=%2
SET RcSrcFile=%1
SET WinTransDB="%~dpn2.fsmdb"

RWTCmd.exe /IsProjectUpToDate %WinTransProj% %LangCode% /a
REM If up to date just go write translated Satellite DLL
if %errorlevel%==1 goto WriteDll

RWTCmd.exe /UpdateAll %WinTransProj% %LangCode% /a
:WriteDll
REM Write the translated Satellite DL
RWTCmd.exe /??? %WinTransProj% %LangCode% %TargetFile%

IF %errorlevel%==0 GOTO TheEnd
ECHO ERROR:Could not make %TargetFile% from %WinTransProj%
EXIT 3
GOTO TheEnd

:TheEnd
ECHO Wrote %TargetFile% based on %WinTransProj%
endlocal


Thanks
Alex
0 permalink
|

Home » RC-WinTrans Support » Make Satellite DLL from WinTrans 9 project





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software