From: Guillaume on
I'm writing a program that makes use of dynamic library loading
through the LoadLibrary function. The problem is that I've had reports
from testers of a file permissions error on Vista. The problem is that
I don't have Vista or any real way to test. I'm just wondering if
anyone knows what the appropriate return code for GetLastError would
be for bad file permissions. I'm thinking it might be
ERROR_ACCESS_DENIED but I'm really not sure.
From: Kerem Gümrükcü on
Hi Guillaume,

nobody can really tell you what the problem
is unless you show us some code and get the
exact error code that will be returned,...

Testing Vista is easy, see here:

[Microsoft Windows Vista 30-Day Eval VHD]
http://www.microsoft.com/downloads/details.aspx?FamilyID=c2c27337-d4d1-4b9b-926d-86493c7da1aa&displaylang=en

Check what the Problem is and then tell us if you cant find a solution
for it,...

Regards

Kerem

--
-----------------------
Beste Gr�sse / Best regards / Votre bien devoue
Kerem G�mr�kc�
Latest Project: http://www.codeplex.com/restarts
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
"Guillaume" <reaperunreal(a)gmail.com> schrieb im Newsbeitrag
news:1797e447-18cd-4c0b-bf86-572183d81e99(a)8g2000hse.googlegroups.com...
> I'm writing a program that makes use of dynamic library loading
> through the LoadLibrary function. The problem is that I've had reports
> from testers of a file permissions error on Vista. The problem is that
> I don't have Vista or any real way to test. I'm just wondering if
> anyone knows what the appropriate return code for GetLastError would
> be for bad file permissions. I'm thinking it might be
> ERROR_ACCESS_DENIED but I'm really not sure.

From: Volodymyr M. Shcherbyna on
Well, as it was answered previously it could be any kind of error. I suspect
your module doing some wrong things in its DllMain. The best way is to have
Windows Vista dedicated for tests.

--
Volodymyr, blog: http://www.shcherbyna.com/
(This posting is provided "AS IS" with no warranties, and confers no
rights)

"Guillaume" <reaperunreal(a)gmail.com> wrote in message
news:1797e447-18cd-4c0b-bf86-572183d81e99(a)8g2000hse.googlegroups.com...
> I'm writing a program that makes use of dynamic library loading
> through the LoadLibrary function. The problem is that I've had reports
> from testers of a file permissions error on Vista. The problem is that
> I don't have Vista or any real way to test. I'm just wondering if
> anyone knows what the appropriate return code for GetLastError would
> be for bad file permissions. I'm thinking it might be
> ERROR_ACCESS_DENIED but I'm really not sure.


From: daniel on
Some suggestions:

-Get a Vista testing installation if you want to support this OS
-Tell the user to run the program with admin privileges, this may require
change of the shortcut. Because of least-privilege feature (LUA) it may not
be enough to be logged on as administrator
-Tell them to switch off user account control

//Daniel


"Guillaume" <reaperunreal(a)gmail.com> wrote in message
news:1797e447-18cd-4c0b-bf86-572183d81e99(a)8g2000hse.googlegroups.com...
> I'm writing a program that makes use of dynamic library loading
> through the LoadLibrary function. The problem is that I've had reports
> from testers of a file permissions error on Vista. The problem is that
> I don't have Vista or any real way to test. I'm just wondering if
> anyone knows what the appropriate return code for GetLastError would
> be for bad file permissions. I'm thinking it might be
> ERROR_ACCESS_DENIED but I'm really not sure.

 | 
Pages: 1
Prev: 64-bit directory creation
Next: SPD EEPROM