15,902,299 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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