Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default COM Interface and IDE caching

I create a simple interface in a com object

[Guid("02807777-4A83-48b3-B34E-B965264790E4")
public interface ISimpl

void a()
int b()


I build the object in Visual Studio and load the object from Excel. I can call a and b without any problems

I then change the object's interface to

[Guid("02807777-4A83-48b3-B34E-B965264790E4")
public interface ISimpl

void beforeA()
void a()
int newB()


When I build the project Visual Studio says that it unregisters the prior components and then proceeds to build and register the new component.

Looking at the typelib in OLEView shows the new interface definition is indeed available. Visual Studio however insists that the old interface definition still exists and only shows the old definition in the method completion popup. This is especially odd since the build uses the new definitions

Even stranger is that Excel also now does not have the new interface and calls to the objects new methods fail too.

Where are VS and Excel caching the old definitions and how do i get rid of the old info and load the new? I have looked through the registry and haven't found anything.

Thank

Mar


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Interface ISAF Media Analysis[_2_] Excel Discussion (Misc queries) 2 May 5th 09 11:51 AM
test MS web interface to ngs T. Valko[_2_] Excel Worksheet Functions 5 February 13th 09 08:30 PM
Excel + MS Query + table definition caching Tony Excel Discussion (Misc queries) 0 August 14th 07 12:30 PM
Linked files - Caching of data scott.auer Excel Discussion (Misc queries) 1 June 2nd 05 01:52 PM
Newsgroup Web interface Andrew Edwards Excel Worksheet Functions 2 November 30th 04 01:30 PM


All times are GMT +1. The time now is 06:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"