search for: lpcwstr

Displaying 20 results from an estimated 29 matches for "lpcwstr".

2010 Mar 23
0
[LLVMdev] Cygwin llvm-gcc-4.2 regression
...2api/wincon.h:150: error: expected ')' before 'DWORD' /usr/lib/../include/w32api/wincon.h:169: error: expected declaration specifiers or '...' before 'LPWSTR' /usr/lib/../include/w32api/wincon.h:197: error: expected declaration specifiers or '...' before 'LPCWSTR' In file included from /usr/lib/../include/w32api/windows.h:50, from /home/ang/src/llvm-gcc4.2-2.7.source/gcc/config/i386/cygmi ng-crtbegin.c:43: /usr/lib/../include/w32api/winbase.h:628: error: expected specifier-qualifier-li st before 'WCHAR' /usr/lib/../include/w32ap...
2001 Aug 15
1
WineLib Warning?
...arning message. // generates a warning CompareString(LOCALE_USER_DEFAULT, dwFlags, s1, -1, s2, -1); These warning relates to the defines found in include/winbase.h file where we have: UINT WINAPI CompareStringA(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD); UINT WINAPI CompareStringW(DWORD,DWORD,LPCWSTR,DWORD,LPCWSTR,DWORD); In the Borland 5.2 include file these API's are defined as: int WINAPI CompareStringA(LCID, DWORD, LPCSTR, int, LPCSTR, int); int WINAPI CompareStringW(LCID, DWORD, LPCSTR, int, LPCSTR, int); and this is what the Borland Windows SDK help file says: int CompareStrin...
2010 Jun 04
0
How I improved wininet for SSL through a proxy...
...th a CONTINUE. But not all servers are using this. Thankfully the one server my app really depends on doesn't use CONTINUE, so this is a big step forward for me. Here it is (the original logic I'm enhancing is in blue): static LPWSTR HTTP_BuildHeaderRequestString( http_request_t *lpwhr, LPCWSTR verb, LPCWSTR path, LPCWSTR version ) { ... static const WCHAR szZero[] = { '0',0 }; static const WCHAR szConnect[] = {'C','O','N','N','E','C','T',0}; ... if (!strcmpW(szContent_Length, lpwhr-&gt...
2007 Sep 19
1
Speex Questions <./Configure %install make [-enable-fixed-point] setting> and Encoding Times etc...
...(501) : warning C4013: 'GetTickCount' undefined; assuming extern returning int .\speexenc.c(251) : warning C4101: 'c' : unreferenced local variable wav_io.c wave_out.c .\wave_out.c(64) : warning C4133: 'function' : incompatible types - from 'const char *' to 'LPCWSTR' .\wave_out.c(64) : warning C4133: 'function' : incompatible types - from 'char [31]' to 'LPCWSTR' install c1 : fatal error C1083: Cannot open source file: 'install': No such file or directory make c1 : fatal error C1083: Cannot open source file: 'make...
2011 Aug 13
3
User32::MENU_CopySysPopup problem
When this code may fail? Code: /*********************************************************************** * MENU_CopySysPopup * * Return the default system menu. */ static HMENU MENU_CopySysPopup(BOOL mdi) { static const WCHAR sysmenuW[] = {'S','Y','S','M','E','N','U',0}; static const WCHAR sysmenumdiW[] =
2004 Feb 25
1
More on etc and other stuff
I seem to have gotten the bugs worked out of win32-etc. It seems it had to do with using WCHAR vs LPWSTR. Once I used AllocWideLString() vs AllocWideString() everything seemed to work ok. One question I have now is this - should I always use AllocWideLString() instead of casting like (LPCWSTR)STR2CSTR(rbVal); ? It would seem so, but I''m not sure. Also, I''ve committed the "add_group" function, but on my box at home I got "access denied" when I tried to actually add a group. Any help on that appreciated. One final note - I''ve started clea...
2004 Feb 24
2
win32-etc cvs
...ter what I try, I always get "invalid password". I tried with straight C as well, to no avail. Anyway, I was hoping someone could take a look at the code and see if there''s something obvious I''m missing. Also, I''m not real clear on when I should be casting LPCWSTR types to WCHAR using MultiByteToWideChar(). One thing I did notice is that if you add a user as a WCHAR, you have to *find it* that way as well, so I''m a little concerned. Help, ideas, suggestions welcome. Dan _________________________________________________________________ Stay in...
2008 Sep 10
1
peimg /inf running on wine
...****************************** * PrivCopyFileExW (KERNEL32.@) * * This implementation ignores most of the extra parameters passed-in into * the "ex" version of the method and calls the CopyFile method. * It will have to be fixed eventually. */ BOOL WINAPI PrivCopyFileExW(LPCWSTR sourceFilename, LPCWSTR destFilename, LPPROGRESS_ROUTINE progressRoutine, LPVOID appData, LPBOOL cancelFlagPointer, DWORD copyFlags) { /* * Interpret the only flag that CopyFile can interpret. */ FIXME("src=%s dest=%s prg=0x%08x...
2010 Jan 05
3
FLAC C API / Visual Studio 2008 FILE* Issue
...to work, you need to do the following: > ** > ** #include <windows.h> > ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 > ** #including <sndfile.h> > */ > #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES > SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; > #endif > > There is a windows binary installer in the main web page (one for each of > 32 and 64 bit windows). > > The only downside to this is that libsndfile does not expose the all of > the features of the FLAC API to the user. > &...
2010 Jan 05
2
FLAC C API / Visual Studio 2008 FILE* Issue
Hello, I am currently learning the FLAC C API and had the code working with FLAC__stream_decoder_init_file. However, since I'd need the Unicode filename support, I tried _wfopen_s in combination with FLAC__stream_decoder_init_FILE, however I get a runtime crash as sonn as I call FLAC__stream_decoder_process_until_end_of_stream. The same code (partially taken from the examples) is working
2009 Jul 27
5
Problems with Pass4Sure's Network+ Demo
All: My employer has required me to pass a computer security certification exam. The folks at Pass4Sure have what I consider the best program. However, it does not want to play nice under Wine. I installed the Demo version of the Network+ test program. It is a native Windows Java application. It wanted to install GDIPLUS and msxml6. I used Winetricks to install them and then tried to run
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...e same as sf_open(). ** ** In order for this to work, you need to do the following: ** ** #include <windows.h> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 ** #including <sndfile.h> */ #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; #endif There is a windows binary installer in the main web page (one for each of 32 and 64 bit windows). The only downside to this is that libsndfile does not expose the all of the features of the FLAC API to the user. Erik -- ----------------------------...
2008 Apr 22
1
HeapAlloc vs. malloc. How does HeapAlloc work?
...Again nobody is checking the nameW value. Maybe it is checked inside 'MultiByteToWideChar()' but this function doesn't return any value in this case. There are places where value returned by HeapAlloc() is checked: In dlls/wininet/internet.h 'static inline LPWSTR WININET_strdupW( LPCWSTR str )' line 82: ??? LPWSTR ret = HeapAlloc( GetProcessHeap(), 0, (strlenW(str) + 1)*sizeof(WCHAR) ); ??? if (ret) strcpyW( ret, str ); ??? return ret; Could somebody explain me the behavior of Wine HeapAlloc() and its family? Thank you, cunha
2011 Sep 01
5
Another TAPI issue (Microkey Millennium)
Everything appears to install properly under wine when I'm setting up Millennium, but when I try to launch it, I get the following error: "The procedure entry point phoneInitializeExA could not be located in the dynamic link library tapi32.dll" I know tapi support in wine is woefully underdeveloped, but does anyone know if there's some kind of work-around for this kind of
2010 Jan 05
0
FLAC C API / Visual Studio 2008 FILE* Issue
...following: >> ** >> ** #include <windows.h> >> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 >> ** #including <sndfile.h> >> */ >> #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES >> SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; >> #endif >> >> There is a windows binary installer in the main web page (one for each >> of >> 32 and 64 bit windows). >> >> The only downside to this is that libsndfile does not expose the all of >> the feature...
2004 Mar 11
5
win32-etc-0.2.2 testing wanted
I''ve commited code for win32-etc 0.2.2, which adds the configure_user and configure_group methods. Testing appreciated. On my home system, I can''t get configure_user to work, but I haven''t any real idea why it fails. The configure_group method seems to work fine, however. Dan _________________________________________________________________ Fast. Reliable. Get
2010 May 15
2
Wineboot: useless dialog
...me: thisone (wineboot.c): Code: static INT_PTR CALLBACK wait_dlgproc( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp ) { switch (msg) { case WM_INITDIALOG: { WCHAR *buffer, text[1024]; const WCHAR *name = (WCHAR *)lp; HICON icon = LoadImageW( 0, (LPCWSTR)IDI_WINLOGO, IMAGE_ICON, 48, 48, LR_SHARED ); SendDlgItemMessageW( hwnd, IDC_WAITICON, STM_SETICON, (WPARAM)icon, 0 ); SendDlgItemMessageW( hwnd, IDC_WAITTEXT, WM_GETTEXT, 1024, (LPARAM)text ); buffer = HeapAlloc( GetProcessHeap(), 0, (strlenW(text) + strlenW(nam...
2008 Nov 03
0
No subject
...** >> ** #include <windows.h> >> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 >> ** #including <sndfile.h> >> */ >> #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES >> SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO = *sfinfo) ; >> #endif >> >> There is a windows binary installer in the main web page (one for = each >> of >> 32 and 64 bit windows). >> >> The only downside to this is that libsndfile does not expose...
2004 Mar 01
0
RE: win32etc test failure
For delete_user, try this patch: etc.c, line 639: - lpHost = (LPCWSTR)STR2CSTR(rbHost); +lpHost = AllocWideLString(rbHost); Lemme know how it goes. Dan -----Original Message----- From: win32utils-devel-bounces@rubyforge.org [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of win32utils-devel@rubyforge.org Sent: Monday, March 01, 2004 10:02 AM To: Date,...
2010 Jan 06
4
FLAC C API / Visual Studio 2008 FILE* Issue
...; >> ** #include <windows.h> > >> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 > >> ** #including <sndfile.h> > >> */ > >> #if ENABLE_SNDFILE_WINDOWS_PROTOTYPES > >> SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ; > >> #endif > >> > >> There is a windows binary installer in the main web page (one for each > >> of > >> 32 and 64 bit windows). > >> > >> The only downside to this is that libsndfile does not exp...