16,004,761 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 .NET 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 cariolihome (Top 61 by date)
cariolihome
8-Nov-15 4:20am
View
No, You haven't to call credential provider.
It's been called by system during showing logon screen.
cariolihome
7-Nov-15 13:29pm
View
No, You cant using PowerShell
You have to implement several interfaces and register credential provider
Its link to Microsoft sample: https://www.microsoft.com/en-us/download/details.aspx?id=4057
cariolihome
7-Nov-15 13:04pm
View
You have to implement own Credential Provider (https://msdn.microsoft.com/en-us/library/windows/desktop/bb648647(v=vs.85).aspx)
cariolihome
12-Dec-14 17:30pm
View
Try add :: (which means global context) to function calls:
::GetDC(::GetDesktopWindow())
Yes, You can:
http://msdn.microsoft.com/en-us/library/ms235282.aspx
cariolihome
4-Dec-14 16:30pm
View
Did You look at setupapi log files on both machines ?
cariolihome
30-Nov-14 12:51pm
View
For retrieving parameter restrictions sufficient to use Microsoft Visual Studio in debugging mode.
cariolihome
30-Nov-14 12:17pm
View
By disassembling function implementation.
cariolihome
30-Nov-14 8:41am
View
Can You provide access to BasePlugin.dll ?
cariolihome
30-Nov-14 8:09am
View
You are right. Of course backslash in path names must be escaped.
Function returns HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND) and HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) when path doesn't exist or file doesn't found.
cariolihome
29-Nov-14 12:24pm
View
According to the UploadPrinterDriverPackage function implementation cchDestInfPath cant be less then MAX_PATH characters.
cariolihome
29-Nov-14 11:49am
View
You can find additional info about driver setup process in C:\Windows\Inf\setupapi.dev.log
cariolihome
29-Nov-14 11:34am
View
Try this one:
WCHAR szDestInfPath[MAX_PATH];
ULONG cchDestInfPath = MAX_PATH;
UploadPrinterDriverPackage(
NULL,
L"C:\AnyFolder\InfFile.inf",
NULL,
0,
NULL,
szDestInfPath,
&cchDestInfPath);
Does inf file have CatalogFile directive ?
Does *.cat file specified in CatalogFile directive exist on file system ?
cariolihome
29-Nov-14 11:07am
View
5-th parameter can be NULL or a handle of any existing window
The reason of E_INVALIDARGS error is a bad value of other parameter
So, please specify exact values of all parameters.
(try set pszEnvironment to NULL since inf file has information about supported target system)
cariolihome
29-Nov-14 10:40am
View
Yes, You are right. Its a parent window for any window which will be shown by the system during upload
So, please specify other parameters. Its can help to solve E_INVALIDARGS return value.
cariolihome
12-Jan-14 18:21pm
View
e.g. Cryptography, Graphics
cariolihome
5-Jan-14 10:56am
View
Function __mingw_glob has implemented in libmingwex.a library.
May be You should append this library to the command line: -lmingwex ?
cariolihome
4-Jan-14 16:39pm
View
Did You install mingw compiler ?
cariolihome
8-Oct-13 17:33pm
View
Please, specify value of IID_IiAddin constant, and attach tlb library
cariolihome
16-Aug-13 19:51pm
View
Did You tried to call IRunningObjectTable::EnumRunning ?
(http://msdn.microsoft.com/en-us/library/windows/desktop/ms678491(v=vs.85).aspx)
cariolihome
30-Nov-12 18:18pm
View
Try to search in *.obj file 'GetCodeStartup1' string. It can help You understand which decorated name was created for this function.
cariolihome
15-Oct-12 18:17pm
View
Please, attach minidump and ntdll.dll. With Debugging tools for Windows You can restore stack. It can clarify the situation.
cariolihome
6-Oct-12 19:18pm
View
Please, show Your code
cariolihome
7-Sep-12 17:02pm
View
You have to use Attachment::SaveAsFile method to get attachment contents
(http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.attachment_members.aspx)
cariolihome
7-Sep-12 16:45pm
View
Please, attach Your ActiveX or execute "oleview YourActiveX.dll" and show results
cariolihome
6-Sep-12 18:03pm
View
Try to specify X509_CERT_REQUEST_TO_BE_SIGNED intead of X509_NAME_VALUE and not null pvStructInfo parameter
(http://msdn.microsoft.com/en-us/library/windows/desktop/aa378145(v=vs.85).aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/aa377504(v=vs.85).aspx).
After that You can decode CERT_REQUEST_INFO.Subject with CryptDecodeObject(...,X509_NAME_VALUE,...) to get CommonName.
cariolihome
6-Sep-12 17:48pm
View
Try to specify reference to the INumber interface in the type library MFCActiveXControl2Lib:
[ uuid(2063A4BF-5512-4816-9E7F-B9E855F10727), version(1.0),
control ]
library MFCActiveXControl2Lib
{
...
interface INumber;
[
uuid(92887769-9BA7-4A61-914E-7D66341A4AC6),
control
]
coclass Number
{
[default] interface INumber;
};
};
cariolihome
4-Sep-12 17:23pm
View
Can You show ActiveX idl file ?
cariolihome
1-Sep-12 19:45pm
View
Hash function is http://en.wikipedia.org/wiki/Hash_function
cariolihome
3-Mar-12 16:38pm
View
What result was returned by StretchDIBits function ?
cariolihome
1-Dec-11 17:50pm
View
And what error was occurred ?
cariolihome
24-Oct-11 16:26pm
View
Did You tried to debug code ?
You can locate error more precisely
cariolihome
24-Oct-11 16:21pm
View
Please, specify code that returns error
cariolihome
22-Oct-11 4:46am
View
And which error was returned ?
cariolihome
17-Oct-11 3:03am
View
Did You include user32.lib to the project ?
cariolihome
11-Sep-11 5:12am
View
According to the error code, class CShellWrapper must be defined already
cariolihome
10-Sep-11 17:21pm
View
This files must already contain this code. You have to find code blocks and just verify that code blocks are identical.
cariolihome
10-Sep-11 16:50pm
View
What did You tried ?
cariolihome
5-Sep-11 17:18pm
View
I tried Your code and it works without any call to InternetGetLastResponseInfo function.
May be atcftp_put function parameters are wrong.
cariolihome
31-Aug-11 3:19am
View
Thanks for the detailed description :)
cariolihome
27-Aug-11 5:57am
View
You can use custom encryption or tools like disk enryptors
cariolihome
26-Aug-11 17:57pm
View
Can You specify in programming (not in mathematic or phisics) terms, what's bothering you ?
I mean, try to specify indexes (e.g. pos) and corresponding values which incorrect or not realistic
cariolihome
26-Aug-11 10:37am
View
After service installation run "net start ServiceName"
May be You will can see some error description
cariolihome
24-Aug-11 18:32pm
View
Service registry key looks correct. May be problem with ImagePath ? Does it contain any system folders ?
cariolihome
24-Aug-11 18:30pm
View
Try to call ReportEvent or WriteFile after main(){
cariolihome
24-Aug-11 8:15am
View
The registry key is ok.
Can you change c++ service code for debugging porposes ?
If no, You can use ProcMon.exe (Mark Rusinovich utility) for monitoring service activity
cariolihome
23-Aug-11 10:14am
View
How C# wrapper interacts with C++ program ?
Please, specify service registry key contents
cariolihome
23-Aug-11 8:54am
View
You ask to help, but information about Your problem are scarce
I want to sea more information
cariolihome
23-Aug-11 7:48am
View
Its important, because each service always has own reistry key in HKLM\System\CurrentControlSet\Services or its not service
cariolihome
22-Aug-11 19:08pm
View
What messages was appeared in eventlog ?
What contains service registry key ?
cariolihome
20-Jun-11 16:28pm
View
__iob symbol located in libc.lib or in libcmt.lib, so You have to use one of them
cariolihome
6-Jun-11 17:30pm
View
What problem do You have with domain system ?
cariolihome
25-May-11 16:02pm
View
I can suggest next scenario:
You have to unlock workstation from credential provider
Service You can use as persistent storage of user credentials and means to detect hardware changes
After User enters credentials in Your credential provider window,
You have to store it in service and call ICredentialProviderCredential::GetSerialization Method
LogonUi initiate logon process and terminates credential provider after successfull authentication
After user logoff LogonUi starts Your credential provider again
and Your service can monitor some external events (e.g. some hardware inserting).
After event happened, service notifies credential provider
and returns stored user credentials to it
Credential provider calls ICredentialProviderCredential::GetSerialization Method
cariolihome
24-May-11 17:41pm
View
E.g. unlock computer after inserting some hardware device
cariolihome
24-May-11 17:11pm
View
You can if You want
And it can be more securely then Microsoft native algorithm, because You can unlock only when some hardware inserted
cariolihome
4-Apr-11 17:46pm
View
It's not simple
IE8 use multiple processes to display html content
So, You have to load your extension in each process, sync between them and choose, which activate
And what is Your criterias to activate the specific tab ?
cariolihome
20-Feb-11 15:32pm
View
According to the
http://msdn.microsoft.com/en-us/library/cc228435(v=PROT.13).aspx
try to specify "Integer", instead "2.5.5.9"
cariolihome
16-Feb-11 18:23pm
View
In code
// Bind to the IADsContainer interface of the schema container.
CComPtr<iadscontainer> spSchemaCont;
hr = ADsOpenObject( L"LDAP://RootDSE",
NULL,
NULL,
ADS_SECURE_AUTHENTICATION,
IID_IADs,
(void**)&spSchemaCont);
replace IID_IADs with IID_IADsContainer
cariolihome
3-Feb-11 19:03pm
View
What did You mean when replacing pointers temp1 and temp3 on newly created objects with head pointer ?
grid *temp1=new grid();
grid * temp3= new grid();
temp1=head;
temp3=head;
cariolihome
17-Jan-11 16:26pm
View
If You can't recompile lib, try locate duplicate comdat manually (e.g. using disassembler)
cariolihome
6-Jan-11 17:24pm
View
You have to call SetupDiGetClassDevs without DIGCF_DEVICEINTERFACE flag
Then you have to call next functions:
SetupDiEnumDeviceInfo to get SP_DEVINFO_DATA struct
SetupDiGetDeviceRegistryProperty with SPDRP_PHYSICAL_DEVICE_OBJECT_NAME parameter to get device name
If you call SetupDiGetClassDevs with DIGCF_DEVICEINTERFACE flag, then ClassGUID must be GUID_DEVINTERFACE_*,
not GUID_DEVCLASS_*
cariolihome
1-Nov-10 19:26pm
View
Try to read msdn
http://msdn.microsoft.com/en-us/library/aa364975(v=VS.85).aspx
Its first link in google
Or type "How i can use GetLogicalDriveStrings" in google :))
Show More