1. 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

new topic     » topic index » view message » categorize

2. Re: Wrapping DLLs

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
>
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Wrapping DLLs

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Wrapping DLLs

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
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: Wrapping DLLs

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.

new topic     » goto parent     » topic index » view message » categorize

6. Re: Wrapping DLLs

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?
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu