Click here to Skip to main content
15,884,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Dercypt file in C# encrypted in C using Rjindael Algorithm Pin
sangamdumne7-Aug-12 23:52
sangamdumne7-Aug-12 23:52 
GeneralRe: How to Dercypt file in C# encrypted in C using Rjindael Algorithm Pin
Software_Developer8-Aug-12 0:38
Software_Developer8-Aug-12 0:38 
GeneralC++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1637-Aug-12 21:49
BCN-1637-Aug-12 21:49 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
_AnsHUMAN_ 8-Aug-12 0:36
_AnsHUMAN_ 8-Aug-12 0:36 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 14:53
BCN-1638-Aug-12 14:53 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 16:08
BCN-1638-Aug-12 16:08 
SuggestionRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
Richard MacCutchan8-Aug-12 1:46
mveRichard MacCutchan8-Aug-12 1:46 
GeneralRe: C++ CALL CRange's get_shapeRange() triggers an exception Pin
BCN-1638-Aug-12 14:51
BCN-1638-Aug-12 14: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 16:09
BCN-1638-Aug-12 16:09 
QuestionC,C# Pin
sangamdumne7-Aug-12 19:41
sangamdumne7-Aug-12 19:41 
GeneralRe: C,C# Pin
CPallini7-Aug-12 21:10
mveCPallini7-Aug-12 21:10 
QuestionArgument to System() with space in the path Pin
Andraw1117-Aug-12 11:00
Andraw1117-Aug-12 11:00 
AnswerRe: Argument to System() with space in the path Pin
Richard Andrew x647-Aug-12 11:15
professionalRichard Andrew x647-Aug-12 11:15 
GeneralRe: Argument to System() with space in the path Pin
Andraw1118-Aug-12 3:00
Andraw1118-Aug-12 3:00 
GeneralRe: Argument to System() with space in the path Pin
Richard MacCutchan8-Aug-12 4:02
mveRichard MacCutchan8-Aug-12 4:02 
AnswerRe: Argument to System() with space in the path Pin
Andraw1117-Aug-12 11:59
Andraw1117-Aug-12 11:59 
GeneralRe: Argument to System() with space in the path Pin
Joan M9-Aug-12 6:21
professionalJoan M9-Aug-12 6:21 
QuestionHow to retain line drawing on Canvas area in MFC.? Pin
mbatra317-Aug-12 2:01
mbatra317-Aug-12 2:01 
AnswerRe: How to retain line drawing on Canvas area in MFC.? Pin
Chris Losinger7-Aug-12 6:14
professionalChris Losinger7-Aug-12 6:14 
AnswerRe: How to retain line drawing on Canvas area in MFC.? Pin
pasztorpisti7-Aug-12 12:01
pasztorpisti7-Aug-12 12:01 
QuestionDetermine straight line Pin
tagopi7-Aug-12 1:04
tagopi7-Aug-12 1:04 
SuggestionRe: Determine straight line Pin
Richard MacCutchan7-Aug-12 1:17
mveRichard MacCutchan7-Aug-12 1:17 
GeneralRe: Determine straight line Pin
tagopi7-Aug-12 1:29
tagopi7-Aug-12 1:29 
GeneralRe: Determine straight line Pin
Amarnath S7-Aug-12 1:18
professionalAmarnath S7-Aug-12 1:18 
GeneralRe: Determine straight line Pin
tagopi7-Aug-12 1:30
tagopi7-Aug-12 1: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.