Click here to Skip to main content
15,940,430 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionClass definition issue Pin
Patrick G7-Aug-08 4:57
Patrick G7-Aug-08 4:57 
AnswerRe: Class definition issue Pin
Cedric Moonen7-Aug-08 5:04
Cedric Moonen7-Aug-08 5:04 
GeneralRe: Class definition issue Pin
Patrick G7-Aug-08 5:33
Patrick G7-Aug-08 5:33 
QuestionCalling exported functions from a static DLL Pin
Yashusid7-Aug-08 4:01
Yashusid7-Aug-08 4:01 
AnswerRe: Calling exported functions from a static DLL Pin
Matthew Faithfull7-Aug-08 4:18
Matthew Faithfull7-Aug-08 4:18 
GeneralRe: Calling exported functions from a static DLL Pin
Yashusid7-Aug-08 4:40
Yashusid7-Aug-08 4:40 
GeneralRe: Calling exported functions from a static DLL Pin
led mike7-Aug-08 4:44
led mike7-Aug-08 4:44 
GeneralRe: Calling exported functions from a static DLL Pin
Matthew Faithfull7-Aug-08 4:53
Matthew Faithfull7-Aug-08 4:53 
OK, you need to add x.lib to the Input files list for the Linker. I'd need to know what development environment you're using to be much more specific.

Your exe source files which call functions in the dll will need to include the relevant header file from the dll source e.g.

<br />
//exe_main.cpp<br />
<br />
#include "mydll.h"<br />
<br />
int iResult = MyDllFunction( "SomeString" );<br />
<br />


"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)

GeneralRe: Calling exported functions from a static DLL Pin
Yashusid7-Aug-08 5:15
Yashusid7-Aug-08 5:15 
GeneralRe: Calling exported functions from a static DLL Pin
Matthew Faithfull7-Aug-08 5:29
Matthew Faithfull7-Aug-08 5:29 
GeneralRe: Calling exported functions from a static DLL Pin
Yashusid8-Aug-08 0:59
Yashusid8-Aug-08 0:59 
AnswerRe: Calling exported functions from a static DLL Pin
Cedric Moonen7-Aug-08 4:23
Cedric Moonen7-Aug-08 4:23 
AnswerRe: Calling exported functions from a static DLL Pin
toxcct7-Aug-08 4:25
toxcct7-Aug-08 4:25 
QuestionAre THE MFC FTP classes limited to 32bit file sizes? Pin
Paul Deckers7-Aug-08 3:48
Paul Deckers7-Aug-08 3:48 
AnswerRe: Are THE MFC FTP classes limited to 32bit file sizes? Pin
led mike7-Aug-08 4:41
led mike7-Aug-08 4:41 
QuestionPassing string array as pointer Pin
__DanC__7-Aug-08 3:47
__DanC__7-Aug-08 3:47 
AnswerRe: Passing string array as pointer Pin
David Crow7-Aug-08 4:01
David Crow7-Aug-08 4:01 
GeneralRe: Passing string array as pointer Pin
__DanC__7-Aug-08 4:11
__DanC__7-Aug-08 4:11 
GeneralRe: Passing string array as pointer Pin
David Crow7-Aug-08 4:19
David Crow7-Aug-08 4:19 
GeneralRe: Passing string array as pointer Pin
__DanC__7-Aug-08 4:22
__DanC__7-Aug-08 4:22 
GeneralRe: Passing string array as pointer Pin
David Crow7-Aug-08 4:55
David Crow7-Aug-08 4:55 
QuestionRe: Passing string array as pointer Pin
Matthew Faithfull7-Aug-08 4:09
Matthew Faithfull7-Aug-08 4:09 
AnswerRe: Passing string array as pointer Pin
__DanC__7-Aug-08 4:14
__DanC__7-Aug-08 4:14 
GeneralRe: Passing string array as pointer Pin
Matthew Faithfull7-Aug-08 4:25
Matthew Faithfull7-Aug-08 4:25 
AnswerRe: Passing string array as pointer Pin
Stephen Hewitt7-Aug-08 14:52
Stephen Hewitt7-Aug-08 14:52 

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.