Click here to Skip to main content
15,896,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Weird VC++ behaviour Pin
Michael P Butler10-Oct-03 9:03
Michael P Butler10-Oct-03 9:03 
GeneralRe: Weird VC++ behaviour Pin
DaFrawg27-Oct-03 2:05
DaFrawg27-Oct-03 2:05 
GeneralRe: Weird VC++ behaviour Pin
David Crow3-Oct-03 10:07
David Crow3-Oct-03 10:07 
GeneralRe: Weird VC++ behaviour Pin
DaFrawg4-Oct-03 2:23
DaFrawg4-Oct-03 2:23 
GeneralRe: Weird VC++ behaviour Pin
David Crow6-Oct-03 2:59
David Crow6-Oct-03 2:59 
GeneralRe: Weird VC++ behaviour Pin
Mike Dimmick3-Oct-03 23:52
Mike Dimmick3-Oct-03 23:52 
GeneralRe: Weird VC++ behaviour Pin
DaFrawg27-Oct-03 2:00
DaFrawg27-Oct-03 2:00 
QuestionSDK creation (export of variables)? Pin
sjcomp3-Oct-03 9:25
sjcomp3-Oct-03 9:25 
Hello, everyone.

I am making a program with plug-ins. So I designed SDK (header files + lib file). This sdk is being used by the main program and plug-ins. I am working VC6. Now to the problem. I want to have a global object, which can be used and modified by the main program and all plug-ins (so it is a global object in the sdk). I am confused about how this object is used by main program and dll's. It looks like main program has its own version and each dll has its own version, while I want it to be shared. How do I do it?

And another concern: for right now my sdk is a static linked library, but can I make it to be a dll too? My confustion is that program must load dll and import its functions (like plug-ins), while I want a case, when implimentation of the sdk functions are in the shared dll. I would like to have more information about this topic, does anyone know a good reading material on the subject?

Thank you.

Regards,
Alexander.
AnswerRe: SDK creation (export of variables)? Pin
Peter Weyzen3-Oct-03 9:34
Peter Weyzen3-Oct-03 9:34 
GeneralRe: SDK creation (export of variables)? Pin
sjcomp3-Oct-03 9:45
sjcomp3-Oct-03 9:45 
GeneralRe: SDK creation (export of variables)? Pin
Peter Weyzen3-Oct-03 9:55
Peter Weyzen3-Oct-03 9:55 
GeneralRe: SDK creation (export of variables)? Pin
sjcomp3-Oct-03 10:06
sjcomp3-Oct-03 10:06 
GeneralRe: SDK creation (export of variables)? Pin
Peter Weyzen3-Oct-03 10:27
Peter Weyzen3-Oct-03 10:27 
GeneralRe: SDK creation (export of variables)? Pin
sjcomp3-Oct-03 10:41
sjcomp3-Oct-03 10:41 
GeneralRe: SDK creation (export of variables)? Pin
Peter Weyzen3-Oct-03 11:24
Peter Weyzen3-Oct-03 11:24 
GeneralRe: SDK creation (export of variables)? Pin
sjcomp3-Oct-03 11:46
sjcomp3-Oct-03 11:46 
GeneralRe: SDK creation (export of variables)? Pin
Peter Weyzen3-Oct-03 12:10
Peter Weyzen3-Oct-03 12:10 
AnswerRe: SDK creation (export of variables)? Pin
Gopalakrishna Palem3-Oct-03 19:18
Gopalakrishna Palem3-Oct-03 19:18 
GeneralRe: SDK creation (export of variables)? Pin
sjcomp4-Oct-03 7:01
sjcomp4-Oct-03 7:01 
GeneralRe: SDK creation (export of variables)? Pin
Gopalakrishna Palem4-Oct-03 14:39
Gopalakrishna Palem4-Oct-03 14:39 
AnswerRe: SDK creation (export of variables)? Pin
sjcomp6-Oct-03 4:19
sjcomp6-Oct-03 4:19 
GeneralPSAPI and Winsock Pin
Peter Weyzen3-Oct-03 9:24
Peter Weyzen3-Oct-03 9:24 
GeneralCFormView Issues! Pin
Steven M Hunt3-Oct-03 8:59
Steven M Hunt3-Oct-03 8:59 
GeneralRe: CFormView Issues! Pin
Maximilien3-Oct-03 9:09
Maximilien3-Oct-03 9:09 
GeneralRe: CFormView Issues! Pin
vcplusplus3-Oct-03 9:23
vcplusplus3-Oct-03 9:23 

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.