1,086 questions
-1
votes
1
answer
150
views
Rfc2898DeriveBytes giving error salt is not at least eight bytes
using (var pbkdf2 = new Rfc2898DeriveBytes(
m_Password,
l_saltBytes,
Convert.ToInt32(ConstantFatcorString),
HashAlgorithmName.SHA256))
{...
3
votes
0
answers
169
views
EvtSubscribe not returning signal when using pull subscription
I used the same code given in [Microsoft documentation] (https://learn.microsoft.com/en-us/windows/win32/wes/subscribing-to-events#pull-subscriptions) to collect logs in real-time by subscribing to ...
0
votes
0
answers
101
views
CreateFile function being called twice to open the same serial COM port
For context I have a HC-05 module connected to my Arduino Mega. The Arduino sends some data to the HC-05 module which gets transferred via bluetooth to my computer (after it's paired).
When pairing HC-...
2
votes
2
answers
109
views
.NET documentation confusion around inheritance
I am reading the .NET documentation, and encountered the IdentityReference class, which states:
Represents an identity and is the base class for the NTAccount and SecurityIdentifier classes. This ...
0
votes
2
answers
866
views
parsing a PE file to find the export table address using CFF explorer and msdn doc
I work on a PE file and I try to interpret this line in IDA :
v4 = *(_DWORD *)((char *)LibraryA + *((_DWORD *)LibraryA + 15) + 120);
LibraryA is the base address of the PE file
*((_DWORD *)LibraryA + ...
1
vote
1
answer
2k
views
Download link Microsoft Application Request Routing Version 2 for IIS 7
Where can download Microsoft Application Request Routing Version 2 for IIS 7? Please help me on this to downalod.
I tried to search microsoft websites and found the link to download but when I click ...
0
votes
1
answer
76
views
What error code should I use for the Edge vs IE
ALL,
The error codes listed here:
https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms775145(v=vs.85)
are for IE which is outdated.
Is there a ...
0
votes
0
answers
51
views
Linking error while porting VS-2012 project in VS-2019
I am trying to build VS-2012(msvc-110) solution in VS-2019(msvc-142). It also used Boost library v1.51. I simply started by opening solution file in VS-2019 where it asked to change Windows SDK and ...
0
votes
1
answer
57
views
ldap_modify_ext_s fails with error 11 while writing data to active directory
I am using the Winldap API ldap_modify_ext_s to write data to the Active Directory. It writes successfully when the data is not too large. But when the data is really huge it fails with error 11. ...
1
vote
0
answers
237
views
Unable to convert ForwardedEvents.evtx to csv format
I have encountered strange behavior.
I have created windows event forwarding subscription and ForwardedEvent.evtx file is capturing subscribed events. When trying to convert ForwardedEvent.evtx file ...
0
votes
0
answers
132
views
Can we distinguish one trackpad scroll in windows from other?
I am trying to distinguish one trackpad scroll user action (which translates into multiple mouse wheel events on windows) from the next user action? Is there a way to achieve it like in case of MacOS? ...
0
votes
1
answer
235
views
Can we avoid WM_PAINT when using ScrollWindow in win32?
I am new to win32 programming and have a very naive question.
Say there is my application window of size 1920x1280 and I create a child window over it of size 1920x2560 (double of vertical screen size)...
1
vote
1
answer
989
views
Xamarin forms showing white screen is showing before splash screen
Im developing an application using Xamarin forms for my android and iOS application. Currently when the application is being launched , a white screen is shown before my SplashScreen. How can we ...
0
votes
0
answers
359
views
C++ MapViewOfFile() return error 8 ERROR_NOT_ENOUGH_MEMORY in 32 bit application
I have a 32bit application running as a service in windows (OS : Microsoft Windows Server 2012 R2 Standard). Its a client server based application which Maps a view of a file using the MapViewOfFile() ...
0
votes
0
answers
178
views
UDP Client data rate using Winsock
I implemented an udp client that sends non-stop 8 kB packets to a server in order to observe the maximum data rate that I can reach, and I'm trying to find out why I can't reach the expected data rate ...
1
vote
1
answer
1k
views
Why Device Code Not Showing as a sign in option in Visual Studio (Tools - Options - Accounts)?
We use Visual Studio in a machine with limited internet access. I use the "Device Code" option to login to my Visual Studio / MSDN subscription from that machine.
In my Tools -> Options -&...
1
vote
0
answers
288
views
How can I get Visual C 6 help (MSDN) to work under Windows 10?
I'm using Visual Studio 6 for updating an old MFC4.2 project and I'd like to get the MSDN SDK/MFC help to work again under windows 10. Right now when I press F1 it reports "Unable to display Help:...
1
vote
0
answers
675
views
is there any way to find which process created a file in windows c++?
Ultimately I'm trying to get the process id of the program which created a new file.
For example: if I install a application through an installer and when new files are created I want to know the ...
1
vote
0
answers
157
views
Download specific point release version of a dotnet dll / dotnet framework
Does anyone of you have an idea how to get access to a specific version of a dotnet dll (or the complete .net framework that contains the specific dll)?
We're trying to look into a dmp file, but the ...
0
votes
1
answer
590
views
Datatable rows select operation showing error when column name has special characters. (C#)
I am trying to perform select operation on a datatable to extract some values from a column.
The column that I am targeting has some special characters in it.
so the error message is saying,
An ...
0
votes
1
answer
477
views
Does the hook function used in SetWindowsHookExA need to be in dll?
I am trying to read system keyboard events in my c++ application using SetWindowsHookExA. Application is able to get the system keyboard events as long as the hooking is done in a dll. If I try to ...
0
votes
0
answers
381
views
C# WPF Print to file without user interaction
I'm trying to write a program that should be able to create files that can be sent to a selected printer.
At this moment, the code is as follow
Canvas c = GetMyCanvas();
PrintDialog p = new ...
0
votes
2
answers
140
views
unable to modify a vector of const wchar *
I have a function that converts a list of strings to a vector of const wchar_t *.
void convertListtoVector(std::vector<const wchar_t *>& messageInserts)
{
std::list<std::wstring> ...
0
votes
1
answer
619
views
It's taking one hour to upload 60MB document in Sharepoint using Java. How can I find the cause for delay?
We've a requirement to upload 100MB document in to Sharepoint. I've found an article where they are uploading using chunks with startUpload, continueUpload and finishUpload methods. I've tried using ...
0
votes
1
answer
744
views
LogonUser() fails for Azure AD user when username is in UPN format even when password is correct
This is my code to check if the password entered by user is correct.
My user is an AzureAD user logged in to a windows 10 Azure AD joined machine.
if (LogonUser(upn., NULL, pwd, LOGON32_LOGON_NETWORK,...