similar to: HeapAlloc vs. malloc. How does HeapAlloc work?

Displaying 20 results from an estimated 110 matches similar to: "HeapAlloc vs. malloc. How does HeapAlloc work?"

2012 Jul 27
3
[LLVMdev] Roundtrip clang -> llc -> clang fails
Hi! I am not sure if this is a bug or not. I have the following non-sense C module exc_alloc.c: #include <windows.h> void *AllocMem() { HANDLE heap = GetProcessHeap(); void *p = HeapAlloc(heap, HEAP_GENERATE_EXCEPTIONS | HEAP_ZERO_MEMORY, 16*1024*1014*1024); return p; } If I execute the following commands clang -S -emit-llvm -o exc_alloc.ll exc_alloc.c llc -filetype=asm
2012 Jul 28
0
[LLVMdev] Roundtrip clang -> llc -> clang fails
On Fri, Jul 27, 2012 at 3:36 PM, Kai <kai at redstar.de> wrote: > Hi! > > I am not sure if this is a bug or not. > > I have the following non-sense C module exc_alloc.c: > > #include <windows.h> > > void *AllocMem() { > HANDLE heap = GetProcessHeap(); > void *p = HeapAlloc(heap, HEAP_GENERATE_EXCEPTIONS | > HEAP_ZERO_MEMORY,
2010 Jul 07
3
Message: "err:psdrv:PSDRV_PPDGetNextTuple Line too long."
Hello! When my application opens a URL in Firefox with more than 257 characters, the URL is truncated and the message below. "Err: psdrv: PSDRV_PPDGetNextTuple Line too long." I noted that this limitation may be due to the following code. See line 00363. Code: 00354 /********************************************************************* 00355 * 00356 *
2008 May 09
4
VB6 and wine_get_unix_file_name
Hello, I'm trying to make a function for using wine_get_unix_file_name in VB6 programs. Private Declare Function lstrcpyA Lib "kernel32.dll" (ByVal lpString1 As String, ByVal lpString2 As Long) As Long Public Declare Function GetProcessHeap Lib "kernel32" () As Long Public Declare Function HeapFree Lib "kernel32" (ByVal hHeap As Long, ByVal dwFlags As
2010 Nov 14
0
freebsd oss sound dsp scheme
Hi I had have trouble to get sound working under freebsd 8.1 amd64 arch. So i decide to dig in wine code and I create a simple "proof of concept" patch to get work my sound card.? ********* SND STAT ********FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: <HDA Realtek ALC272 PCM #0 Analog> (play/rec) default <- This is my primary snd pcm1: <HDA
2004 Oct 21
6
wine-20041019 build failed
This is my error message: make[2]: Entering directory `/home/jrt/wine-20041019/dlls/kernel' /usr/local/bin/gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -DETCDIR="\"/usr/local/etc\"" -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -I/usr/local/ssl/include -I/usr/gnome2/include
2010 May 15
2
Wineboot: useless dialog
Hi! I wonder about something, which disturb 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 );
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[] =
2005 Dec 09
3
fixme:font:load_VDMX Failed to retrieve vTable
hi my reports are not well displayed on my access97 app. fonts are displayed i anora location and separed I got this fixme fixme:font:load_VDMX Failed to retrieve vTable somebdoy knows how to fix it? thanks all
2008 Dec 18
5
EverQuest - worked once, but no more
I had a previous install on another computer with the following, and EQ worked perfectly there, with the following configuration: Laptop: HP dv6355 Graphics: NVIDIA GeForce Go 6150 (UMA) Processor: AMD Turion 64 X2 (1.8 GHz) Memory: 2 GB OS: Ubuntu 8.04 Wine: 1.1.4 Unfortunately, the computer was formatted and given to someone else, so I can no longer compare the configurations or run any tests
2009 Mar 15
2
Unable to run Perfect World in Wine
Recently, I tried install a game called Perfect World (http://pwi.perfectworld.com/), which has not been tested in Wine yet. To my surprise, the installer ran beautifully. However, when I went to open it from the desktop shortcut, I received an error. WineHelper's log had this to say: Code: pfixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 16 vertex samplers and 16 total
2007 Mar 30
0
Wine release 0.9.34
This is release 0.9.34 of Wine, a free implementation of Windows on Unix. What's new in this release: - Support for Xcursor. - A range of fixes for various installers. - New builtin xcopy tool. - The usual assortment of Direct3D fixes. - Lots of bug fixes. Because of lags created by using mirrors, this message may reach you before the release is available at the public sites. The
2008 Mar 07
0
Wine release 0.9.57
This is release 0.9.57 of Wine, a free implementation of Windows on Unix. What's new in this release (see below for details): - Support for multiple OpenGL pixel formats. - Improved support for color profiles. - Many window management fixes. - Better fullscreen support. - Lots of bug fixes. Because of lags created by using mirrors, this message may reach you before the release is
2010 Oct 01
0
Wine release 1.3.4
The Wine development release 1.3.4 is now available. What's new in this release (see below for details): - Support for right-to-left mirrored windows. - Winelib now supports the ARM platform. - New taskkill.exe built-in application. - Inetcpl control panel fleshed out. - AcceptEx is implemented now. - Improved security checks for SSL connections. - Translation updates. -
2020 Jul 03
4
[cfe-dev] RFC: Replacing the default CRT allocator on Windows
Thanks for the suggestion James, it reduces the commit by about ~900 MB (14,9 GB -> 14 GB). Unfortunately it does not solve the performance problem. The heap is global to the application and thread-safe, so every malloc/free locks it, which evidently doesn’t scale. We could manually create thread-local heaps, but I didn’t want to go there. Ultimately allocated blocks need to share ownership
2001 Mar 13
3
problems running homesite
Hi there, I have just installed wine (release 20010305) and it looks to work good. I can run notepad without trouble, winecheck.pl has one bad and one critical result: 023. Checking device needed for DGA (option "UseDGA"): /dev/BAD (/dev/mem is not writable for you). - ADVICE: Use chmod as root to fix it ("man chmod"). 025. Checking availability of windows registry
2008 Dec 20
0
Wine release 1.1.11
The Wine development release 1.1.11 is now available. What's new in this release (see below for details): - Numerous fixes for IE7 support. - Support for 64-bit cross-compile using Mingw64. - User interface support for crypto certificates. - Better support for MSI installation patches. - Various Direct3D optimizations. - Various bug fixes. The source is available from the
2001 Aug 05
4
Abiword as test of Wine
One problem with Wine has been that there were few serious open source win32 applications out there to test Wine with (ok, maybe my opinions are from 1997 :-) In any case, we have some great open source Win32 applications to test with. AbiWord is one. I just tried installing AbiWord 0.9 under the latest Codeweavers preview. The install worked -- but generated about a billion warnings of the
2010 May 07
0
Wine release 1.1.44
The Wine development release 1.1.44 is now available. What's new in this release (see below for details): - Many more new icons. - Support for 32-bit prefixes with a 64-bit Wine. - Many additional msvcr80/90 functions. - Improvements to Bidi handling. - More complete mmdevapi (Win7 audio) support. - Improved handling of MSI patches. - A number of fixes for desktop menus. -
2001 Nov 19
3
WineLib Seg Fault?
A question for the WineLib guru's :) I am using the wine-20011108 build with Mandrake 8.0 and with this version of wine clean compiled and installed I can run several windows programs very successfully :). Then I use winemaker to create a WineLib 'so' file and the compile and link again runs clean. But when I run the resulting 'so' file using this command line: $