Re: How to pass FILE *
On Fri, Sep 28, 2012 at 2:55 PM, xDog Walker <firstname.lastname@example.org> wrote:
> The function I am trying to call wants a FILE *:
> dlg_progressbox(const char *title,
> const char *cprompt,
> int height,
> int width,
> int pauseopt,
> FILE *fp)
> I can open the file to be referenced:
> fp = os.fdopen(self.pipefds, 'r')
> Every thing I've tried ends with ctypes raising a TypeError.
What specifically did you try?
A tiny bit of googling suggests the following approach:
Related POSIX docs:
|All times are GMT. The time now is 07:15 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.