Click here to Skip to main content
15,908,581 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need to send info??? Pin
Ravi Bhavnani26-Jan-07 13:24
professionalRavi Bhavnani26-Jan-07 13:24 
GeneralRe: Need to send info??? Pin
Larsson26-Jan-07 13:18
Larsson26-Jan-07 13:18 
GeneralRe: Need to send info??? Pin
Ravi Bhavnani26-Jan-07 13:28
professionalRavi Bhavnani26-Jan-07 13:28 
Questionwin32 api Pin
asp.netProgrammer26-Jan-07 10:01
asp.netProgrammer26-Jan-07 10:01 
AnswerRe: win32 api Pin
Chris Losinger26-Jan-07 10:11
professionalChris Losinger26-Jan-07 10:11 
AnswerRe: win32 api Pin
Hamid_RT27-Jan-07 2:08
Hamid_RT27-Jan-07 2:08 
QuestionStreaming ZIP data and linker problem Pin
jhinze26-Jan-07 9:45
jhinze26-Jan-07 9:45 
AnswerRe: Streaming ZIP data and linker problem Pin
Mark Salsbery26-Jan-07 11:21
Mark Salsbery26-Jan-07 11:21 
Maybe I'm way off, but my first thought is that the classes in the DLL aren't exported.

What if you do something like the AFX_EXT_CLASS macro in MFC.

Add something like this to your precompiled header or someplace before every .h file is
compiled:

#if !defined(ZIPIOS_IMP_EXP)
#if defined(ZIPIOS_DLL_BUILD)
#define ZIPIOS_IMP_EXP __declspec(dllexport)
#else
#define ZIPIOS_IMP_EXP __declspec(dllimport)
#endif
#endif

In the zipios source, change the class declarations from

class ZipFile : public FileCollection {
...

to

class ZIPIOS_IMP_EXP ZipFile : public FileCollection {
...

(base classes need to be exported as well)

Define ZIPIOS_DLL_BUILD when building the dll and don't define it when building the app.

Mark

Questiongmon.out File Pin
compmaniac26-Jan-07 8:50
compmaniac26-Jan-07 8:50 
QuestionRe: gmon.out File Pin
David Crow26-Jan-07 9:15
David Crow26-Jan-07 9:15 
AnswerRe: gmon.out File Pin
compmaniac26-Jan-07 9:20
compmaniac26-Jan-07 9:20 
QuestionTcp/Ip send() does sometimes not succeed Pin
Dee Veloper26-Jan-07 5:48
Dee Veloper26-Jan-07 5:48 
AnswerRe: Tcp/Ip send() does sometimes not succeed Pin
Mark Salsbery26-Jan-07 6:05
Mark Salsbery26-Jan-07 6:05 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Dee Veloper26-Jan-07 6:13
Dee Veloper26-Jan-07 6:13 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Mark Salsbery26-Jan-07 6:25
Mark Salsbery26-Jan-07 6:25 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Dee Veloper26-Jan-07 6:39
Dee Veloper26-Jan-07 6:39 
QuestionRe: Tcp/Ip send() does sometimes not succeed Pin
Mark Salsbery26-Jan-07 7:00
Mark Salsbery26-Jan-07 7:00 
AnswerRe: Tcp/Ip send() does sometimes not succeed Pin
Dee Veloper26-Jan-07 7:09
Dee Veloper26-Jan-07 7:09 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Mark Salsbery26-Jan-07 7:21
Mark Salsbery26-Jan-07 7:21 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Dee Veloper26-Jan-07 7:39
Dee Veloper26-Jan-07 7:39 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Mark Salsbery26-Jan-07 7:50
Mark Salsbery26-Jan-07 7:50 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Mike O'Neill26-Jan-07 10:33
Mike O'Neill26-Jan-07 10:33 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Mark Salsbery26-Jan-07 10:42
Mark Salsbery26-Jan-07 10:42 
GeneralRe: Tcp/Ip send() does sometimes not succeed Pin
Mark Salsbery26-Jan-07 10:47
Mark Salsbery26-Jan-07 10:47 
AnswerRe: Tcp/Ip send() does sometimes not succeed [modified] Pin
Eytukan26-Jan-07 7:11
Eytukan26-Jan-07 7:11 

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.