WINAMP.COM | Forums > Developer Center > NSIS Discussion > Detect Free RAM? |
Last Thread
Next Thread
|
| Author |
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
System does it again
__________________ |
||
|
|
|
Joel Debian user (Forum King)
Registered: Jan 2003 |
thanks !!!! __________________ |
||
|
|
|
liquidmotion Smokes Two Joints Beta Team
Registered: Feb 2001 |
in mirc, just type /stat __________________ |
||
|
|
|
Joel Debian user (Forum King)
Registered: Jan 2003 |
Ok, try everything..... but how can we convert to MB in Nsis, __________________ |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
This one for example: __________________ |
||
|
|
|
Joel Debian user (Forum King)
Registered: Jan 2003 |
jejeje...yeah...IntOp... does it !!!! __________________ |
||
|
|
|
spanky Senior Member
Registered: May 2000 |
I love system.dll. __________________ |
||
|
|
|
testtube Junior Member
Registered: Feb 2008 |
Old thread but I was trying to figure out how to determine how to detect the amount of system memory at install time and came across this via google. code: I thought this might save someone some time. I apologize it it's poor etiquette to dredge up old threads. Every forum seems to have different rules... edit: The URLs posted above were function and structure names with links to Microsoft's MSDN docs. Right now all I see is "URL submitted by user" Sorry if this makes the post unreadable.. Last edited by testtube on 02-06-2008 at 08:32 AM |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
You should add this code to the Wiki page: __________________ |
||
|
|
|
testtube Junior Member
Registered: Feb 2008 |
Just a heads up... |
||
|
|
|
Anders Major Dude
Registered: Jun 2002 |
the system plugin has Int64Op __________________ |
||
|
|
|
testtube Junior Member
Registered: Feb 2008 |
|
||
|
|
|
qwerty53 Junior Member
Registered: Feb 2008 |
How do I make it work on 64bit ? (returns negative numbers)
on 64bit The following code gives this (also picture attached): R5: -813 5: -852815872 R4: -256 4: -269082624 the real total memory is: 3.75GB of RAM How do I make this work for a 64 bit system? if pissible hoe to make one coade to work for both 64bit and 32bit? Thanks!
|
||
|
|
|
testtube Junior Member
Registered: Feb 2008 |
Have you read the entire thread? I would guess "no"... |
||
|
|
|
qwerty53 Junior Member
Registered: Feb 2008 |
Get negative crap
Hi, on a 64 bit machine I get: -262776 if I printout the $3 it gives the right value in bytes: 4025884672. in fact I get negative number even if I do $3 +1 thanks |
||
|
|
|
testtube Junior Member
Registered: Feb 2008 |
In posts subsequent to the GlobalMemoryStatusEX post you'll find that you need to use System::Int64Op to do 64 bit math. code: |
||
|
|
|
qwerty53 Junior Member
Registered: Feb 2008 |
THANKS ALOT!!!!!!!!!!!!
THANKS ALOT!!!!!!!!!!!! |
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > Detect Free RAM? |
Forum Rules:
|