Mayayana
11/13/2011 3:22:00 PM
I find WinMerge helpful for this kind of thing. I think
I originally got the idea from "Nobody, Master of Useful
Links". To the extent that detailed file comparison can
be made simple, WinMerge achieves that. It would provide
a way to see exactly what's different in the two versions.
The problem you're describing sounds to me like one of
those two day searches that ends with, "Jeez, I can't
believe I overlooked that!"
--
--
"BeeJ" <nospam@spamnot.com> wrote in message
news:j9n0o7$niu$1@speranza.aioe.org...
| Mayayana has brought this to us :
| > There's not really enough info. to tell, but one
| > thing comes to mind: Assuming you're calling
| > Subclass in both cases with nOrdinal set to 1,
| > the callback function needs to be the last method
| > in the calling module. If you added a new function
| > at the end it will fail.
| >
| > --
| > --
| > "BeeJ" <nospam@spamnot.com> wrote in message
| > news:j9mmec$spt$1@speranza.aioe.org...
| >> Same app, same name, one old, one new version.
| >> Old one has mostly the same code.
| >> The new one has fixes and improvements.
| >>
| >> The old on has a UC with subclassing for the mouse.
| >> The new one has the same code. (firstly compared, then deleted and
| >> copied code from old one); still fails.
| >>
| >> The old one runs through the subclassing fine and the subclassing
| >> works.
| >> The new one always fails (did not fail a few days ago).
| >> Fails when trying to find its app in the table.
| >>
| >> This is standrd Paul Caton Subclasser code.
| >> ' Get the address of the specified ordinal method
| >> nAddr = zAddressOf(oCallback, nOrdinal) 'FAILS HERE
| >> If nAddr = 0 Then ' Ensure that we've found the ordinal method
| >> zError SUB_NAME, "Callback method not found"
| >> Exit Function
| >> End If
| >>
| >> So what else is subclassing dependent on?
| >> I can run both at the same time and get different prog IDs as expected.
| >> If it let the new one past the errors, the program runs fine except
| >> that the subclassing stuff, mouse wheel etc are not functional.
| >>
| >> I see no differences in Project References or other places as I step
| >> through from startup in the IDE.
| >> The compiled version produces the same error.
| >>
| >> The PC has been restarted from full OFF several times.
| >>
| >> Is something in the main part of the app or some app property that is
| >> causing the problem?
| >>
| >>
|
| There is none. I have notes all over that area to make sure to NOT put
| any code after. But good though and I did recheck. The old UC code
| (that works in the old app) does not work in the new app so I do not
| think it has anything overt related to the UC code (that has the
| subclassing code in it).
|
| Also, there are zero (0) add-ins.
|
|