Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91413
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!lightspeed.eweka.nl!lightspeed.eweka.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'initialize': 0.05; 'subject:file': 0.07; 'url:msdn': 0.07; 'subject:Getting': 0.09; 'url:github': 0.09; 'argument': 0.15; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'subject:image': 0.16; 'subject:windows': 0.16; 'thanks!!!': 0.16; 'wrote:': 0.16; 'pointer': 0.18; 'code,': 0.23; 'file.': 0.24; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'wondering': 0.25; 'example': 0.25; 'header:User-Agent:1': 0.26; 'function': 0.30; 'code': 0.31; 'gets': 0.32; 'getting': 0.33; 'third': 0.33; 'could': 0.35; 'to:addr:python-list': 0.35; 'url:library': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'someone': 0.38; 'url:microsoft': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'hello,': 0.40; 'here:': 0.62; 'url:en-us': 0.66; '(ref': 0.84; 'bitmap': 0.84 |
| X-CM-Score | 0.00 |
| X-CNFS-Analysis | v=2.1 cv=ZuhjKrLG c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=QrohdLjRRo4A:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=NEAV23lmAAAA:8 a=yMhMjlubAAAA:8 a=GyYAJ3rcIDHIR0ZX1KUA:9 a=QEXdDO2ut3YA:10 |
| X-AUTH | mrabarnett@:2500 |
| Date | Fri, 29 May 2015 01:36:46 +0100 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Getting an image from a file on windows |
| References | <2dc4ea02-496f-41da-a287-63f178450c0e@googlegroups.com> |
| In-Reply-To | <2dc4ea02-496f-41da-a287-63f178450c0e@googlegroups.com> |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.150.1432859817.5151.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1432859817 news.xs4all.nl 2920 [2001:888:2000:d::a6]:46381 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3637 |
| X-Received-Body-CRC | 1089992768 |
| Xref | csiph.com comp.lang.python:91413 |
Show key headers only | View raw
On 2015-05-29 01:03, IronManMark20 wrote: > Hello, > > I have been working on a function that gets a bitmap of the thumbnail > for a file. I have had problems getting a large image (256x256) and I > was wondering if someone could help me on one object initialization > that is driving me nuts. > > I have code here: > https://gist.github.com/IronManMark20/a83fe7ff7ea9b40c09af > > I need to initialize a *void pointer for the third argument for > SHGetImageList (ref > https://msdn.microsoft.com/en-us/library/bb762185). > > What should the initialization look like (please give me example > code, not just "Oh it should be a ctypes.c_void_p"). > > Thanks!!! > Have you tried byref(hico)?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting an image from a file on windows IronManMark20 <mr.smittye@gmail.com> - 2015-05-28 17:03 -0700
Re: Getting an image from a file on windows MRAB <python@mrabarnett.plus.com> - 2015-05-29 01:36 +0100
Re: Getting an image from a file on windows IronManMark20 <mr.smittye@gmail.com> - 2015-05-28 18:39 -0700
Re: Getting an image from a file on windows IronManMark20 <mr.smittye@gmail.com> - 2015-05-28 20:41 -0700
csiph-web