Click here to Skip to main content
15,887,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compressed image movement is too slow Pin
Stuart Dootson25-Feb-10 21:44
professionalStuart Dootson25-Feb-10 21:44 
GeneralRe: Compressed image movement is too slow Pin
Game-point25-Feb-10 22:18
Game-point25-Feb-10 22:18 
QuestionHow to Get List of Function Pin
Anubhava Dimri25-Feb-10 17:32
Anubhava Dimri25-Feb-10 17:32 
AnswerRe: How to Get List of Function Pin
Cool_Dev25-Feb-10 18:02
Cool_Dev25-Feb-10 18:02 
AnswerRe: How to Get List of Function Pin
Joshua Tully25-Feb-10 18:02
Joshua Tully25-Feb-10 18:02 
QuestionDuplicatreHande question Pin
ForNow25-Feb-10 15:32
ForNow25-Feb-10 15:32 
AnswerRe: DuplicatreHande question Pin
Gwenio25-Feb-10 16:08
Gwenio25-Feb-10 16:08 
QuestionExporting a struct from a DLL Pin
masnu25-Feb-10 9:57
masnu25-Feb-10 9:57 
Hi guys,

Is it possible to export a structure from a dll without including the header file where the structure is define? For example:

/*-------------------------
 mydllheader.h
------------------------------*/

extern "C" __declspec(dllexport) struct MyStruct
{

     MyStruct()
     {
         a = 0;
         b = 0;
     }

     int a;
     int b;

}


Instead of including mydllheader.h I want to do the following:

/*-------------------------
 myimportheader.h
------------------------------*/

extern "C" __declspec(dllimport) struct MyStruct


I would like to use myimportheader.h in my projects that use the dll that way I can hide my structure implementation from the user. Is that possible?

Thanks.
AnswerRe: Exporting a struct from a DLL Pin
Richard MacCutchan25-Feb-10 10:26
mveRichard MacCutchan25-Feb-10 10:26 
AnswerRe: Exporting a struct from a DLL Pin
Avi Berger25-Feb-10 10:36
Avi Berger25-Feb-10 10:36 
QuestionQuestion on Dialog & ComboBox Pin
Software200725-Feb-10 8:08
Software200725-Feb-10 8:08 
AnswerRe: Question on Dialog & ComboBox Pin
Maximilien25-Feb-10 8:13
Maximilien25-Feb-10 8:13 
GeneralRe: Question on Dialog & ComboBox Pin
Software200725-Feb-10 8:18
Software200725-Feb-10 8:18 
QuestionRe: Question on Dialog & ComboBox Pin
David Crow25-Feb-10 17:10
David Crow25-Feb-10 17:10 
AnswerRe: Question on Dialog & ComboBox Pin
KingsGambit25-Feb-10 19:21
KingsGambit25-Feb-10 19:21 
AnswerRe: Question on Dialog & ComboBox Pin
David Crow26-Feb-10 4:18
David Crow26-Feb-10 4:18 
QuestionUsing Flashvars in MFC C++ Pin
lesliecasas25-Feb-10 7:36
lesliecasas25-Feb-10 7:36 
QuestionProblem with owner-drawn list box Pin
sashoalm25-Feb-10 6:30
sashoalm25-Feb-10 6:30 
AnswerRe: Problem with owner-drawn list box Pin
Maximilien25-Feb-10 7:41
Maximilien25-Feb-10 7:41 
AnswerRe: Problem with owner-drawn list box Pin
Eugen Podsypalnikov25-Feb-10 20:09
Eugen Podsypalnikov25-Feb-10 20:09 
Questionaccounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
23_44425-Feb-10 6:08
23_44425-Feb-10 6:08 
AnswerRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
Gwenio25-Feb-10 16:26
Gwenio25-Feb-10 16:26 
GeneralRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
23_44426-Feb-10 3:20
23_44426-Feb-10 3:20 
GeneralRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
Gwenio26-Feb-10 3:59
Gwenio26-Feb-10 3:59 
GeneralRe: accounting for the scrollbar GetSystemMetrics(SM_CYBORDER) Pin
23_44426-Feb-10 4:36
23_44426-Feb-10 4:36 

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.