Click here to Skip to main content
15,914,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: i have a erro in vc6 Pin
CHYGO19-May-08 8:18
CHYGO19-May-08 8:18 
AnswerRe: i have a erro in vc6 Pin
Cadimi18-May-08 22:56
Cadimi18-May-08 22:56 
GeneralRe: i have a erro in vc6 Pin
CHYGO19-May-08 0:15
CHYGO19-May-08 0:15 
AnswerRe: i have a erro in vc6 Pin
toxcct18-May-08 23:03
toxcct18-May-08 23:03 
GeneralRe: i have a erro in vc6 Pin
CHYGO19-May-08 0:14
CHYGO19-May-08 0:14 
GeneralRe: i have a erro in vc6 Pin
Elias Fotinis19-May-08 6:21
Elias Fotinis19-May-08 6:21 
AnswerRe: i have a erro in vc6 Pin
David Crow19-May-08 4:10
David Crow19-May-08 4:10 
QuestionI got error LNK2019: unresolved external symbol............ Pin
Prazwol18-May-08 22:27
Prazwol18-May-08 22:27 
error LNK2019: unresolved external symbol _LoadIFilter@12 referenced in function "bool __cdecl CreateIFilter(char *)" (?CreateIFilter@@YA_NPAD@Z)


Here is the code that I wrote:

#include <stdio.h>
#include <windows.h>
#include <locale.h>

#include <filter.h>
#include <filterr.h>
#include <ntquery.h>

bool CreateIFilter(const WCHAR *wcsPath)
{
IFilter *pIFilter = NULL;

HRESULT hr = LoadIFilter(wcsPath, NULL, (void**)&pIFilter);

if (SUCCEEDED(hr))
return true;
else
return false;
}

void DumpProps(char *filename) {
// Translate filename to Unicode.
WCHAR wcFilename[1024];
setlocale( LC_ALL, "" );
int i = mbstowcs(wcFilename, filename, strlen(filename));
setlocale( LC_ALL, "C" );
wcFilename[i] = 0;

if(CreateIFilter(wcFilename))
printf("Ok");
else
printf("False");
}
AnswerRe: I got error LNK2019: unresolved external symbol............ Pin
Rajkumar R18-May-08 22:32
Rajkumar R18-May-08 22:32 
AnswerRe: I got error LNK2019: unresolved external symbol............ Pin
Cedric Moonen18-May-08 22:33
Cedric Moonen18-May-08 22:33 
AnswerRe: I got error LNK2019: unresolved external symbol............ Pin
ThatsAlok18-May-08 22:42
ThatsAlok18-May-08 22:42 
QuestionRe: I got error LNK2019: unresolved external symbol............ Pin
CPallini18-May-08 22:44
mveCPallini18-May-08 22:44 
QuestionHow can Save the List in MS-Access Database? Pin
Le@rner18-May-08 22:01
Le@rner18-May-08 22:01 
AnswerRe: How can Save the List in MS-Access Database? Pin
Rajkumar R18-May-08 22:34
Rajkumar R18-May-08 22:34 
AnswerRe: How can Save the List in MS-Access Database? Pin
David Crow19-May-08 4:13
David Crow19-May-08 4:13 
GeneralRe: How can Save the List in MS-Access Database? Pin
Le@rner19-May-08 19:15
Le@rner19-May-08 19:15 
GeneralRe: How can Save the List in MS-Access Database? Pin
David Crow20-May-08 3:25
David Crow20-May-08 3:25 
GeneralRe: How can Save the List in MS-Access Database? Pin
Le@rner20-May-08 18:07
Le@rner20-May-08 18:07 
GeneralRe: How can Save the List in MS-Access Database? Pin
David Crow21-May-08 4:05
David Crow21-May-08 4:05 
QuestionI got error when i tried to call LoadIFilter Pin
Prazwol18-May-08 21:46
Prazwol18-May-08 21:46 
QuestionRe: I got error when i tried to call LoadIFilter Pin
CPallini18-May-08 21:58
mveCPallini18-May-08 21:58 
AnswerRe: I got error when i tried to call LoadIFilter Pin
Prazwol18-May-08 22:19
Prazwol18-May-08 22:19 
Questionerror C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
_chew18-May-08 20:52
_chew18-May-08 20:52 
AnswerRe: error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
Cedric Moonen18-May-08 20:55
Cedric Moonen18-May-08 20:55 
GeneralRe: error C2011: '_SENDCMDINPARAMS' : 'struct' type redefinition Pin
_chew18-May-08 21:07
_chew18-May-08 21:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.