Click here to Skip to main content
15,885,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Abstract Class Pin
David Crow7-Jun-13 4:12
David Crow7-Jun-13 4:12 
AnswerRe: Abstract Class Pin
Jonathan Davies7-Jun-13 5:43
Jonathan Davies7-Jun-13 5:43 
AnswerRe: Abstract Class Pin
CPallini7-Jun-13 9:57
mveCPallini7-Jun-13 9:57 
QuestionMultithreading Pin
AdvancedCPP7-Jun-13 3:05
AdvancedCPP7-Jun-13 3:05 
AnswerRe: Multithreading Pin
Pablo Aliskevicius8-Jun-13 23:40
Pablo Aliskevicius8-Jun-13 23:40 
QuestionVS2008 Custom Rules: Can I run two rules on one input file? Pin
Jonathan Davies7-Jun-13 1:36
Jonathan Davies7-Jun-13 1:36 
SuggestionRe: VS2008 Custom Rules: Can I run two rules on one input file? Pin
Richard MacCutchan7-Jun-13 1:45
mveRichard MacCutchan7-Jun-13 1:45 
GeneralRe: VS2008 Custom Rules: Can I run two rules on one input file? Pin
Jonathan Davies7-Jun-13 5:30
Jonathan Davies7-Jun-13 5:30 
Thanks, it's now working with the below as you suggested.
Rule that calls batch file:
XML
<CustomBuildRule
			Name="GraphViz Dot to PNG and SVG"
			DisplayName="GraphVizPNGSVGRule"
			CommandLine="images "$(InputDir)\$(InputName).gv""
			Outputs="$(InputDir)\images\$(InputName).png;$(InputDir)\images\$(InputName).svg;"
			FileExtensions="*.gv"
			ExecutionDescription="builds png and svgfile"
			>
			<Properties>
			</Properties>
		</CustomBuildRule>

Batch file that creates svg and png from GraphViz gv file:
echo off
set "p=%~dps1" 
set "px=Images\"
set "newp=%p%%px%"
set "newsvg=%newp%%~n1%.svg"
set "newpng=%newp%%~n1%.png"
set "source=%~s1"
echo Creating svg...
dot.exe -T svg %source% -o %newsvg%
echo Creating png...
dot.exe -T png %source% -o %newpng%

QuestionCommand Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC Pin
002comp7-Jun-13 0:32
002comp7-Jun-13 0:32 
AnswerRe: Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC Pin
SoMad7-Jun-13 1:08
professionalSoMad7-Jun-13 1:08 
SuggestionRe: Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC Pin
Richard MacCutchan7-Jun-13 1:08
mveRichard MacCutchan7-Jun-13 1:08 
GeneralRe: Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC Pin
002comp7-Jun-13 1:18
002comp7-Jun-13 1:18 
GeneralRe: Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC Pin
SoMad7-Jun-13 1:28
professionalSoMad7-Jun-13 1:28 
GeneralRe: Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC Pin
Richard MacCutchan7-Jun-13 1:30
mveRichard MacCutchan7-Jun-13 1:30 
GeneralRe: Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC Pin
002comp7-Jun-13 1:43
002comp7-Jun-13 1:43 
GeneralRe: Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC Pin
Richard MacCutchan7-Jun-13 2:36
mveRichard MacCutchan7-Jun-13 2:36 
QuestionBit concatenation in C++ Pin
Manoj73906-Jun-13 22:51
Manoj73906-Jun-13 22:51 
AnswerRe: Bit concatenation in C++ Pin
Freak306-Jun-13 23:17
Freak306-Jun-13 23:17 
GeneralRe: Bit concatenation in C++ Pin
Manoj73906-Jun-13 23:22
Manoj73906-Jun-13 23:22 
GeneralRe: Bit concatenation in C++ Pin
Chris Losinger7-Jun-13 1:44
professionalChris Losinger7-Jun-13 1:44 
AnswerRe: Bit concatenation in C++ Pin
SoMad7-Jun-13 0:00
professionalSoMad7-Jun-13 0:00 
AnswerRe: Bit concatenation in C++ Pin
Richard MacCutchan7-Jun-13 1:07
mveRichard MacCutchan7-Jun-13 1:07 
Questionreading error Pin
mrby1236-Jun-13 12:26
mrby1236-Jun-13 12:26 
AnswerRe: reading error Pin
«_Superman_»6-Jun-13 18:25
professional«_Superman_»6-Jun-13 18:25 
QuestionDetecting memory leaks in BOOST test cases. Pin
Shailesh H5-Jun-13 0:14
Shailesh H5-Jun-13 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.