Re: C++ A Few Errors Programming Software Development by Ancient Dragon >> { DWORD OldProt; remove the '{' character. Re: Saving 'int' values to the registry Programming Software Development by wildgoose DWORD dw; char szFName[ 256 ]; wsock was a structure, that contained a boolean. Re: Compiling Error? Programming Software Development by Ancient Dragon DWORD as well as other win32 api functions are declared in windows.h, so just add that to the top of your program and it should compile [code] #include <windows.h> // other code goes here [/code] Re: how to declare a 32bit datatype? Programming Software Development by Ancient Dragon DWORD is not a standard C or C++ data type -- it … might want to declare it as [icode]typedef unsigned long DWORD;[/icode]. But that is no guarentee that it will be… Re: How to increase heap size allocated to a process?? Programming Software Development by risa DWORD dsize = 468178553; PBYTE pBuffer=(PBYTE)::VirtualAlloc(NULL,dsize ,MEM_COMMIT,PAGE_READWRITE); but still its crashing.......i hav 1GB of RAM and my virtual memory settings are: initial size (1024MB) Max size(1509MB) Curently allocated(4044MB) Wht shld i do? Re: Registry error: function unseccussful but still always returns error succes Programming Software Development by c0DEZOMBIE … messeges or be shortened", msg); RegCloseKey(key); return 0; DWORD Err = 42; long int iErri=9; char * msg = 0; … messeges or be shortened", msg); RegCloseKey(key); return 0; } DWORD Err = 42; long int iErri=9; char * msg = 0;… Re: Word Association Game Community Center Geeks' Lounge by GreenDay2001 DWORD -> Windows API Dword - hiword & loword Programming Software Development by Stefano Mtangoo I'm practing with Akrip32.dll for a time now and I can get the DLL version as DWORD. The Version is divided as HIWORD and LOWORD Can anyone help me interpret these Buzzwords? I have no Idea of what they are Re: Dword - hiword & loword Programming Software Development by Stefano Mtangoo Ok Cool Links! Another question I have is how to retrieve HIWORD and LOWORD if Im given a variable Lets say I have [CODE=C++] DWORD testVariable; // How do I get HIWORD and LOWORD??? [/CODE] Re: Dword - hiword & loword Programming Software Development by Ancient Dragon Just simply use the macros [code] #include <iostream> #include <windows.h> using namespace std; int main() { DWORD dwWord = 1234567890; long lWord = LOWORD(dwWord); cout << lWord << "\n"; cin.get(); return 0; } [/code] Breaking a DWORD into 32 bits Programming Software Development by Graphix … want. However, the return value is a DWORD of which bit-position 0 represents the existince …32]; // Array to put in the seperate bits of the DWORD DWORD input = 9; // This should give 10010000000000000000000000000000 int i =… 0; // Counter /* Looping through every bit of the DWORD: */ for (i = 0; i < 32; i++) { … Writing DWORD values to the registry Programming Software Development by Bomber686 …[/CODE] All I am try to do is write a DWORD value of 2 to the registry. The above code does… declare nVal as a string then the SandBoxMode DWORD value becomes an "Invalid DWORD value". Can anyone assist in getting… Get dword registry value to string? Programming Software Development by Sheeping … all over google looking for proper examples that work with dword values, but i have found some examples online but nothing…://www.dreaminco...istry-in-vbnet/ but that doesn't cover dword value reading. Actually i am kinda struggling to understand the… is: "prevhost.exe" 3 The value is a Dword value which is what I am trying to read to… Re: Conversion of DWORD to BYTEs for Serial memory Programming Software Development by Ancient Dragon I always copied it into an unsigned char 4-byte buffer DWORD dwValue = 123; unsigned char buf[sizeof(DWORD)]; memcpy(buf,&dwValue, sizeof(DWORD); Or you could just typecast a pointer `unsigned char* ptr = (unsigned char*)&dwValue;` MS ActiveX Compatibility Flags - DWORD?? Hardware and Software Microsoft Windows by Everton … Compatibility\{app CLSID here} "Compatibility Flags"=dword:00800000[/B] Understand how the DWORD value can be set to 'disable' an… Re: MS ActiveX Compatibility Flags - DWORD?? Hardware and Software Microsoft Windows by EricaJanine … Compatibility\{app CLSID here} "Compatibility Flags"=dword:00800000[/B] Understand how the DWORD value can be set to 'disable' an… mov DWORD PTR [ebp-4] Programming Software Development by linuxdude … assembly. All gcc outputs have a line similar to: mov DWORD PTR [ebp-4] that I can't figure out. For… sub esp, 16 ; push for room for a word mov DWORD PTR [ebp-4], 5 ; I'm confused here mov eax… Outlook Mailbox Maximum Size & DWord values Hardware and Software Microsoft Windows by kes166 … increasing the maximum mailbox size in outlook and what the dword values represent in the registry. I recenetly encounted a problem… gig, or 2 terabytes. I have no idea how the dword registry calculates how large to make the outlook mailbox. What… Conversion of DWORD to BYTEs for Serial memory Programming Software Development by kent.johnstone I need to convert a DWORD into 4 bytes to send to serial RAM. All the examples of using SPIRAM, EEPROM and FLASH use `*variable` to send and receive. I can break the DWORD down into bytes which I stuck in a `char[3]`. I don't, apparently even with all my books and Google, know how to convert to a *variable. How is this done? How to add more DWORD keys and values in this code? Hardware and Software Microsoft Windows by 에프 … in windows registry with this code? How to add more DWORD keys and values? #include <Windows.h> #include <…> using namespace std; int main() LONG IReg; HKEY hKey; DWORD dwData = 6; IReg = RegCreateKeyEx ( HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Windows… Re: mov DWORD PTR [ebp-4] Programming Software Development by NotNull … for 4 doublewords as local variables on the stack. mov DWORD PTR [ebp-4], 5 Copies 5 into first doubleword on… Re: From DWORD to float (IEE-754). Programming Software Development by sasho648 … the floats they're get from dword because the DirectX 3d positions can be only DWORD. And something another - type in the… Re: Outlook Mailbox Maximum Size & DWord values Hardware and Software Microsoft Windows by kes166 … for a standard before outlook 2003. The MaxLargeFileSize is the DWord that uses UNICODE and is default of 00005000 which is… Re: How to add more DWORD keys and values in this code? Hardware and Software Microsoft Windows by rproffitt … to me you would duplicate the code starting at about DWORD dwData = 6 to where this code section ends (remember I… Weird DWORD addition error Programming Software Development by nschessnerd Hi, I have the following managed c++ code: [code=cplusplus] DWORD addr=(obj.addresshigh*0x10000)+obj.addresslow; [/code] and i use … call dword ptr [ecx+5Ch] Programming Software Development by azka Hello, i have a noob question. Could you please answer me, what do this means? [CODE]call dword ptr [ecx+5Ch][/CODE] i can not get, what does this +5Ch (its s backslash "\"), but what it means in this calling? Thanks! Re: call dword ptr [ecx+5Ch] Programming Software Development by GunnerInc 5CH == 92 base 10 so it would be call DWORD PTR [ecx + 92] what is it from? A disassembly? From DWORD to float (IEE-754). Programming Software Development by sasho648 I'm writing a Level Editor but my program is shows the X,Y,Z positions like DWORD(unsigned long). I want to show them like a float but I can't find a formula or function for that. If you know something please reply! Loading and Setting text Programming Software Development by goody11 …if(GetWindowText(hEdit11,pszText, dwBufferSize)) { DWORD dwWritten; if(WriteFile(hFile, pszText, dwTextLength…if(GetWindowText(hEdit12,pszText, dwBufferSize)) { DWORD dwWritten; if(WriteFile(hFile, pszText, dwTextLength… IE Syntax Error and Can´t browse some sites Hardware and Software Information Security by Andy25 …;Logoff"="UnregisterTicketExpiredNotificationEvent" "Impersonate"=dword:00000001 "Asynchronous"=dword:00000001 ********************************************************************************** useragent: Windows Registry Editor Version 5.00…