Click here to Skip to main content
15,898,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to change the background image of the desktop window? Pin
julych18-Mar-03 20:10
julych18-Mar-03 20:10 
AnswerRe: How to change the background image of the desktop window? Pin
Kannan Kalyanaraman18-Mar-03 21:51
Kannan Kalyanaraman18-Mar-03 21:51 
AnswerRe: How to change the background image of the desktop window? Pin
Gary Kirkham19-Mar-03 2:08
Gary Kirkham19-Mar-03 2:08 
QuestionHow to open HTML Help file at a specified location? Pin
julych18-Mar-03 20:07
julych18-Mar-03 20:07 
Generalvc++ 4.0 and dll Pin
wahchai18-Mar-03 18:16
wahchai18-Mar-03 18:16 
GeneralRe: vc++ 4.0 and dll Pin
_Theo_18-Mar-03 21:35
_Theo_18-Mar-03 21:35 
GeneralRe: vc++ 4.0 and dll Pin
wahchai19-Mar-03 19:06
wahchai19-Mar-03 19:06 
GeneralRe: vc++ 4.0 and dll Pin
_Theo_19-Mar-03 21:55
_Theo_19-Mar-03 21:55 
If your square function has for example the following definition:
<br />
int square(int a,int b);<br />


you could do it this way:

<br />
typedef int (*proc)(int a,int b);<br />
<br />
HINSTANCE hLib;<br />
hLib = LoadLibrary("test_build.dll");<br />
proc fptr=(proc)GetProcAddress(hLib,"square");<br />
<br />
abc=fptr(1,2);<br />

GeneralDebug Issue Pin
wavewave18-Mar-03 17:47
wavewave18-Mar-03 17:47 
GeneralRe: Debug Issue Pin
Dave Bryant18-Mar-03 17:54
Dave Bryant18-Mar-03 17:54 
GeneralRe: Debug Issue Pin
wavewave18-Mar-03 22:30
wavewave18-Mar-03 22:30 
GeneralRe: Debug Issue Pin
wavewave18-Mar-03 22:33
wavewave18-Mar-03 22:33 
GeneralDisplaying a dialog from a DLL Pin
Squatch618-Mar-03 17:06
Squatch618-Mar-03 17:06 
GeneralRe: Displaying a dialog from a DLL Pin
Abbas_Riazi18-Mar-03 19:08
professionalAbbas_Riazi18-Mar-03 19:08 
GeneralRe: Displaying a dialog from a DLL Pin
Squatch619-Mar-03 9:15
Squatch619-Mar-03 9:15 
GeneralRe: Displaying a dialog from a DLL Pin
Abbas_Riazi19-Mar-03 20:39
professionalAbbas_Riazi19-Mar-03 20:39 
GeneralRe: Displaying a dialog from a DLL Pin
Squatch619-Mar-03 20:50
Squatch619-Mar-03 20:50 
GeneralICON Pin
Anthony988718-Mar-03 16:19
Anthony988718-Mar-03 16:19 
GeneralRe: ICON Pin
Dave Bryant18-Mar-03 16:26
Dave Bryant18-Mar-03 16:26 
GeneralAttention Graphics Programmers. Pin
73Zeppelin18-Mar-03 16:18
73Zeppelin18-Mar-03 16:18 
GeneralQuestions about VS as an IDE Pin
Jack Handy18-Mar-03 12:34
Jack Handy18-Mar-03 12:34 
GeneralRe: Questions about VS as an IDE Pin
73Zeppelin18-Mar-03 16:22
73Zeppelin18-Mar-03 16:22 
GeneralRe: Questions about VS as an IDE Pin
Phil Boyd18-Mar-03 16:31
Phil Boyd18-Mar-03 16:31 
GeneralRe: Questions about VS as an IDE Pin
Johnny ²18-Mar-03 21:53
Johnny ²18-Mar-03 21:53 
GeneralWhy whould this be lost?... Pin
CherezZaboro18-Mar-03 12:29
CherezZaboro18-Mar-03 12:29 

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.