Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Where can I get network programming sample codes? Pin
georgiek5010-Nov-02 4:40
georgiek5010-Nov-02 4:40 
GeneralRe: Where can I get network programming sample codes? Pin
George210-Nov-02 19:35
George210-Nov-02 19:35 
AnswerRe: Where can I get network programming sample codes? Pin
valikac10-Nov-02 5:32
valikac10-Nov-02 5:32 
GeneralRe: Where can I get network programming sample codes? Pin
George210-Nov-02 19:37
George210-Nov-02 19:37 
Generaldebug exit codes Pin
Steve L.9-Nov-02 23:23
Steve L.9-Nov-02 23:23 
GeneralAccelerators in a Dialog Application (non-MFC) Pin
cleathley9-Nov-02 21:24
cleathley9-Nov-02 21:24 
GeneralRe: Accelerators in a Dialog Application (non-MFC) Pin
georgiek5010-Nov-02 2:40
georgiek5010-Nov-02 2:40 
GeneralDLL problem Pin
Anatari9-Nov-02 18:11
Anatari9-Nov-02 18:11 
I'm a newbie in creating DLL projects and can't seem to solve this problem. I am using a similar technique to Steve Driessen's article[^].

I'm trying to create a DLL that exports a couple of classes that uses some MFC collection objects, but I keep on getting this warning:

<br />
warning C4251: 'CGifParser::m_aData' : class 'CArray<TYPE,ARG_TYPE>' needs to have dll-interface to be used by clients of class 'CGifParser'<br />


(m_aData) is a CArray that is a member of CGifParser, the class I'm trying to export).

The test program works correctly on a debug build, but not on a release build when testing the DLL.

I'm just trying to create a simple library so that I can reuse the code in other projects easier. Visual Studio .Net complicates everything! I first attempted this by trying to create a static library (.lib) but I got all these duplicate declaration errors from the standard C++ libraries. I'm use to simple command line linkers on Unix =).

Thanks.

- Anatari
GeneralRe: DLL problem Pin
moliate9-Nov-02 20:46
moliate9-Nov-02 20:46 
GeneralWeird heap problem in WinXP Pin
Yanuar9-Nov-02 16:29
Yanuar9-Nov-02 16:29 
QuestionHTML Help(*.chm) Parameters? Pin
Abin9-Nov-02 16:33
Abin9-Nov-02 16:33 
AnswerNever mind, I found it out Pin
Abin9-Nov-02 18:36
Abin9-Nov-02 18:36 
GeneralRe: Never mind, I found it out Pin
Dominik Reichl10-Nov-02 4:39
Dominik Reichl10-Nov-02 4:39 
GeneralRe: Never mind, I found it out Pin
Abin10-Nov-02 5:33
Abin10-Nov-02 5:33 
GeneralRe: Never mind, I found it out Pin
Dominik Reichl10-Nov-02 9:41
Dominik Reichl10-Nov-02 9:41 
GeneralRunning a function as the dialog starts Pin
carrie9-Nov-02 9:45
carrie9-Nov-02 9:45 
GeneralRe: Running a function as the dialog starts Pin
Stephane Rodriguez.9-Nov-02 9:59
Stephane Rodriguez.9-Nov-02 9:59 
GeneralRe: Running a function as the dialog starts Pin
carrie9-Nov-02 11:17
carrie9-Nov-02 11:17 
GeneralRe: Running a function as the dialog starts Pin
Stephane Rodriguez.9-Nov-02 11:30
Stephane Rodriguez.9-Nov-02 11:30 
GeneralRe: Running a function as the dialog starts Pin
Michael Dunn9-Nov-02 12:03
sitebuilderMichael Dunn9-Nov-02 12:03 
GeneralRe: Running a function as the dialog starts Pin
carrie9-Nov-02 12:06
carrie9-Nov-02 12:06 
QuestionRegistry - How to write in HKEY_LOCAL_MACHINE section? Pin
julych9-Nov-02 9:31
julych9-Nov-02 9:31 
AnswerRe: Registry - How to write in HKEY_LOCAL_MACHINE section? Pin
Stephane Rodriguez.9-Nov-02 10:00
Stephane Rodriguez.9-Nov-02 10:00 
GeneralRe: Registry - How to write in HKEY_LOCAL_MACHINE section? Pin
julych9-Nov-02 10:26
julych9-Nov-02 10:26 
AnswerRe: Registry - How to write in HKEY_LOCAL_MACHINE section? Pin
Michael Dunn9-Nov-02 12:04
sitebuilderMichael Dunn9-Nov-02 12:04 

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.