Re: [ql-users] C structures

2003-07-13 Thread Marcel Kilgus
Wolfgang Lenerz wrote: BTW: I'm back. Will probably start answering mails tomorrow. Did you win? Nah, but we didn't really expect to win. Other teams are years of development ahead and have a much higher motivation (e.g. being freed from the military service like IIRC the Persian team). We did

Re: [ql-users] C structures

2003-07-12 Thread Dilwyn Jones
Phoebus Dokos wrote: You could also get BMP2SCR from Malcolm and use it in reverse (trivial to do so and from the quick look I gave to your code you're on the right track). Just had a quick look (it's on disk GE104 in my PD library) . However, it doesn't explain the file structure except how

Re: [ql-users] C structures

2003-07-12 Thread Phoebus Dokos
On Sat, 12 Jul 2003 08:49:49 +0100, Dilwyn Jones [EMAIL PROTECTED] wrote: Phoebus Dokos wrote: You could also get BMP2SCR from Malcolm and use it in reverse (trivial to do so and from the quick look I gave to your code you're on the right track). Just had a quick look (it's on disk GE104 in my

RE: [ql-users] C structures

2003-07-11 Thread Duncan Neithercut
Jones Sent: 11 July 2003 20:33 To: QL Users List Subject: [ql-users] C structures In attempting to write routines to convert graphics, I've used some Windows documentation which refers to C structures. It refers to UINT, DWORD and LONG. Can someone explain these to a C ignoramus (i.e. me

Re: [ql-users] C structures

2003-07-11 Thread Marcel Kilgus
Dilwyn Jones wrote: In attempting to write routines to convert graphics, I've used some Windows documentation which refers to C structures. It refers to UINT, DWORD and LONG. They're defined as follows: DWORD = unsigned long UINT = unsigned int Generally you can never say for sure what an

Re: [ql-users] C structures

2003-07-11 Thread Laurence Reeves
Dilwyn Jones wrote: In attempting to write routines to convert graphics, I've used some Windows documentation which refers to C structures. It refers to UINT, DWORD and LONG. Can someone explain these to a C ignoramus (i.e. me): UINT - Unsigned integer presumably, how many bytes? DWORD - Double

Re: [ql-users] C structures

2003-07-11 Thread Phoebus Dokos
On Fri, 11 Jul 2003 22:48:29 +0100, Dilwyn Jones [EMAIL PROTECTED] wrote: Dilwyn, I do have a full program ready that does that, however you're killing yourself with no reason. Just press Print Screen while you're running QPC and then paste it in your favourite graphics editor :-) Presto

Re: [ql-users] C structures

2003-07-11 Thread Marcel Kilgus
Dilwyn Jones wrote: It's from the file format for a 24-bit .BMP file. There are routines to port BMP to MODE 32 and 33 but not AFAIK to convert mode 32 screens to 24-bit PC format. The BMP format originates from Win16 platforms, so my earlier explanations regarding sizes don't apply. An int

Re: [ql-users] C structures

2003-07-11 Thread Roy wood
In message [EMAIL PROTECTED], Phoebus Dokos [EMAIL PROTECTED] writes On Fri, 11 Jul 2003 22:48:29 +0100, Dilwyn Jones [EMAIL PROTECTED] wrote: Dilwyn, I do have a full program ready that does that, however you're killing yourself with no reason. Just press Print Screen while you're running QPC

Re: [ql-users] C structures

2003-07-11 Thread Phoebus Dokos
On Fri, 11 Jul 2003 23:31:43 +0100, Roy wood [EMAIL PROTECTED] wrote: snip Phoebus I'd like a copy of that ! Do you have the .NET framework installed? Phoebus -- Phoebus Dokos - Undergrad in MIS Eberly College of Business - Indiana U. of PA