954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Visual C++ and Excel

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

pablojim
Newbie Poster
1 post since Apr 2003
Reputation Points: 12
Solved Threads: 0
 
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 functionReadProcessMemory detailed info avaible at msdn.com

BountyX
Posting Whiz in Training
230 posts since Mar 2004
Reputation Points: 28
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You