Displaying 20 results from an estimated 200 matches similar to: "A problem with GetProcessMemoryInfo?"
2009 Mar 01
0
Re: A problem with GetProcessMemoryInfo?
I modified code to:
#include <windows.h>
#include "psapi.h"
#include <stdio.h>
#include <stdlib.h>
#pragma comment ( lib, "psapi.lib" )
void GetCurrentProcessMemory ()
{
PROCESS_MEMORY_COUNTERS pmc;
printf("{\n}");
bool ret=GetProcessMemoryInfo ( GetCurrentProcess() , &pmc, sizeof ( pmc
) );
if (ret)
2008 Nov 17
1
Re: A problem with GetProcessMemoryInfo?
Doesn't compile:
austin at austin-desktop:~$ i586-mingw32msvc-gcc foo.c
foo.c: In function ?GetCurrentProcessMemory?:
foo.c:14: error: ?bool? undeclared (first use in this function)
foo.c:14: error: (Each undeclared identifier is reported only once
foo.c:14: error: for each function it appears in.)
foo.c:14: error: expected ?;? before ?ret?
foo.c:17: error: ?ret? undeclared (first use in
2009 Jan 19
5
Really want to dump microsoft....but have to run Photoshop
I am a rank newb at this and I appologize, I would have dumped MS long ago but I am not any kind of a coder, so having to write scripts and such is out for me.
I really want to dump everything microsoft.....but I have to be able to run Adobe Photoshop 7 and CS4......why do I keep PS7...because I can't get a lot of the plug-ins I use for any thing above 7 and a lot of the ones I can I have to
2019 Jan 13
2
Problem using BlockFrequencyInfo's getBlockProfileCount
Hey,
I am trying to use the BlockFrequencyInfoWrapperPass to obtain hotness
information in my LLVM pass. Attached is a minimal example of code which
creates a SIGSEGV. The pass calls
AU.addRequired<BlockFrequencyInfoWrapperPass>(); in
getAnalysisUsage(..). The problem exists with changed and unchanged IR.
The binary is instrumented like this: clang input.bc -fprofile-generate
-o
2009 Apr 03
3
Wine in kubuntu-9.04
I cannot get wine to run in kubuntu-9.04, on an x-64 machine.This is with the standard video drivers, nothing extra added. I have tried both the wine version in the repository, and the beta version from budgetdirect(?). Winecfg does run in the repository version, not in the beta version. It does run in the 32-bit version of kubuntu-9.04, on a 32 bit machine.
Basically, it won't run anything at
2015 Oct 15
3
Build libguestfs error with undefined reference to `guestfs_int_init_libvirt_backend'
Dear all,
I am trying to build libguestfs library on my system : Ubuntu Server 12.04
x64bit on XEN hypervisor.
I have followed all instructions on their homepage but whey i am trying to
build the library make -> gives me the following error: libguestfs.so:
undefined reference to `guestfs_int_init_libvirt_backend'
Here is a sample code of the error :
make[2]: Entering directory
2011 Feb 14
0
Pspi and wine
Hi all,
First post on this board, first problem.
I try to work with gimp, and i found a little apps named "pspi" who can use filter of photoshop plugin on gimp.
But some months ago, pspi can't run. After install gimp with wine, try another wine version, others gimp version. We (some others guys) thinks that a modification of wine.
Pspi works on windows...the only think i know.
I
2017 Feb 17
3
Linking Linux kernel with LLD
>>That boot_params.hdr.code32_start field is probably either invalid (bad reloc or something else causing the bootloader to >>calculate the wrong address) or valid but the thing it thinks it is pointing to wasn't loaded (missing PT_LOAD etc.).
>boot_params.hdr.code32_start field is valid :) It is 0x100000, like expected
>
>Then I suspect that that segment isn't being
2009 Oct 02
2
[LLVMdev] llvm build errors on windows/mingw32
> On 2009-10-02 01:07, 罗勇刚(Yonggang Luo) wrote:
> > Well, Now I get the solution.
> > Please, someone can apply the patch.
> >
> > Just modify the makefile resident in lib/System
> >
> > But, a new error is appeared
> > llvm[2]: Linking Debug unit test ADT
> >
2009 Oct 01
6
[LLVMdev] llvm build errors on windows/mingw32
Well, Now I get the solution.
Please, someone can apply the patch.
Just modify the makefile resident in lib/System
But, a new error is appeared
llvm[2]: Linking Debug unit test ADT
d:/objs/llvm/msys/Debug/lib/libLLVMSystem.a(Process.o):e:/Downloads/llvm-trunk/lib/System/Win32/Process.inc:78:
undefined reference to `GetProcessMemoryInfo at 12'
collect2: ld returned 1 exit status
make[2]: ***
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
2009/1/13 Anton Korobeynikov <anton at korobeynikov.info>:
> Hello, Duncan
>
> * LD (which I took to be representative of Binutils version) 2.17.50
> 20060824
> Why you're using such old binutils? 2.18.50-20080109 definitely worked for
> me (and release binaries were built so...).
Thank you for your reply Anton. I'm sorry it's taken a while to get
back to you.
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
On 2009-10-02 01:07, 罗勇刚(Yonggang Luo) wrote:
> Well, Now I get the solution.
> Please, someone can apply the patch.
>
> Just modify the makefile resident in lib/System
>
> But, a new error is appeared
> llvm[2]: Linking Debug unit test ADT
> d:/objs/llvm/msys/Debug/lib/libLLVMSystem.a(Process.o):e:/Downloads/llvm-trunk/lib/System/Win32/Process.inc:78:
> undefined
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
On 2009-10-02 19:34, Ronald Pijnacker wrote:
>> On 2009-10-02 01:07, 罗勇刚(Yonggang Luo) wrote:
>>> d:/objs/llvm/msys/Debug/lib/libLLVMSystem.a(Process.o):e:/Downloads/llvm-trunk/lib/System/Win32/Process.inc:78:
>>> undefined reference to `GetProcessMemoryInfo at 12'
>> GetProcessMemoryInfo should be defined in psapi.lib, but AFAICS mingw32
>> doesn't
2009 Oct 02
2
[LLVMdev] llvm build errors on windows/mingw32
> >>> d:/objs/llvm/msys/Debug/lib/libLLVMSystem.a(Process.o):e:/Downloads/llvm-trunk/lib/System/Win32/Process.inc:78:
> >>> undefined reference to `GetProcessMemoryInfo at 12'
> >> GetProcessMemoryInfo should be defined in psapi.lib, but AFAICS mingw32
> >> doesn't have this import lib. It is included in the MS Platform SDK,
> >> but
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
Hello, Duncan
> $ g++ -g tut1.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut1
> /mingw/lib/libLLVMSystem.a(Process.o):Process.cpp:(.text+0x8d):
> undefined reference to `GetProcessMemoryInfo at 12'
> collect2: ld returned 1 exit status
I believe you will need additional libraries like imagehlp and psapi.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
Hi Anton
>> $ g++ -g tut1.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut1
>> /mingw/lib/libLLVMSystem.a(Process.o):Process.cpp:(.text+0x8d):
>> undefined reference to `GetProcessMemoryInfo at 12'
>> collect2: ld returned 1 exit status
> I believe you will need additional libraries like imagehlp and psapi.
I have /lib/libimagehlp.a and /lib/libpsapi.a
2012 Jan 07
3
[LLVMdev] [PATCH][Compiler-rt] Windows implementation of mmap functionality in clear_cache_test and enable_execute_stack_test
Hi,
Attached is a patch for compiler-rt to allow it to compile with MinGW-w64
on Windows. Results aren't that bad.
x86 GCC and Clang do everything right, all tests pass.
x86_64 GCC fails a lot of tests. This is 99% sure a codegen issue.
38 - fixunssfti_test (Failed)
74 - fixunsdfti_test (Failed)
x86_64 Clang fails these tests:
2 - udivmodti4_test (SEGFAULT)
6 - fixdfti_test (Failed)
8 -
2007 Nov 18
4
Need help with win32-service, failure actions
Hi all,
I''m trying to get failure action support working. I''ve modified the
Service.configure method to accept the following options:
failure_reset_period
failure_command
failure_reboot_message
failure_actions
failure_delay
I''ve got the failure_command and failure_reboot message working, but the
rest aren''t working properly. I''m mostly focused on
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
> > >>> d:/objs/llvm/msys/Debug/lib/libLLVMSystem.a(Process.o):e:/Downloads/llvm-trunk/lib/System/Win32/Process.inc:78:
> > >>> undefined reference to `GetProcessMemoryInfo at 12'
> > >> GetProcessMemoryInfo should be defined in psapi.lib, but AFAICS mingw32
> > >> doesn't have this import lib. It is included in the MS Platform SDK,
2005 Sep 14
1
[LLVMdev] How to compile llvm with mingw on Windows ?
I'm trying to compile llvm (cvs head) on windows (WinXP sp2) using the
lastest mingw, but I'm getting the link errors found below. It seems that
the tools are not being linked with win32 api lib (libimagehlp.a and
libpsapi.a) which defines the missing symbols. The TOOLS_VERBOSE link
command is at the end of the mail and does not contain those libraries.
The configure line I'm