shlwapi/path test compilation error

Francois Gouget fgouget at free.fr
Thu Jan 16 13:27:59 CST 2003


This test does not compile on Windows.

There is a header include problem but changing them to the following
solves the problem:

#include "windef.h"
#include "wtypes.h"
#include "shlwapi.h"
#include "wininet.h"

#include "wine/test.h"
#include "wine/unicode.h"


However we then have problems with missing declarations on Windows:

path.c(58) : warning C4013: 'UrlHashA' undefined; assuming extern returning int
path.c(59) : warning C4013: 'UrlHashW' undefined; assuming extern returning int
path.c(83) : warning C4013: 'UrlGetPartA' undefined; assuming extern returning int
path.c(85) : warning C4013: 'UrlGetPartW' undefined; assuming extern returning int
path.c(99) : error C2065: 'URL_PART_HOSTNAME' : undeclared identifier
path.c(100) : error C2065: 'URL_PART_PORT' : undeclared identifier
path.c(101) : error C2065: 'URL_PART_USERNAME' : undeclared identifier
path.c(102) : error C2065: 'URL_PART_PASSWORD' : undeclared identifier
path.c(103) : error C2065: 'URL_PART_SCHEME' : undeclared identifier
path.c(104) : error C2065: 'URL_PART_QUERY' : undeclared identifier


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
            Before you criticize someone, walk a mile in his shoes.
       That way, if he gets angry, he'll be a mile away - and barefoot.




More information about the wine-devel mailing list