1. Wrapping DLLs
- Posted by Tony Bucholtz <tony_bucholtz at HOTMAIL.COM> Feb 22, 2001
- 398 views
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
2. Re: Wrapping DLLs
- Posted by Jeffrey Fielding <JJProg at cyberbury.net> Feb 22, 2001
- 402 views
You can wrap all those pointers to C_POINTER in define_c_func, but you have to dereference them using peek4u and poke4 to get/set the address of what they point to, then if it's pointing to a pointer you have to use peek4u and poke4 again to get/set the address there etc. ----- Original Message ----- From: "Tony Bucholtz" <tony_bucholtz at HOTMAIL.COM> To: "EUforum" <EUforum at topica.com> Sent: Thursday, February 22, 2001 6:07 AM 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 > > > > >
3. Re: Wrapping DLLs
- Posted by Robert Craig <rds at RapidEuphoria.com> Feb 22, 2001
- 400 views
Tony Bucholtz writes: > 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? It must have been just a temporary problem. You are still listed as a member in good standing of this list. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
4. 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 > > > >
5. Re: Wrapping DLLs
- Posted by Maidie2 at aol.com Feb 22, 2001
- 386 views
Please don't off me from your list as I am lurking to learn. I have no idea what you people are talking about, but you all sound like genius' to me. So maybe once in awhile I could ask a stupid question - like, "what is a *.DLL file and what does it do?" And maybe one person on the list could answer the question and the rest of you would see that and not feel you should respond also (unless you have a better explanation/definition) so that I'm not cluttering up the list with my less-than novice questions that have nothing to do with Eudora - So - What is a DLL file and what does it do? And the questions of the week: What is that darned fat.db file in my Windows (95 and 2000) - History or Netscape-User-Cache folder? What opens it? What is it for? Why can't I delete it? Is there a way to delete it? Thanks if you can answer - Or maybe you know of a list that is more suited to my purpose (I can't find one)? Mary High School Teacher I've got a lab and these kids want to know.
6. Re: Wrapping DLLs
- Posted by ramarin at TELEPORT.COM Feb 22, 2001
- 412 views
- Last edited Feb 23, 2001
Addressing the Netscape question... The short answer (if my memory serves): fat.db, in essence, stands for File Allocation Table DataBase -- the file which is created and used by Netscape to quickly index (read: speed up access to) the large number of temporary files that reside in the Disk Cache directory. Delete fat.db? ... Netscape will simply make another the next time it needs to handle cache activity. BTW: You'll just create an access violation if you try to delete fat.db with Netscape "launched". -Roger Maidie2 at aol.com wrote: > And the questions of the week: > What is that darned fat.db file in my Windows (95 and 2000) - History or > Netscape-User-Cache folder? What opens it? What is it for? Why can't I > delete it? Is there a way to delete it? >