Search:
Type: Posts; User: dexblack
Search:
Search took 0.03 seconds.
-
February 21st, 2011, 10:25 PM
I am sure you meant PROCESS_CREATE_THREAD but there is MUCH more to this.
You have read the CreateRemoteThread documentation haven't you?
After you get back from (re)reading the doco, read this...
-
February 21st, 2011, 10:16 PM
Drawing a filled rectangle is going to be slightly faster and simpler than loading and drawing a bitmap. It is also more flexible since you can rescale with having to worry about the resolution of...
-
February 21st, 2011, 10:08 PM
Probably, but you won't get access to the source code.
Write your own. ATL provides the ICollectionOnSTLImpl interface to enable you to quickly implement Standard Template Library (STL)-based...
-
February 21st, 2011, 10:02 PM
The key here is that RefFunc force p to point to the address of a local variable.
The contents of stack values (like q) cannot be counted on after the function returns.
-
February 21st, 2011, 09:46 PM
Please state the nature of the actual problem you are trying to solve.
Perhaps there is another way that does not involve your proposed solution.
-
February 21st, 2011, 09:40 PM
A serial port is a very dumb device.
You MUST know the protocol you intend to use between the communicating software components. In many cases you are 'talking' to another computing device (scanner,...
-
February 21st, 2011, 09:29 PM
You can only prevent users from changing the file NAME through the use of an Access Control List.
-
February 21st, 2011, 09:24 PM
Here is a commercial product that does what you are describing http://www.newsoftwares.net/folderlock/
-
February 21st, 2011, 09:23 PM
You have two separate problems.
1. File association (now solved but with the caveat that it can be changed)
2. Preventing other software from "interpreting" NOT reading the contents of the file....
-
February 21st, 2011, 09:16 PM
Perhaps you could read this too
http://www.dnjonline.com/article.aspx?id=jun07_access3264
-
February 21st, 2011, 09:15 PM
Sorry, but you haven't been very clear about the problem.
Is the "script like tool" provided as a COM dll? Is it 32 bit?
In one of your statements you say "x86 and x64 versions of this program are...
-
February 21st, 2011, 08:09 PM
A file system driver, encryption software and the stealth mode is probably using a simple keyboard driver (or if they were lazy possibly a registry hack to add the shortcut key). The lock file can be...
-
February 21st, 2011, 07:57 PM
Organise SVN better and keep the image files in a separate project.
Then either use partial checkouts (i.e. depth parameter) and/or external declarations to control which projects are downloaded.
...
-
February 21st, 2011, 07:42 PM
Sorry to see you got no response on that question.
Are you still interested in getting an answer?
-
February 21st, 2011, 07:35 PM
You could try using just PROCESS_QUERY_LIMITED_INFORMATION and QueryFullProcessImageName (Vista upward) or GetProcessImageFileName (XP)
-
February 21st, 2011, 07:20 PM
If you can "request" a substring then you already know it's length.
Either you are using (offset,length) to get the substring or iterators i.e. (first,last)
In the first case your answer is...
-
February 21st, 2011, 07:13 PM
For POD (plain old data) initialise every declared variable and class member, always. NO exceptions.
-
February 21st, 2011, 05:51 PM
When building a multithreaded system of any sort one of the big issues is data handling.
Threads can all 'see' process' memory, but when it comes to sharing one usually splits reader/writer roles....
-
February 21st, 2011, 05:38 PM
Are you protecting the right resource with your mutex?
-
February 21st, 2011, 05:28 PM
InterlockedExhange64 would work on an 8 byte double value.
e.g. static double x = 0.0; InterlockedExhange64((LONGLONG*)&x, (LONGLONG)newvalue);
This is NOT a recommended practice but would work....
-
February 21st, 2011, 05:14 PM
Or you could just use the service framework library SFL
-
February 21st, 2011, 04:59 PM
No need to write a program to start/stop services.
net start service
net stop service
-
February 21st, 2011, 04:50 PM
Igor Vartanov's advice is really solid.
Analyse the requirements and break it down into small individual programming tasks.
Write code modules for each aspect, e.g. client_main, client_ui,...
-
February 21st, 2011, 04:47 PM
Creating a UDP Datagram Socket Application
-
February 21st, 2011, 04:45 PM
|
Click Here to Expand Forum to Full Width
|