External Call Issue

45 views
Skip to first unread message

MEG

unread,
Feb 10, 2012, 11:15:11 PM2/10/12
to MapInfo-L
I was trying to incorporate the GOOGLE export (GELINK) into a MapBasic
application where the FILE Name is set that needs to be generated.
This will allow the user to simply click a menu option to generate the
file without setting all the parameters each time.

The process works fine to a certain point. The PROGRESS BAR goes to
100% before the following error message is displayed:

Error loading assembly "ConvertUTF8.dll". FileNotFoundException, Could
not load file or assembly 'ConvertUTF8' or one of its
dependencies. The system cannot find the file specified.

I've added all the components that are in the build of the GELINK into
the MapBasic application. Just not sure what is missing/needed.

Hopefully someone with more VB type knowledge can assist me.

Thanks,

MEG

MEG

unread,
Feb 16, 2012, 9:24:51 AM2/16/12
to MapInfo-L
With all the knowledge and MapBasic experience on the board, I'm
surprised no one has encountered a similair situation.

MEG

Uffe Kousgaard

unread,
Feb 16, 2012, 9:41:08 AM2/16/12
to mapi...@googlegroups.com
ConvertUTF8.dll is in this folder on my harddisk:
c:\Program Files (x86)\MapInfo\Professional_110\Tools\

Is that the one you couldn't find?

I won't make guesses for the rest of your setup.

Regards
Uffe Kousgaard

Bo Victor Thomsen

unread,
Feb 16, 2012, 11:08:39 AM2/16/12
to mapi...@googlegroups.com
Uffe is trying tell you 2 things -
  1. You probably forgot to copy the file "ConvertUTF8.dll" to the folder with your modified version of gelink. The file should reside in the same folder as your mbx. This folder must be on a local harddrive, in order to avoid potential .net assembly  security restrictions from Windows.
  2. You won't get many answers by voicing doubts about 2500 people's ability to debug your personal set-up.
Regards
Bo Victor Thomsen    
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

Eric Blasenheim

unread,
Feb 16, 2012, 11:29:20 AM2/16/12
to MapInfo-L
The assembly you listed is an assembly we wrote for the GELink tool
which takes the KML output and rewrites it as UTF-8, since that is the
encoding that works for all languages in Google earth. It makes sense
that it would not be loaded till pretty far into the process. As to
why it is not loaded, I can't be sure. By default, an assembly in the
TOOLS folder (where we install it) would not be found if you moved all
the MBX code to another folder. You might need your own copy. Did you
copy that assembly to your MBX folder or put your code in the TOOLS
folder. You can register your app as a tool as well.

Eric
Reply all
Reply to author
Forward
0 new messages