Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6319983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:53:37+00:00 2026-05-24T15:53:37+00:00

I found some examples from Microsoft , but I’m not sure how to get

  • 0

I found some examples from Microsoft, but I’m not sure how to get started.

I have what appears to be a VS project and a file with Registry entries. There are no makefiles included and not really any instructions on how to build.

I am trying to use the G++ compiler with MinGW. The use case is simple http authentication. I have this working on Linux with my pam-http project.

  • How do I go about compiling a simple Credential Provider?
  • Are there any tutorials that give build scripts/makefiles?

I would very much prefer to use FOSS where possible, hence MinGW and g++, and I have little experience with compiling on Windows (I used VS at a job several years ago). Ultimately I’d like to link in cURL, but I can figure that out once I get something built.

Note:

I found these, but I’m looking for build scripts using g++:

  • Building a custom credential provider for Windows 7
  • http://msdn.microsoft.com/en-us/magazine/cc163489.aspx

I share kberson’s sentiments.

EDIT:

I found this on MinGW’s website that says linking against MS VC created DLLs is possible.

I do not want to use Visual Studio. I’d prefer a command-line compile tool that isn’t tied down to a specific build tool (like ANT or make).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T15:53:38+00:00Added an answer on May 24, 2026 at 3:53 pm

    To compile the example credential providers will be considerably easier if you use Visual Studio Express C++ (and then port to G++). You may also need to install the Windowns SDK

    MSVC++ comes with command line building tools. So to build the custom credential provider for Windows 7 firstly extract the files into a directory. Then Install MSVC – use the shortcut on the start menu Visual Studio Command Prompt (2010) to open a command prompt and type

    cd CredentialProviders\SampleCredentialProvider
    msbuild
    

    or to build the release configuration Win32

    msbuild /p:Configuration=Release /p:Platform=Win32
    

    Refer to MSBuild (Visual C++) Overview, MSBuild Command Line Reference and Building on the Command Line

    These credential providers are built using COM – part of OLE2 – which is the Microsoft Component Object Model. It is possible to build interoperable components without using MSVC but more work. So to get started I’d develop using MSVC simply because all of the examples will work out of the box and then I’d port across to G++ as there will be issues and it is usually easier to start from a working system as it rules out problems in the COM bindings.

    To understand COM it helps to read the Technical foundation of COM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've searched for an answer and found some c#-examples, but could not get this
I have found some in the Cappuccino website (vim, textmate and SubEthaEdit), but not
I found some examples of how to create a excel file from a data
I've found some examples of .AVI in html on the web. But my page
I have done some research, and majority of the examples I have found use
I have a text file which was created using some Microsoft reporting tool. The
I am not all that familiar with unmanaged code but have been using some
The tutorials I've found on WxPython all use examples from Linux, but there seem
Found some old code, circa VS 2003. Now I have just VS 2008 (SP1)
I found some code in a project which looks like that : int main(int

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.