Click here to Skip to main content
15,891,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Creating MFC based window inside Win32 Pin
CPallini25-Jan-10 21:25
mveCPallini25-Jan-10 21:25 
GeneralRe: Creating MFC based window inside Win32 Pin
Dragondima26-Jan-10 3:44
Dragondima26-Jan-10 3:44 
GeneralRe: Creating MFC based window inside Win32 Pin
CPallini26-Jan-10 3:51
mveCPallini26-Jan-10 3:51 
QuestionPNG format graphics on the display Pin
sthalasayanam25-Jan-10 18:04
sthalasayanam25-Jan-10 18:04 
AnswerRe: PNG format graphics on the display Pin
Chris Losinger25-Jan-10 18:10
professionalChris Losinger25-Jan-10 18:10 
AnswerRe: PNG format graphics on the display Pin
CPallini25-Jan-10 21:30
mveCPallini25-Jan-10 21:30 
AnswerRe: PNG format graphics on the display Pin
jophoenix26-Jan-10 4:12
jophoenix26-Jan-10 4:12 
QuestionCalling functions in DLL (Flash) that I didn't load Pin
opensoar25-Jan-10 8:32
opensoar25-Jan-10 8:32 
Greetings - my first question so please forgive any faux-pas I make..

My Win32 application loads a number of embedded Web browsers, each of which load and play a Flash movie.

I want to find a way to control the volume of each loaded Flash movie independently of each other. My target platform is Windows XP so I can't use the mixer APIs that I hear are available on Vista and 7.

Here is the code with error checking etc. removed   (I'm using a very simple Flash API call to test)

HMODULE hFlashDLL = GetModuleHandle( "NPSWF32.dll" );
typedef void (__stdcall *flash_func)();
flash_func flash_stop_func = (flash_func)GetProcAddress( hFlashDLL, "native_ShockwaveFlash_StopPlay" );
flash_stop_func();

hFlashDLL and flash_stop_func appear to be valid but when I call the function itself I get an access violation.

Should this work and I'm missing something obvious in my code or is this sort of thing just disallowed in Win32?

Any pointers appreciated.
AnswerRe: Calling functions in DLL (Flash) that I didn't load Pin
CODEPC25-Jan-10 11:31
CODEPC25-Jan-10 11:31 
GeneralRe: Calling functions in DLL (Flash) that I didn't load Pin
opensoar25-Jan-10 12:02
opensoar25-Jan-10 12:02 
AnswerRe: Calling functions in DLL (Flash) that I didn't load Pin
Richard MacCutchan25-Jan-10 12:07
mveRichard MacCutchan25-Jan-10 12:07 
GeneralRe: Calling functions in DLL (Flash) that I didn't load Pin
opensoar25-Jan-10 12:29
opensoar25-Jan-10 12:29 
GeneralRe: Calling functions in DLL (Flash) that I didn't load Pin
Richard MacCutchan25-Jan-10 12:41
mveRichard MacCutchan25-Jan-10 12:41 
GeneralRe: Calling functions in DLL (Flash) that I didn't load Pin
opensoar25-Jan-10 13:11
opensoar25-Jan-10 13:11 
GeneralRe: Calling functions in DLL (Flash) that I didn't load Pin
Richard MacCutchan25-Jan-10 21:45
mveRichard MacCutchan25-Jan-10 21:45 
QuestionScreen Capture Pin
Member 686483925-Jan-10 6:17
Member 686483925-Jan-10 6:17 
AnswerRe: Screen Capture Pin
Rajesh R Subramanian25-Jan-10 6:21
professionalRajesh R Subramanian25-Jan-10 6:21 
AnswerRe: Screen Capture Pin
David Crow25-Jan-10 7:07
David Crow25-Jan-10 7:07 
GeneralRe: Screen Capture Pin
Member 686483925-Jan-10 7:32
Member 686483925-Jan-10 7:32 
AnswerRe: Screen Capture Pin
Rajesh R Subramanian25-Jan-10 7:35
professionalRajesh R Subramanian25-Jan-10 7:35 
GeneralRe: Screen Capture Pin
Member 686483925-Jan-10 7:43
Member 686483925-Jan-10 7:43 
AnswerRe: Screen Capture Pin
Rajesh R Subramanian25-Jan-10 8:38
professionalRajesh R Subramanian25-Jan-10 8:38 
GeneralRe: Screen Capture Pin
Member 686483925-Jan-10 9:07
Member 686483925-Jan-10 9:07 
GeneralRe: Screen Capture Pin
Rajesh R Subramanian25-Jan-10 9:16
professionalRajesh R Subramanian25-Jan-10 9:16 
QuestionHow to share memory between instances of dll Pin
Sauce!25-Jan-10 2:10
Sauce!25-Jan-10 2:10 

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.