Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (http://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   VB6 IIDs changing for no obvious reason. (http://www.kinook.com/Forum/showthread.php?t=715)

jmm 12-21-2004 04:37 PM

VB6 IIDs changing for no obvious reason.
 
I have discovered that every time I (re-)build a VB6 COM object, it ends up with new IIDs (Interface UUIDs).
This happens even though:
1) Binary compatibility is ON (see "Build VB6" VBP project file below).
2) The VB6 source has not changed.
3) The *only* deltas in the interface are the IIDs, the interface content is identical.
4) No other GUIDs (CLSID, TypeLib) change.

This started happening after I started using VBP to do the builds. While I am not saying VBP caused this problem (and I don't see how it could), when I build the exact same source on an older version ("pre-VBP") of the build system disk, the IIDs do not change. The IIDs also change if I build the project the "pre-VBP" way using the current (VBP) build system disks.

Any ideas on what is causing the IIDs to change?


Notes:
1) I found the changing IIDs by using "OLE View" to generate IDL for a problem DLL (VBIliadDataMgr.dll) TypeLib.
Then I used WinDiff and found that 3 IIDs differed.
It is always the same 3 IDs that change, the other 7 do not change.
I have attached IDL made from 3 versions of this DLL.

2) The "Build VB6" VBP project file used to run the IDE looks like:



Project steps


-1
-1
..\cbin
%PROJ_FILE%
-1
..\bin
%VB6BLDVERSION%
2
-1
1
VB6 build




3) FWIW, the run-time error associated with this problem is the expected one:
Run-time error '430':
Class does not support Automation or does not support expected interface

jmm 12-21-2004 04:40 PM

1 Attachment(s)
A ZIP of the IDL files seemed to disappear from my original posting. So here they are.

kinook 12-22-2004 01:23 PM

Not really. I'm pretty sure it's a VB thing and not VBP, since the Make VB6 action ultimately invokes the VB6 compiler to actually build. You might turn off any custom functionality of the Make VB6 action (settings on the Compatibility and Versions tab) to see if it makes a difference.

One of these posts might be related to what you're seeing: http://groups-beta.google.com/groups...r=&sa=N&tab=wg


All times are GMT -5. The time now is 05:27 AM.


Copyright 1999-2019 Kinook Software, Inc.