[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Getting strings from wineserver(Basic C help needed)
From:       Alexandre Julliard <julliard () winehq ! com>
Date:       2000-02-27 22:01:22
[Download RAW message or body]

Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> writes:

> But even adding only
> 	fprintf( stderr, "%s\n",process->exe_file->name);
> in the for()-loop in process_snap() gives
> process.c: In function `process_snap':
> process.c:496: dereferencing pointer to incomplete type

struct file is private to file.c, you need to add a get_file_name
function if you need the name outside of file.c.

> I also looked for an example about some string being transfered from
> the wineserver to wine, but only found the path_t construct, not a
> similar construct for ASCII Strings. So some example for that would be 
> fine too.

The init_process request sends back the command line as an ASCII
string.

-- 
Alexandre Julliard
julliard@winehq.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic