Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: GetTextExtent(str) returns different sizes when zooming. Pin
includeh1019-Sep-06 7:42
includeh1019-Sep-06 7:42 
GeneralRe: GetTextExtent(str) returns different sizes when zooming. Pin
David Crow19-Sep-06 7:52
David Crow19-Sep-06 7:52 
GeneralRe: GetTextExtent(str) returns different sizes when zooming. Pin
dpicon20-Sep-06 3:39
dpicon20-Sep-06 3:39 
AnswerRe: GetTextExtent(str) returns different sizes when zooming. Pin
dpicon21-Sep-06 5:29
dpicon21-Sep-06 5:29 
QuestionHow to set clip rectangle for printing Pin
includeh1019-Sep-06 6:32
includeh1019-Sep-06 6:32 
AnswerRe: How to set clip rectangle for printing Pin
Christopher Duncan19-Sep-06 17:04
Christopher Duncan19-Sep-06 17:04 
GeneralRe: How to set clip rectangle for printing Pin
includeh1020-Sep-06 6:04
includeh1020-Sep-06 6:04 
QuestionAccessing a DLL class Pin
masnu19-Sep-06 5:29
masnu19-Sep-06 5:29 
I have a DLL decalred as follows:

#ifdef DLLDIR_EX<br />
	#define DLLDIR __declspec(dllexport)<br />
#else<br />
	#define DLLDIR __declspec(dllimport)<br />
#endif<br />
<br />
extern "C"<br />
{<br />
<br />
	int		DLLDIR	DLLFunc2(int);<br />
	void	DLLDIR	DrawEllipse(CRect, CDC*);<br />
	<br />
};<br />
<br />
extern int DLLDIR DLLArg;<br />
<br />
class DLLDIR DLLClass<br />
{<br />
<br />
	public:<br />
		DLLClass();<br />
		~DLLClass();<br />
<br />
		int Add(int, int);<br />
		int Sub(int, int);<br />
		int Identify(void);<br />
<br />
<br />
		int Arg;<br />
<br />
};


I can access my DLL functions using LoadLibrary and GetProcAddress but how would I gain access to the DLL class using the same procedure?

Thanks.
AnswerRe: Accessing a DLL class Pin
Cedric Moonen19-Sep-06 5:43
Cedric Moonen19-Sep-06 5:43 
Questionhow to partition a log fog file into 2Mb chunks Pin
flippydeflippydebop19-Sep-06 4:10
flippydeflippydebop19-Sep-06 4:10 
AnswerRe: how to partition a log fog file into 2Mb chunks Pin
David Crow19-Sep-06 4:46
David Crow19-Sep-06 4:46 
AnswerRe: how to partition a log fog file into 2Mb chunks Pin
Jun Du19-Sep-06 4:48
Jun Du19-Sep-06 4:48 
GeneralRe: how to partition a log fog file into 2Mb chunks Pin
David Crow19-Sep-06 4:56
David Crow19-Sep-06 4:56 
GeneralRe: how to partition a log fog file into 2Mb chunks Pin
flippydeflippydebop19-Sep-06 5:07
flippydeflippydebop19-Sep-06 5:07 
QuestionMFC Child window,is not visible Pin
sepehr_vision19-Sep-06 4:02
sepehr_vision19-Sep-06 4:02 
AnswerRe: MFC Child window,is not visible Pin
Jun Du19-Sep-06 5:27
Jun Du19-Sep-06 5:27 
AnswerRe: MFC Child window,is not visible Pin
tanvon malik19-Sep-06 5:39
tanvon malik19-Sep-06 5:39 
Questionproblem with CString Pin
zizzzz19-Sep-06 3:40
zizzzz19-Sep-06 3:40 
AnswerRe: problem with CString Pin
Cedric Moonen19-Sep-06 3:49
Cedric Moonen19-Sep-06 3:49 
GeneralRe: problem with CString Pin
zizzzz19-Sep-06 3:58
zizzzz19-Sep-06 3:58 
AnswerRe: problem with CString Pin
Naveen19-Sep-06 3:51
Naveen19-Sep-06 3:51 
GeneralRe: problem with CString Pin
Zac Howland19-Sep-06 3:57
Zac Howland19-Sep-06 3:57 
GeneralRe: problem with CString Pin
Naveen19-Sep-06 3:59
Naveen19-Sep-06 3:59 
AnswerRe: problem with CString Pin
Zac Howland19-Sep-06 3:56
Zac Howland19-Sep-06 3:56 
AnswerRe: problem with CString Pin
Jun Du19-Sep-06 4:01
Jun Du19-Sep-06 4:01 

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.