Re: Compile Differences, WinXP-Pro and Win2K
- From: "MikeD" <nobody@xxxxxxxxxxx>
- Date: Thu, 19 Oct 2006 13:59:38 -0400
"Signet" <22signet7deletethe22@xxxxxxxxxxxxx> wrote in message news:OO0FMe48GHA.4568@xxxxxxxxxxxxxxxxxxxxxxx
>P.S. A little late to be just now finding out about this problem, don't you think?
Yeah, you're right. ;-) I develop at home, and do some checking of stuff at work, but still missed this. Actually, I saw the problem some time ago, recompiled with different settings (on that machine) and the problem was fixed. But not because of the reason I thought.
Anyhow, turns out the problem is with an OCX that I use, having a different version at home than at work. I can change/update that without a problem, but it's pretty weird, to me, that an app compiled with the old version of the OCX will not run with the new one, and vice versa. That means if I update it, and someone else's app used it (or even a previous app of mine), it will break the other apps.
Would putting the OCX in the app's folder help with this? Will that work with Win95 and Win98 as well? (I'm pretty sure WinXP and Win2K can handle multiple versions of OCXs.)
If the OCX is shared among several apps, then under no circumstances should it be installed in an application's directory. If it's used ONLY by a SINGLE app, then that'd be OK.
It sounds like you didn't maintain binary compatibility with the previous version. Consult VB's Help on this and also see the following:
http://www.vbsight.com/BinaryComp.htm
(courtesy of Ken Halter)
--
Mike
Microsoft MVP Visual Basic
.
- References:
- Compile Differences, WinXP-Pro and Win2K
- From: Signet
- Re: Compile Differences, WinXP-Pro and Win2K
- From: MikeD
- Re: Compile Differences, WinXP-Pro and Win2K
- From: Signet
- Compile Differences, WinXP-Pro and Win2K
- Prev by Date: Re: Getting current time in EPOCH time?
- Next by Date: Re: SHGetFolderPath - CSIDL_FLAG_CREATE
- Previous by thread: Re: Compile Differences, WinXP-Pro and Win2K
- Next by thread: Re: Compile Differences, WinXP-Pro and Win2K
- Index(es):
Relevant Pages
|