All,

I am having problems programmatically adding mapinfo TAB files.  Here's the
sample code straight from the book.

TABTableDescHelper myTabDesc = new TABTableDescHelper(strTabFileToAdd);
TABDataProviderHelper myDPHelper = new TABDataProviderHelper(strMapPath,
false, false, false, false);
MapXtremeDataProviderRef myMXDPRef = new
MapXtremeDataProviderRef(myDPHelper, strServerName, nPort);

The 2nd line will not compile with the following error.
simplemap.java.442: cannot resolve symbol
symbol  :  contructor TABDataProviderHelper
(java.lang.String,boolean,boolean,boolean,boolean)
location: class com.mapinfo.dp.tab.TABDataProviderHelper
                TABDataProviderHelper myDPHelper = new
TABDataProviderHelper(strMapPath,false,false,false,fasle);

the /\ is pointing to the 'new' comment.
All 3 of the tab.TAB*.class files are imported.

Any ideas?  Thanks,
Mark C


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to