Quantcast
Channel: SendMessage
Browsing all 15 articles
Browse latest View live

SendMessage

Sounds good!  :-) -- David Efficiently read and post to forums with newsreaders: http://communitybridge.codeplex.com

View Article



SendMessage

Yes. Actually my host application is a 64-bit Application and the Delphi DLL is 32-bit. Since 32-bit DLL cannot be called in 64-bit application, therefore I created an invisible MFC Dialog based...

View Article

SendMessage

I believe all of the solutions we are proposing (using serialization, etc.) require you to convert the data into something suitable for the Delphi DLL.  So the process which hosts the Delphi DLL would...

View Article

SendMessage

Why don’t you simply store the contents of the strings in the struct instead of pointers, e.g. struct TrendGraphData{    wchar_t  szProjectName[MAX_PROJECT_NAME];    ...    wchar_t...

View Article

SendMessage

Why don’t you simply store the contents of the strings in the struct instead of pointers, e.g. struct TrendGraphData{    wchar_t  szProjectName[MAX_PROJECT_NAME];    ...    wchar_t...

View Article


Image may be NSFW.
Clik here to view.

SendMessage

Consider this approach. CreateCMemFile and CArchive and serialize all of your data using “<<” operators etc. Then callGetLength and Detach of CMemFile to obtain a binary representation of...

View Article

SendMessage

Serialization of a group of strings is easy.  Why not do it yourself? You can simply append each string to one master string (or CString), putting a unique separator character between strings. 

View Article

SendMessage

Consider this approach. CreateCMemFile and CArchive and serialize all of your data using “<<” operators etc. Then callGetLength and Detach of CMemFile to obtain a binary representation of...

View Article


SendMessage

Consider this approach. CreateCMemFile and CArchive and serialize all of your data using “<<” operators etc. Then callGetLength and Detach of CMemFile to obtain a binary representation of...

View Article


SendMessage

So lets say that I have a common header file in both the MFC Applications. In both the header file I have some CString type objects and I want to pass value from one Application to another using...

View Article

SendMessage

Thank you, I will definately perform the conversion before sending the dataAdeel

View Article

SendMessage

But the struct contains pointers, and you can't send pointers to another process. You will need to copy the strings, not the string pointers.

View Article

SendMessage

Not the struct basically the values of data members from one struct to the struct that resides in other applicationAdeel

View Article


SendMessage

You can't simply copy the struct because it contains pointers that will be meaningless in the receiving application. So you will have to create a message of some sort that contains the actual values...

View Article

SendMessage

I have to applications 1) A COM DLL basically an MS Office Addin 2) An MFC Based Dialogbased application. Both have this structure commonstruct TrendGraphData { wchar_t * szProjectName; int iGoodColor;...

View Article

Browsing all 15 articles
Browse latest View live




Latest Images