No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I got this simple code: #include "stdio.h" #include "stdlib.h" #include "windows.h" int main(int argc, CHAR* argv[]) { HANDLE hFile = NULL; HANDLE hMapFile = NULL; LPBYTE fileView; hFile = CreateFile(argv[1],GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); if(hFile == INVALID_HANDLE_VALUE) { printf("CreateFile function failed\n"); goto clean; } ***** hMapFile = (LPBYTE)CreateFileMapping(hFile,NULL,PAGE_READONLY,0,256,NULL);***** if(hMapFile == NULL) { printf("CreateFileMapping function … |
|
I got an assignment which I don't even know how to start, I have a path to a driver & its name (Argv) and I need to create a code that will install this driver automatically. If anyone even has an idea how to make this code generic I would … |
|
I'm trying to open a program while I'm in a python script using the subprocess.call() function, It opens the program but for some reason the program doesn't allows that and just throw an "Unhandled exception" error, I know the problem is probably in the program so there may be any … |
|
I'm trying to check the length of a string, its the most simple way there is but for some reason it says the the length of the string is 14h [CODE] org 100h mov cl,len mov si,offset src mov di,offset dst rep movsb mov ah,0 int 16h ret src DB … |
|
I need a library for a certain script and I don't know which one to choose, I have the following page on a browser: (Its in a table formation) Date | Value | EDIT Date | Value | EDIT Date | Value | EDIT Date | Value | EDIT Date … |
|
How can I use the "datetime" class to get a different time zone than mine? (for example gmt = 0 or utc+2) Thanks! |
|
Let's say I've the following drawing: Is it more likely to use an Array or a List? (The max of Px (p1,p2...) is 10) If it's possible to do in an Array can you please give me a quick explanation how? |
|
I have an assignment to make a code that will check what is the longest "string" of zeros inside a double word binary number, for example (in a Byte) if I have this number: 10010001 The answer will be 3. The code I've written works fine until a certain point … |