Search the web
Sign In
New User? Sign Up
mingw32 · Mingw - GNU Compiler for Win9x/NT/2K
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Video for windows   Message List  
Reply | Forward Message #3344 of 3345 |
Re: [mingw] Re: Video for windows

Am Mit, 06 Sep 2000 schrieb zaqhaq@...:

>> gcc should accept that, but you can always try to replace
>What version of gcc do you use?
>At least 2.95.2 gives an "uncompleted datatype" error.

OK - I tried it and You're right - gcc complains


>> PALETTEENTRY peNew[]; with
>> PALETTEENTRY *peNew;
---- Was no good ----

>Would it work if I set the number of elements "big enough" ?
That would waste a lot of memory.


I took a look at the mingw headers, and for there is always just 1 element.

wingdi.h> typedef struct _BITMAPCOREINFO {
wingdi.h> BITMAPCOREHEADER bmciHeader;
wingdi.h> RGBTRIPLE bmciColors[1];
wingdi.h> } BITMAPCOREINFO,*LPBITMAPCOREINFO,*PBITMAPCOREINFO;

so put
PALETTEENTRY peNew[1];

and it will work.

Ciao,
Franco



Wed Sep 6, 2000 9:08 pm

franco.bez@...
Send Email Send Email

Forward
Message #3344 of 3345 |
Expand Messages Author Sort by Date

Mingw32 already has import libraries for "video for windows" but libvfw32.a is broken. It tries to link to vfw32.dll but no such file exists instead should it...
zaqhaq@...
Send Email
Sep 5, 2000
4:25 pm

... There's no real need for this, You can always link to all three importlibs. try ar --help There's one command for extracting, and one for adding object...
Franco Bez
franco.bez@...
Send Email
Sep 5, 2000
7:53 pm

... From: <zaqhaq@...> To: <mingw32@egroups.com> Sent: Tuesday, September 05, 2000 5:25 PM Subject: [mingw] Video for windows ... The VFW32 import...
Jose Fonseca
em96115@...
Send Email
Sep 5, 2000
9:02 pm

... three ... nonexistent ... with ... objects from ... Thanks! I still do not understand exactly how you did it but it seems to work except for the...
zaqhaq@...
Send Email
Sep 6, 2000
8:16 pm

... What version of gcc do you use? At least 2.95.2 gives an "uncompleted datatype" error. ... Would it work if I set the number of elements "big enough" ? ...
zaqhaq@...
Send Email
Sep 6, 2000
8:12 pm

... OK - I tried it and You're right - gcc complains ... That would waste a lot of memory. I took a look at the mingw headers, and for there is always just 1...
Franco Bez
franco.bez@...
Send Email
Sep 6, 2000
9:07 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help