Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7066213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:03:24+00:00 2026-05-28T05:03:24+00:00

I am trying to figure why this error is happening and determine if it

  • 0

I am trying to figure why this error is happening and determine if it is possible to prevent it.

So, this is all in VS2008 running on Windows XP Pro SP3. I am writing plugin toolbar DLLs for a mapping application called FalconView 4.1.1.6. FalconView (fvw.exe) is an activex application. The toolbars generally work fine except for an occasional pain in the neck error (the error message I am getting is at the end of this question since it is pretty long).

I can sometimes force this error message by installing a release version of our software on a test laptop, replacing the release DLL with the debug DLL (for test purposes), uninstalling the toolbar, and then installing the next version of the toolbar. Boom, there is the error. The error also happens when writing and debugging as well but less predictably. I can fix this on my development machine by removing references to fvw from the project, exiting vs2008, un-registering all copies of Interop.fvw.dll (generated from a tlb file provided by FalconView), running “fvw /regserver”, reloading the project, and adding Interop.fvw.dll back into the project. What a pain! What is happening here? Is there a way to prevent this?

Thanks!

The error in question:
System.InvalidCastException: Unable to cast COM object of type ‘fvw.MapClass’ to interface type ‘fvw.IMap’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{E353BC6C-E8AB-11D3-80B9-00C04F60B086}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at fvw.MapClass.GetElevation(Double lat, Double lon, Int32& elevation)
at Toolbar.rpuav_com.SendElevationData(Hub Station)

Note that {E353BC6C-E8AB-11D3-80B9-00C04F60B086} is in the registry when I look for it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:03:25+00:00Added an answer on May 28, 2026 at 5:03 am

    Uggg… I was really hoping that I wouldn’t end up answering my own question. It feels so wrong somehow.

    Anyhow, the problem was with the Interop.fvw.dll file being used. We are supposed to use the one provided with FalconView (built with the also-provided fvw.tlb). Our project references that dll and Visual Studio copies it to our release folder when building the Release version of our plugin and to the Program Files folder when we are debugging. Somehow, and I don’t understand this, a new Interop.fvw.dll gets generated (possibly an intern, other employee, or just magic??) and the bloody thing gets “stuck” in the problem projects.

    How can I tell a new interop dll is re-generated? The public key token is all zeros while the one from the FalconView makers has an actual number. Now if only they would sign their assembly as well.

    The fix for me is:

    1. remove the offending Interop.fvw.dll from the project references
    2. save the project and exit visual studio
    3. in the project’s Program Files folder run “regasm /u Interop.fvw.dll”
    4. run “fvw /regserver” for good measure
    5. reload the project and re-reference the proper FalconView Interop.fvw.dll
    6. clean the project build and then rebuild

    Thanks everyone for the effort at helping! Very much appreciated!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to figure out this error from previous 3 hours. By searching,
I am trying to figure out why I get this error. My code is
This time I have an error which I have been trying again to figure
I just spent the last 3 hours trying to figure out this error. I
I'm trying to figure out why I'm getting this error: switch (token.type.GetName()) { case
I'm trying to figure out why I am getting this error when my Magento
I'm trying to figure out why this is happening. I'll have the user be
Been trying to figure this one out all day. I have a large text
I'm trying to figure out if this is normal. Because without errors, a connection
Trying to figure this out... I'm trying to accessthe top level of the dom

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.