Displaying 13 results from an estimated 13 matches similar to: "Getting Registry info and using it ????"
2004 Feb 25
5
Wide strings and LPCTSTR types
All,
I was experimenting with converting LPCTSTR strings to wide strings with
something like this:
// Converts a Ruby string to a LPWSTR
LPCTSTR AllocWideLString(VALUE rbString){
char* str = STR2CSTR(rbString);
int length = (strlen(str)+1) * sizeof(WCHAR);
LPCTSTR lpStr = (LPCTSTR)malloc(length);
MultiByteToWideChar(
CP_ACP,
0,
str,
strlen(str)+1,
2001 Aug 15
1
WineLib Warning?
When compiling the following line of code using WineLib 20010731
you get a warning 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
2005 Dec 12
0
Real time in ARM - please help
Thanks for the advice. With complexity=1, bit rates 5950,8000 and 15000 (CBR
only), I'm still getting 30-50 seconds encoding time for a 10-second file.
To anyone who has made this work in ARMv4, or knows how to, can I get some
advice on the settings? FIXED_POINT is already defined in all relevant
files. My source code is patterned after sampleenc and I haven't tried using
Ogg.. my source
2006 Aug 01
2
Crypto API
AB Spam/AV Checker..-Message-ID: <1154377473107014403@www.autobaun.net>
Hi all,
I am getting an error when starting Dungeons and Dragons Online:
Stormreach. I am able to get the game to run, but when trying to login to
their auth server I get a windows error of "Unable to initialize crypto
API". I am wondering if there is a way around this error using the windows
dll's or
2016 Feb 24
0
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
On 2/24/2016 08:02, Pete Batard via Syslinux wrote:
> The variable 'ok' is never used and generates a warning. Remove it. Also
> ntfssect.c is designed to be compiled in non Unicode mode when using
> MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use
> of 'A' API calls) so that it doesn't break when compiled in Unicode
> mode, which is
2005 May 23
1
Why does ov_open fail?
hello everyone.
after reading through the api manual of the ogg vorbis win32 sdk, i
tried to implement a very simple comment reader in visual c++. but for
some reason the very first operation to initialize the OggVorbis_File
struct keeps failing and i can't figure out why. is there anything i
might not have considered? The memory exception seems to happen deep
within the calling tree of
2000 Mar 29
0
Something about Upper/Lower-case
Hi,
We are using SAMBA on Solaris and AIX and discovered a funny
thing. (A bug ??) (We had tried on a Linux-box as well and have same
result.)
SAMBA AFTER VER. 2.0.0 returns the full path in both UPPER and LOWER case,
eg. DRIVERLETTER:\DIR\DIR\DIR\filename.txt
This is a problem for us do to Unix case-sensitive.
Our devel.dep. wrote a litle program using this routine (From the helpfile
from
2016 Feb 24
0
[PATCH 0/5] fix installer issues and enable some MSVC compatibility
Hi,
As I am embedding part of the Syslinux code in Rufus [1], I have
encountered various issues that I would like to see addressed, so that I
can keep most of my code in sync with the official mainline. Some of
these fixes have to do with being more friendly with MSVC compilation,
and other are fixes for actual Syslinux issues, that Rufus users have
encountered.
For convenience, the
2004 Nov 06
3
Calling CreateFile on an instance of File - possible?
Hi all,
I''m going over win32-file this weekend. I''m creating instance methods for
setting (or unsetting) the various file attributes. So, you can do
something like:
f = File.open("foo.txt")
f.archive = true
f.hidden = true
f.close
This works for the basic attributes, but it requires extra work for others.
Specifically, I am having trouble trying to set the
2010 Jul 30
0
Wine release 1.3.0
The Wine development release 1.3.0 is now available.
What's new in this release (see below for details):
- Beginnings of a user interface for the builtin Internet Explorer.
- Support for cross-process OLE drag & drop.
- New builtin wscript.exe (Windows Script Host) program.
- Open/save dialogs remember the last used directory.
- Translation updates.
- Various bug fixes.
The
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
RHSrvAny.c was using a mixture of 4 space indentation, and tabs with a width of
4. This commit rationalises the whitespace to use only 4 space indentation, and
removes trailing whitespace.
---
RHSrvAny/RHSrvAny.c | 537 ++++++++++++++++++++++++++--------------------------
RHSrvAny/RHSrvAny.h | 1 -
RHSrvAny/resource.h | 2 +-
3 files changed, 269 insertions(+), 271 deletions(-)
diff --git
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
RHSrvAny.c was using a mixture of 4 space indentation, and tabs with a width of
4. This commit rationalises the whitespace to use only 4 space indentation, and
removes trailing whitespace.
---
RHSrvAny/RHSrvAny.c | 537 ++++++++++++++++++++++++++--------------------------
RHSrvAny/RHSrvAny.h | 1 -
RHSrvAny/resource.h | 2 +-
3 files changed, 269 insertions(+), 271 deletions(-)
diff --git
2016 Feb 24
6
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
The variable 'ok' is never used and generates a warning. Remove it. Also
ntfssect.c is designed to be compiled in non Unicode mode when using
MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use
of 'A' API calls) so that it doesn't break when compiled in Unicode
mode, which is what Rufus uses with MSVC.
-------------- next part --------------