Re: Wrapping DLLs
- Posted by tone.skoda at SIOL.NET Feb 22, 2001
- 394 views
Hello, I'm no C expert either, but I can tell you that "char **s" means that this is an array with strings as members. So "char ***argv" would probably mean array which has members arrays which have members strings. You can define them all same, as C_POINTER. ----- Original Message ----- From: Tony Bucholtz <tony_bucholtz at HOTMAIL.COM> To: EUforum <EUforum at topica.com> Sent: Thursday, February 22, 2001 12:07 PM Subject: Wrapping DLLs > G'day all > > I'm starting a project to wrap the InterBase headers, and came across a > couple of examples like: > > void load_defaults(const char *conf_file, > const char **groups, > int *argc, > char ***argv); > > I'm not a C/C++ programmer, so I'm learning bits and pieces as I work thru > this project. I think I understand the "int *argc" construct, but how do I > wrap "const char **groups" and "char ***argv"? Is that last one really > saying "pointer to a pointer to a pointer to a variable"? > No wonder some people don't like C! > > BTW, Topica tells me "access denied" when I try to get to the EUforum list. > Have I been a bad boy? Have I been banned from the list? Whazzhappenin' ? > > Regards > Tony > > > >