Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Strange View Of Menu Under Nt 4.0
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
qkowlew
  Posted: May 26 2003, 03:59 AM


Unregistered









Running VirtualDubMod
(VirtualDubMod_1_5_1_1a_all_inclusive.zip 1699179 )

I see this strange picture:

user posted image

I work under Windows NT 4.0 SP6a.
All right in Win 2000.

Sergej Qkowlew, FIDO 2:5020/122
 
  Top
Belgabor
Posted: May 28 2003, 07:53 PM


Developer of VirtualdubMod


Group: VirtualdubMod Team
Posts: 100
Member No.: 998
Joined: 24-November 02



Hard to check without NT. Could you do us a favour and check the older versions of vdubmod and see if they work? thanks.

--------------------
[VirtualDubMod Homepage]
Please submit any bugs/patches/feature requests also using the respective tracker on our sourceforge page
 
     Top
phaeron
Posted: May 29 2003, 06:37 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Hmm... this looks vaguely familiar to a bug I fixed in the 1.4 series. If you define WINVER to 0x0500 or higher (Windows 98+), the MENUITEMINFO structure grows in size. Neither Windows 95 nor NT4.0 like the increased cbSize value and will fail menu API calls when they see it.
 
    Top
Belgabor
Posted: May 30 2003, 02:16 AM


Developer of VirtualdubMod


Group: VirtualdubMod Team
Posts: 100
Member No.: 998
Joined: 24-November 02



I knew I had seen this somewhere. What did you do to fix it? Redefine WINVER? Are there any other consequences to that?

--------------------
[VirtualDubMod Homepage]
Please submit any bugs/patches/feature requests also using the respective tracker on our sourceforge page
 
     Top
phaeron
Posted: May 30 2003, 02:43 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



CODE

#define WIN95_MENUITEMINFO_SIZE (offsetof(MENUITEMINFO, cch) + sizeof(UINT))


Should be the same as sizeof(MENUITEMINFO) with WINVER < 0x0500. If there are consequences to this, I'm screwed, because I'm still shipping releases with this....
 
    Top
Belgabor
Posted: Jun 1 2003, 11:26 PM


Developer of VirtualdubMod


Group: VirtualdubMod Team
Posts: 100
Member No.: 998
Joined: 24-November 02



Thanks Avery, I'll try if it fixes the problem (at least it doesnt seem to break obvious things wink.gif)

--------------------
[VirtualDubMod Homepage]
Please submit any bugs/patches/feature requests also using the respective tracker on our sourceforge page
 
     Top
Belgabor
Posted: Jun 4 2003, 05:47 PM


Developer of VirtualdubMod


Group: VirtualdubMod Team
Posts: 100
Member No.: 998
Joined: 24-November 02



Please check the latest CVS release to see if the bug's gone.

--------------------
[VirtualDubMod Homepage]
Please submit any bugs/patches/feature requests also using the respective tracker on our sourceforge page
 
     Top
AndreasB
Posted: Jun 13 2003, 03:15 PM


Unregistered









Hi,

I had the same problem like qkowlew with NT4, since VirtualDubMod 1.413.

Now, with the CVS-Version (1.5.1.1a build 1631/release) it's gone! Nice work! Thank you _VERY_ much for this great piece of software!
:-)

Andreas

 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
7 replies since May 26 2003, 03:59 AM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports