SendMessage
Sounds good! :-) -- David Efficiently read and post to forums with newsreaders: http://communitybridge.codeplex.com
View ArticleSendMessage
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 ArticleSendMessage
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 ArticleSendMessage
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 ArticleSendMessage
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 ArticleSendMessage
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 ArticleSendMessage
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 ArticleSendMessage
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 ArticleSendMessage
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 ArticleSendMessage
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 ArticleSendMessage
Thank you, I will definately perform the conversion before sending the dataAdeel
View ArticleSendMessage
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 ArticleSendMessage
Not the struct basically the values of data members from one struct to the struct that resides in other applicationAdeel
View ArticleSendMessage
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 ArticleSendMessage
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
More Pages to Explore .....