Article View: borland.public.cppbuilder.nativeapi
Article #11571Re: Link problem with CredUIPromptForCredentials
From: Ed Mulroy [TeamB]
Date: Thu, 05 Feb 2004 15:39
Date: Thu, 05 Feb 2004 15:39
21 lines
1763 bytes
1763 bytes
That function is supplied by the Windows DLL CredUI.DLL. To link your program there must be a reference to the function which provides information that the linker can place into the EXE. The common way to do that is to implicitly link to the DLL by including an import library for the DLL in the project. The implib.exe is the tool provided with the compiler which can be used to create an import library. A typical command line to use it might be: implib -c credui.LIB c:\winnt\system32\credui.DLL (this assumes the current directory is the compiler's LIB directory) After creating the library add it to the project. . Ed > cpeaod wrote in message > news:40225386.1040009@wanadoo.fr... > > I have a linkink problem when using API function > :CredUIPromptForCredentials.
Technical Details
Message-ID:
<402263d1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40225386.1040009@wanadoo.fr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,fc1e9237cd9968c0 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-05 08:00:17 PST From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <40225386.1040009@wanadoo.fr> Subject: Re: Link problem with CredUIPromptForCredentials Date: Thu, 5 Feb 2004 10:39:35 -0500 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 24.74.175.102 Message-ID: <402263d1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075995601 24.74.175.102 (5 Feb 2004 07:40:01 -0800) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail