My application was humming away with no problems so I decided to add a data-to-Excel feature. As soon as I added Excel.inc, I got a duplicated equate message. The offending item was in (obviously) the Excel.inc file, and ocidl.inc, called from atl.inc (the Roca visual activex wrapper). Risking the wrath of MCM for not posting code, can anyone give me a primer on how to deal with overlaps in a potentially large number of .inc files. Oh heck, just for MCM-
I will note that I'm not sure if win32api is being picked up from my pb directory, or my "other inc" directory.
Thanks!
Code:
#INCLUDE ONCE "Excel.inc" #INCLUDE ONCE "ATL.INC" ' from Jose Roca's web site #INCLUDE ONCE "NSTSQUIGGLECTRL.INC" ' generated with the PBrowser included with ver. 9 #INCLUDE ONCE "WIN32API.INC" ' windows api functions from PowerBASIC
Thanks!
Comment