FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Please friend test win 8 (https://fileforums.com/showthread.php?t=96262)

Dante1995 12-09-2014 12:28

Please friend test win 8
 
deleted

Andrey167 12-09-2014 12:46

Fine Work Win 8.1 X64

mausschieber 12-09-2014 13:02

video card not correct
i have a 4 GB card
and some german translations are not correct

http://abload.de/img/bug267uh7.jpg

Dante1995 12-09-2014 13:20

devil is true comes to 1024

VideoRam>800 then vr:=1024; :(

perfect mi change video stat...



mausschieber test form me thanks VideoRam you VideoCard

mausschieber 12-09-2014 14:51

i hope this helps you
i think HWREQ_ModuleU.iss can solve the problem

http://abload.de/img/bugscsh9.jpg

Dante1995 12-09-2014 15:07

Thanks for test mausschieber, :p

you know the code, but not having the card that exceeds 1024 I do not know what to use if you do not test it to friends .. if you have a script that works with your card or code thank you

mausschieber 13-09-2014 00:51

i think this helps you
with this code my card works
but i can not programming

http://fileforums.com/showpost.php?p...&postcount=476

Dante1995 13-09-2014 04:25

not by mistake but he lies, in short you can not read the mb video card but only the name and so on. better not enter this system

Razor12911 13-09-2014 06:08

hmm, not really, what I did to this script was converted it from ANSI to Unicode, didn't care about the GPU Ram size. If the installer from IC can detect 4GB GPUs then this was the approach that I used. GPU readings are accurate, I did the system readings without Dlls. most of these things are in regedit.
So did I lie? either way, I did this about a year ago, was a noob then. or you can use isUtils.dll

altef_4 13-09-2014 06:46

Quote:

Originally Posted by Razor12911 (Post 434003)
...
or you can use isUtils.dll

IsUtils have the same problem.

Razor12911 13-09-2014 06:53

hmm, ok. will post code.

Carldric Clement 13-09-2014 07:11

Quote:

Originally Posted by Dante1995 (Post 433981)
thanks for all

Work's file Dante1995 Windows XP/8! :rolleyes::D

Dante1995 13-09-2014 09:31

Quote:

Originally Posted by Razor12911 (Post 434003)
hmm, not really, what I did to this script was converted it from ANSI to Unicode, didn't care about the GPU Ram size. If the installer from IC can detect 4GB GPUs then this was the approach that I used. GPU readings are accurate, I did the system readings without Dlls. most of these things are in regedit.
So did I lie? either way, I did this about a year ago, was a noob then. or you can use isUtils.dll


I do not think you can just do anything. too bad!

ops

Razor12911 13-09-2014 17:24

1 Attachment(s)
Hmm, don't know what you talking 'bout bro.
here is the code that I use.
result in in MegaBytes

and my results

type
PDisplay_Device = record
cb: DWord;
DeviceName: array [0..31] of char;
DeviceString: array [0..127] of char;
StateFlags: DWord;
DeviceID, DeviceKey: array [0..127] of char;
end;

function RoundUp(Num: Integer): Integer;
var i, k: Integer;
begin
i:= trunc(Num/64); k:= 64*i;
if (k<Num) then i:=i+1;
k:= 64*i; Result:= k;
end;

function VideoSize: Integer;
var
lpDisplayDevice: PDisplay_Device;
DeviceKey: String;
DeviceValue: Cardinal;
DeviceName: AnsiString;
begin
lpDisplayDevice.cb := SizeOf(lpDisplayDevice);
DeviceKey:= ''; n:= 0;
while not (EnumDisplayDevices(0, n, lpDisplayDevice, 0)and(lpDisplayDevice.StateFlags and 4 > 0))and(n < 127) do n:= n+1;
for n := 0 to 127 do DeviceKey:= DeviceKey + lpDisplayDevice.DeviceKey[n];
Delete(DeviceKey, Pos(Chr(0), DeviceKey), 127);
StringChange(DeviceKey, '\Registry\Machine\', '');
i := 1; DeviceValue := 0;
if RegQueryBinaryValue(HKLM, DeviceKey, 'HardwareInformation.MemorySize', DeviceName) then
for n := 1 to Length(DeviceName) do
begin
DeviceValue := DeviceValue + Ord(DeviceName[n])*i;
i := i*$100;
end else
if not RegQueryDWordValue(HKLM, DeviceKey, 'HardwareInformation.MemorySize', DeviceValue) then
RegQueryDWordValue(HKLM, DeviceKey + '\Info', 'VideoMemory', DeviceValue);
DeviceName:= '';
for n := 0 to 127 do DeviceName := DeviceName + lpDisplayDevice.DeviceString[n];
Delete(DeviceName, Pos( Chr(0), DeviceName ), 127);
Result:=RoundUp(DeviceValue/(1024*1024));
end;

Dante1995 14-09-2014 09:22

no my friend, I know what I'm saying.
example: if I have a card with 3GB of ram, does not mean that I can play with these statistics, even in games that require 256 .. look here:
Click :)

Thanks for code :p


All times are GMT -7. The time now is 09:47.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com