Is there any kernel equivalent of this method? I can see IoVolumeDeviceToDosName(), not sure. if this is correct one.
vikramlinux
Posts
-
QueryDosDevice() throws ERROR_ACCESS_DENIED for Windows universal apps -
QueryDosDevice() throws ERROR_ACCESS_DENIED for Windows universal appsI went thr the alternative API's, but seems that they are not available with VS2012. Do we have any alternative legacy API which I can probably use?
-
QueryDosDevice() throws ERROR_ACCESS_DENIED for Windows universal appsHi Folks, I have created a sample console app (windows universal) using VS2015. If I call the method QueryDosDevice(), it results into ERROR_ACCESS_DENIED error. I am deploying this app on Windows 10. Interestingly I can call APIs from ntdll. But seems like it gives access denied error if I try to call APIs from kernel32. Are there are access (perhaps for volume management APIs) restrictions introduced for universal apps? If yes, Is there any way around it? -- Vikram
-
editing GPO using C#Hi Team, Anyone knows, how to edit Domain Default Policy using C# or power-shell? I am looking for "Automatic Certificate Request" setting update. -- Vikram
-
getopenfilenameI do not see any error message but it does not display the mapped network drive under "Look-in" list box.
-
getopenfilenameHi Folks, I am using getopenfilename API to create a standard file open windows dialog. However this dialog is not able to show the mapped drive. If it is a long path over network. This is case for"look-in" field of dialog box. Is this a known bug? I googled around but could not any info. Please help -- Vikram
-
GetModuleFileName and case sensitivityI would like to know if this particular API has any known issues.
-
GetModuleFileName and case sensitivityI went though it, but able to get the reason.
-
GetModuleFileName and case sensitivityTo add more context, we are using CreateProcess(...) API to launch the exe file. However, even though the code is same but GetModuleFileName returns me different output.
-
GetModuleFileName and case sensitivity"So the output will depend on how your EXE was loaded." Can you please help in elaborating it more?
-
GetModuleFileName and case sensitivityHi Guys, I am using GetModuleFileName API in my program. It returns me the name of my executable. However, I see that under different environments, it give me output like -- Win XP output: test.exe -- Win 7 output: TEST.EXE not sure why the API gives me different outputs. Please help.
-
Turbo code implementation in C++ -
Turbo code implementation in C++Bit Field facility is available in C++ as well. http://publib.boulder.ibm.com/infocenter/macxhelp/v6v81/index.jsp?topic=%2Fcom.ibm.vacpp6m.doc%2Flanguage%2Fref%2Fclrc03defbitf.htm[^]
-
How to validate a socket descripterFor example I am holding an client socket connected with some server. The server goes down or network goes down. Before doing any action I want to know is the socket in good state.
-
How to validate a socket descripterHi Guys, Is there any way to validate a socket descriptor before doing any IO on it? ~ Vikram S
-
TCP/IP socket timeout per connectionokay. So If I have socket connection which is already established. Will I able to set a timeout so that TCP/IP implementation provided by OS, will automatically close it? The reason for asking this question is I want to maintain a connection pool and want to make sure that if no one uses socket connections from it, it should get atomically freed. ~ Vikram S
-
TCP/IP socket timeout per connectionJust went through this link. Correct me if my interpretation is wrong. http://msdn.microsoft.com/en-us/library/windows/desktop/ee470551(v=vs.85).aspx
-
TCP/IP socket timeout per connectionHi Guys, Is it possible to set TCP/IP timeout value per socket instance(connection)? ~ Vikram S
-
select and accept socket callsHi Friends, My software server listens on a particular port using dedicated "listener thread" . We accept the connections from client and serve this request on different threads. Under high input requests from client (12000 approx/sec), the "listener thread" dies. Any suggestion for this kind of problem? Currently it looks to me that the select or accept call is possibly the reason behind. Should we use pselect or simialr to this? ~ Vikram S
-
dynamically linked STLso if my static library is compiled with newer version of compiler and my client uses it in its code which is compiled with older version of compiler. Things should work fine? This problem statment utimately boils down to 1) I have one static libray say "A" build with Compiler 2.0, uses STL 2) I have another static library "B" compiled with Compiler 1.0 uses STL If I try to make my client application with Compiler 1.0. using both the libraries(A and B), will it work? Does linker allows me to link two libraries carrying different STL instances? Can there be ambiguities or optimization issues? ~ Vikram S