Click here to Skip to main content
15,902,299 members

Comments by kaiserssosse (Top 2 by date)

kaiserssosse 22-Aug-11 3:03am View    
Thanks for the reply.

I think the problem is the computer and the accounts, because with an old account it doesn't work but if we copy the privileges of the account to a new account it works fine, so I don't know which is the problem with all of this.

It can be because the accounts are old and when it was created it was done with a winNT version and not with the winXP SP3, or is a problem of cache files in the computer...

In some computers works perfectly, in others only works with some users, normally old accounts. This is a mysterious.
kaiserssosse 12-Aug-11 3:31am View    
Hi first of all thank you for your collaboration.

It's in Windows-Domain and it's installed BDE Administrator for Paradox Data Bases and this is the situation:

I have a folder in the server and It's only accessible with the user "Intranet" that has administrator privileges.

When the application is run for a user without administrator privileges, I impersonate a Intranet user to have access to that folder and everything run ok.

When I want to access to Paradox Data Base with a administrator user, there is no problem but with the normal user I have a error, and I think it's because with administrator account it's possible to load DLLs (I think it's IDAPI32.dll) dinamically and with normal user maybe don't.

So I want to activate the option for load DLLs with normal user with LogonUser method.

I hope everything is clear in my explanation.

Thank you very much.

P.D: I don't know what are you meaning with "NativeMethods", sorry.

P.D2: How can I call the method? with like I do before, with using?

P.D3: For more information about IDAPI32.dll. http://dll.paretologic.com/detail.php/idapi32