Click here to Skip to main content
15,910,980 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: it doesn't seem to work?????? Pin
Luuk Weltevreden29-Jan-04 6:06
Luuk Weltevreden29-Jan-04 6:06 
Generalfile problem Pin
styve29-Jan-04 2:47
styve29-Jan-04 2:47 
GeneralRe: file problem Pin
valikac29-Jan-04 6:18
valikac29-Jan-04 6:18 
GeneralRe: file problem Pin
Robert A. T. Káldy29-Jan-04 10:06
Robert A. T. Káldy29-Jan-04 10:06 
GeneralToolBar & StatusBar Pin
edwinak29-Jan-04 2:13
edwinak29-Jan-04 2:13 
GeneralRe: ToolBar & StatusBar Pin
Dominik Reichl29-Jan-04 3:31
Dominik Reichl29-Jan-04 3:31 
GeneralSmall problem with virtual function in DLL class... Pin
vmaltsev29-Jan-04 1:23
vmaltsev29-Jan-04 1:23 
GeneralRe: Small problem with virtual function in DLL class... Pin
Mike Dimmick29-Jan-04 1:50
Mike Dimmick29-Jan-04 1:50 
This is, I admit, a guess.

When included by the application, is it marked __declspec(dllimport)?

You should normally write your header as follows:
#ifdef BUILDING_DLL
#define MYDLL_API __declspec(dllexport)
#else
#define MYDLL_API __declspec(dllimport)
#endif // def BUILDING_DLL

class MYDLL_API A { /* declarations omitted */ };
class MYDLL_API B : public A { /* declarations omitted */ };
and define BUILDING_DLL in the DLL project.

I'm not sure how well __declspec(dllexport) interacts with in-line member function definitions.
GeneralRe: Small problem with virtual function in DLL class... Pin
vmaltsev29-Jan-04 2:02
vmaltsev29-Jan-04 2:02 
Questionhow to place a GIF file on Dialog .. and in rich edit control Pin
Anonymous29-Jan-04 1:20
Anonymous29-Jan-04 1:20 
AnswerRe: how to place a GIF file on Dialog .. and in rich edit control Pin
Scozturk29-Jan-04 1:35
professionalScozturk29-Jan-04 1:35 
AnswerRe: how to place a GIF file on Dialog .. and in rich edit control Pin
sstoyan29-Jan-04 2:27
sstoyan29-Jan-04 2:27 
Questionhow to send Sound buffer (of DirectX Sound) Via Socket .. to my own Server Pin
Anonymous29-Jan-04 1:17
Anonymous29-Jan-04 1:17 
GeneralTerminate another apllication Pin
Cedric Moonen29-Jan-04 1:15
Cedric Moonen29-Jan-04 1:15 
GeneralRe: Terminate another apllication Pin
J. Eric Vaughan29-Jan-04 5:00
J. Eric Vaughan29-Jan-04 5:00 
GeneralRe: Terminate another apllication Pin
Cedric Moonen29-Jan-04 5:07
Cedric Moonen29-Jan-04 5:07 
GeneralMultiple selection in CFileDialog and CListBox Pin
julych29-Jan-04 0:52
julych29-Jan-04 0:52 
GeneralRe: Multiple selection in CFileDialog and CListBox Pin
Diddy29-Jan-04 3:54
Diddy29-Jan-04 3:54 
GeneralRe: Multiple selection in CFileDialog and CListBox Pin
julych29-Jan-04 11:34
julych29-Jan-04 11:34 
GeneralRe: Multiple selection in CFileDialog and CListBox Pin
Diddy30-Jan-04 7:43
Diddy30-Jan-04 7:43 
GeneralProblem with VK_NUMLCOCK and VK_INSERT Pin
svincent29-Jan-04 0:39
svincent29-Jan-04 0:39 
GeneralRe: Problem with VK_NUMLCOCK and VK_INSERT Pin
ohadp29-Jan-04 6:27
ohadp29-Jan-04 6:27 
GeneralStopping MFC MDI Apps from creating a default view Pin
RichardS29-Jan-04 0:36
RichardS29-Jan-04 0:36 
GeneralRe: Stopping MFC MDI Apps from creating a default view Pin
Iain Clarke, Warrior Programmer29-Jan-04 6:22
Iain Clarke, Warrior Programmer29-Jan-04 6:22 
GeneralOddity Copying Global Memory Pin
Steve Thresher29-Jan-04 0:30
Steve Thresher29-Jan-04 0:30 

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.