943,381 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 18635
  • C++ RSS
Apr 28th, 2003
2

Visual C++ and Excel

Expand Post »
I have just written some classes in visual c++ with MFC that give me out data I want to plot in excel.

Are there any tutorials out there that will help me write a macro in excel that will pass the data to my classes then read the results given by the classes?

Thanks

pablo
Similar Threads
Reputation Points: 12
Solved Threads: 0
Newbie Poster
pablojim is offline Offline
1 posts
since Apr 2003
Mar 27th, 2004
0

Re: Visual C++ and Excel

Quote originally posted by pablojim ...
I have just written some classes in visual c++ with MFC that give me out data I want to plot in excel.

Are there any tutorials out there that will help me write a macro in excel that will pass the data to my classes then read the results given by the classes?

Thanks

pablo
You can do it reverse, have the class (while the program is running) get the marco from excel instead of excel passing it in. This can be achieved by using a timer and ReadProcessMemory(), but your going to have to find the offset of the marco string using a memory scanner such as Tsearch.

good luck as always for the above function ReadProcessMemory detailed info avaible at msdn.com
Reputation Points: 28
Solved Threads: 9
Posting Whiz in Training
BountyX is offline Offline
222 posts
since Mar 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Program runs in an infinite loop
Next Thread in C++ Forum Timeline: Preventing Hooks





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC