Click here to Skip to main content
15,849,182 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Dercypt file in C# encrypted in C using Rjindael Algorithm Pin
sangamdumne8-Aug-12 0:52
sangamdumne8-Aug-12 0:52 
GeneralRe: How to Dercypt file in C# encrypted in C using Rjindael Algorithm Pin
Software_Developer8-Aug-12 1:38
Software_Developer8-Aug-12 1:38 
GeneralC++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1637-Aug-12 22:49
BCN-1637-Aug-12 22:49 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
_AnsHUMAN_ 8-Aug-12 1:36
_AnsHUMAN_ 8-Aug-12 1:36 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 15:53
BCN-1638-Aug-12 15:53 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 17:08
BCN-1638-Aug-12 17:08 
SuggestionRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
Richard MacCutchan8-Aug-12 2:46
mveRichard MacCutchan8-Aug-12 2:46 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 15:51
BCN-1638-Aug-12 15:51 
thanks for your tip. code looks like following.
C++
bool isRangeShape(__in CRange& oRange)
{
                // I promise oRange is correct, because I can call
                // like this oRange.get_InlineShapes()

		AFX_MANAGE_STATE(AfxGetStaticModuleState());

                // in word2010 it's ok,but in word2003 triggers an exception
                // but corresponding VBA code works fun in word2003 (not fun, I'm sorry)
                // word2003 don't support this method, oh my god!!!
		CShapeRange oShpRange  = oRange.get_ShapeRange();

		long lCount = oShpRange.get_Count();

		if (lCount > 0)
		{
			return true;
		}


	return false;
}


modified 8-Aug-12 21:37pm.

GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 17:09
BCN-1638-Aug-12 17:09 
QuestionC,C# Pin
sangamdumne7-Aug-12 20:41
sangamdumne7-Aug-12 20:41 
GeneralRe: C,C# Pin
CPallini7-Aug-12 22:10
mveCPallini7-Aug-12 22:10 
QuestionArgument to System() with space in the path Pin
Andraw1117-Aug-12 12:00
Andraw1117-Aug-12 12:00 
AnswerRe: Argument to System() with space in the path Pin
Richard Andrew x647-Aug-12 12:15
professionalRichard Andrew x647-Aug-12 12:15 
GeneralRe: Argument to System() with space in the path Pin
Andraw1118-Aug-12 4:00
Andraw1118-Aug-12 4:00 
GeneralRe: Argument to System() with space in the path Pin
Richard MacCutchan8-Aug-12 5:02
mveRichard MacCutchan8-Aug-12 5:02 
AnswerRe: Argument to System() with space in the path Pin
Andraw1117-Aug-12 12:59
Andraw1117-Aug-12 12:59 
GeneralRe: Argument to System() with space in the path Pin
Joan M9-Aug-12 7:21
professionalJoan M9-Aug-12 7:21 
QuestionHow to retain line drawing on Canvas area in MFC.? Pin
mbatra317-Aug-12 3:01
mbatra317-Aug-12 3:01 
AnswerRe: How to retain line drawing on Canvas area in MFC.? Pin
Chris Losinger7-Aug-12 7:14
professionalChris Losinger7-Aug-12 7:14 
AnswerRe: How to retain line drawing on Canvas area in MFC.? Pin
pasztorpisti7-Aug-12 13:01
pasztorpisti7-Aug-12 13:01 
QuestionDetermine straight line Pin
tagopi7-Aug-12 2:04
tagopi7-Aug-12 2:04 
SuggestionRe: Determine straight line Pin
Richard MacCutchan7-Aug-12 2:17
mveRichard MacCutchan7-Aug-12 2:17 
GeneralRe: Determine straight line Pin
tagopi7-Aug-12 2:29
tagopi7-Aug-12 2:29 
GeneralRe: Determine straight line Pin
Amarnath S7-Aug-12 2:18
professionalAmarnath S7-Aug-12 2:18 
GeneralRe: Determine straight line Pin
tagopi7-Aug-12 2:30
tagopi7-Aug-12 2:30 

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.