Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIncrease Hieght of Row in ListCtrl? Pin
Le@rner2-Jan-09 0:43
Le@rner2-Jan-09 0:43 
AnswerRe: Increase Hieght of Row in ListCtrl? Pin
Jijo.Raj2-Jan-09 1:26
Jijo.Raj2-Jan-09 1:26 
AnswerRe: Increase Hieght of Row in ListCtrl? Pin
Nibu babu thomas4-Jan-09 21:52
Nibu babu thomas4-Jan-09 21:52 
GeneralRe: Increase Hieght of Row in ListCtrl? Pin
Le@rner4-Jan-09 22:31
Le@rner4-Jan-09 22:31 
QuestionFlash swf Pin
Nishad S2-Jan-09 0:41
Nishad S2-Jan-09 0:41 
AnswerRe: Flash swf Pin
Nibu babu thomas2-Jan-09 0:47
Nibu babu thomas2-Jan-09 0:47 
GeneralRe: Flash swf Pin
Nishad S2-Jan-09 1:00
Nishad S2-Jan-09 1:00 
AnswerRe: Flash swf Pin
Jijo.Raj2-Jan-09 1:09
Jijo.Raj2-Jan-09 1:09 
NS17 wrote:
One condition is that, swf file should not be played if the user open the file in normal flash player. So something should be done at the flash side (I am not so clear about how to do that right now). But it should be played only from my application (A kind of protection from playing and so spreading the files discreetly).


1) One method is to corrupt the file, which you know how to reverse back. All the SWF files formats start with "CWS". So modify your flash file by changing it to something like this - "CWT" or something like that. When you play the file, check whether the file starts with "CWT" and in that case reverse it to "CWS" and play. Once played, corrupt it again.

2) Another method is to encrypt the entire file and for playing in you application decrypt it back.

NS17 wrote:
I need to play swf file in VC++ application using flash ocx.


Well, if you need to know how to play swf in VC++ application, then check out this tutorial - How to display Flash animation in Visual C++ MFC application[^]

Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: Flash swf Pin
Nishad S2-Jan-09 1:18
Nishad S2-Jan-09 1:18 
GeneralRe: Flash swf Pin
Jijo.Raj2-Jan-09 1:30
Jijo.Raj2-Jan-09 1:30 
GeneralRe: Flash swf Pin
Nishad S2-Jan-09 1:52
Nishad S2-Jan-09 1:52 
GeneralRe: Flash swf Pin
Jijo.Raj2-Jan-09 2:19
Jijo.Raj2-Jan-09 2:19 
GeneralRe: Flash swf Pin
Nishad S2-Jan-09 2:25
Nishad S2-Jan-09 2:25 
GeneralRe: Flash swf Pin
Jijo.Raj2-Jan-09 2:42
Jijo.Raj2-Jan-09 2:42 
GeneralRe: Flash swf Pin
Nishad S2-Jan-09 3:06
Nishad S2-Jan-09 3:06 
Questionhow to get substring from a string...... Pin
vijay.victory2-Jan-09 0:13
vijay.victory2-Jan-09 0:13 
AnswerRe: how to get substring from a string...... Pin
Jijo.Raj2-Jan-09 0:24
Jijo.Raj2-Jan-09 0:24 
AnswerRe: how to get substring from a string...... Pin
Nibu babu thomas2-Jan-09 0:26
Nibu babu thomas2-Jan-09 0:26 
GeneralRe: how to get substring from a string...... Pin
vijay.victory2-Jan-09 0:37
vijay.victory2-Jan-09 0:37 
GeneralRe: how to get substring from a string...... Pin
Nibu babu thomas2-Jan-09 0:42
Nibu babu thomas2-Jan-09 0:42 
GeneralRe: how to get substring from a string...... Pin
vijay.victory2-Jan-09 0:47
vijay.victory2-Jan-09 0:47 
GeneralRe: how to get substring from a string...... Pin
Nibu babu thomas2-Jan-09 0:50
Nibu babu thomas2-Jan-09 0:50 
GeneralRe: how to get substring from a string...... Pin
David Crow2-Jan-09 3:53
David Crow2-Jan-09 3:53 
Question_bstr_t crashes Pin
amrit11232-Jan-09 0:09
amrit11232-Jan-09 0:09 
AnswerRe: _bstr_t crashes Pin
Nibu babu thomas2-Jan-09 0:27
Nibu babu thomas2-Jan-09 0:27 

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.