Click here to Skip to main content
15,914,221 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: program executing error Pin
_AnsHUMAN_ 1-Jun-06 20:37
_AnsHUMAN_ 1-Jun-06 20:37 
AnswerRe: program executing error Pin
toxcct1-Jun-06 21:50
toxcct1-Jun-06 21:50 
QuestionFFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP1-Jun-06 20:29
RahulOP1-Jun-06 20:29 
AnswerRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT1-Jun-06 20:37
Hamid_RT1-Jun-06 20:37 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP1-Jun-06 21:08
RahulOP1-Jun-06 21:08 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT1-Jun-06 21:31
Hamid_RT1-Jun-06 21:31 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ [modified] Pin
RahulOP1-Jun-06 22:43
RahulOP1-Jun-06 22:43 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ [modified] Pin
Hamid_RT2-Jun-06 1:10
Hamid_RT2-Jun-06 1:10 
i write a sample i hope that helpful to you
<br />
/*   in dll file<br />
extern "C" BSTR FAR PASCAL EXPORT TestFunction(HWND hWnd,TCHAR lpt[50])<br />
{<br />
AFX_MANAGE_STATE(AfxGetStaticModuleState());<br />
BSTR		 Returnbstr;<br />
...<br />
...<br />
return Returnbstr;<br />
}<br />
*/<br />
<br />
//////////////Include file//////////////////<br />
typedef BSTR FAR  (WINAPI *TESTFUNCTION)(HWND hWnd,TCHAR lpt[50]);<br />
	TESTFUNCTION		    m_TestFunction;<br />
<br />
/////////////Cpp file///////////////////////////////<br />
	LibraryDll=LoadLibrary("Testdll.dll");<br />
<br />
	m_TestFunction=(TESTFUNCTION)GetProcAddress(LibraryDll,"TestFunction");//function in dll file<br />
<br />
	m_TestFunction(pWnd->m_hWnd,NULL);



whitesky


GeneralRe: FFMPEG(Libavcodec DLL)+VC++ [modified] Pin
RahulOP4-Jun-06 18:36
RahulOP4-Jun-06 18:36 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 22:24
Hamid_RT4-Jun-06 22:24 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 22:38
RahulOP4-Jun-06 22:38 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 22:54
Hamid_RT4-Jun-06 22:54 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 22:57
RahulOP4-Jun-06 22:57 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 23:02
Hamid_RT4-Jun-06 23:02 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 23:12
RahulOP4-Jun-06 23:12 
QuestionDevice context trouble Pin
shivditya1-Jun-06 20:29
shivditya1-Jun-06 20:29 
AnswerRe: Device context trouble Pin
Hamid_RT1-Jun-06 20:43
Hamid_RT1-Jun-06 20:43 
GeneralRe: Device context trouble Pin
shivditya1-Jun-06 21:10
shivditya1-Jun-06 21:10 
GeneralRe: Device context trouble Pin
Hamid_RT1-Jun-06 21:35
Hamid_RT1-Jun-06 21:35 
GeneralRe: Device context trouble Pin
shivditya1-Jun-06 21:44
shivditya1-Jun-06 21:44 
Questionprogram executing error Pin
Y_Kaushik1-Jun-06 19:53
Y_Kaushik1-Jun-06 19:53 
QuestionRe: program executing error Pin
Hamid_RT1-Jun-06 20:12
Hamid_RT1-Jun-06 20:12 
AnswerRe: program executing error Pin
toxcct1-Jun-06 21:49
toxcct1-Jun-06 21:49 
QuestionClosing a invisible web browser Pin
KongHL1-Jun-06 19:47
KongHL1-Jun-06 19:47 
AnswerRe: Closing a invisible web browser Pin
Benoy Bose1-Jun-06 20:33
Benoy Bose1-Jun-06 20:33 

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.