|
|
Up |
|
|
  |
Author: greenfishgreenfish
Date: Jul 23, 2008 19:00
uMsgId = RegisterWindowMessage(...)
and
PostMessage(HWND_BROADCAST, uMsgId, ...)
i found these senders and receivers are in the same session id to
communicate with each other.
i want to PostMessage(HWND_BROADCAST, ...) to different session
successfully.
is there any way to communicate in different session by PostMessage?
|
| |
|
| |
1 Comment |
|
  |
Author: mamadcloudmamadcloud
Date: Jul 23, 2008 18:38
Dear all,
I am new in visual c++, and I have a task to create a program image
compression using visual c++, do you have any sample source code about
it(from bitmap to jpeg or anything else)? Actually My program can load
a bitmap image, I want to know how to get the RGB value for each pixel
from the image I loaded (I am using 24-bit bitmap), please help me.
Thank you very much for your help guyz..
regards,
mcloud
|
| |
|
| |
4 Comments |
|
  |
Author: PiranhaPiranha
Date: Jul 23, 2008 15:04
I´m finding 1000s of hits on Google, even 100s of tutorials, but they
all are made for VC++ or MFC or Borland.
Maybe I´m just blind, but I can´t get the smallest Dialog to work, it
always ends up in a bunch of compiler errors.
I guess it´s because I´m not using any of those compilers, but
Code::Block/MinGW/GCC++, meaning I already get stuck when it comes to
linker settings and includes, obviously a tutorial for VC++ doesn´t
mention which libraries to include, while VC++ has them included by
default.
So the question is, how do I create a dialog, or where can I find a
beginners tutorial that isn´t based on a specific compiler or at least
mentions what one has to include when using a different compiler.
I´d be happy to have a single edit field and an OK button where the
user can submit a line of text to the program.
|
| |
|
10 Comments |
|
  |
Author: Aaron MooreAaron Moore
Date: Jul 23, 2008 07:42
I am having an issue with CreateDirectory where I am attempting to create a
directory in the users Documents folder in Vista (MyDocuments in XP) and one
of three things happens:
1) Directory is created, no problem
2) Directory is created but CreateDirectory fails and usually reports error:
ERROR_PATH_NOT_FOUND & rarely some other yet to be identified error. Since
the directory is created, I don't understand this at all.
3) A file is created with the name of the directory, no extension. This
makes more sense to me since directories are files and thus I figure the
CreateDirectory failed part way through the process.
I don't understand why these errors are occuring. They are not consistent.
On some computers, CreateDirectory works fine. On others, these errors
appear. On one computer, CreateDirectory worked fine, and then eventually
stopped working, only to work again the next day.
I have time and again verified that the directory path is accurate. In
addition, I am writing to the users Documents folder and thus there should
not be a permissions issue.
Thanks in adavance for any help offered.
|
| |
|
2 Comments |
|
  |
Author: PradeepPradeep
Date: Jul 23, 2008 06:00
Hi All,
I am calling a third party API which takes one PVOID argument and
returns data in it. It is a DLL application (Multithreaded dll,VS
6.0). But every time this API returning a memory related error saying
that error with buffer size. I am sure buffer size is enough.
I tried with allocating memory dynamically as well but got the same
result.
Kindly suggest.
|
| |
|
1 Comment |
|
  |
Author: Your NameYour Name
Date: Jul 23, 2008 03:12
Hi,
I'd like to access another Win32 process's memory. I don't want to do this
in the "nice" way, which involves using OpenProcess() and ReadProcessMemory
(), because the target process might deny access. I want to just directly
read (and write) memory.
I understand that this is generally considered malicious behavior.
Would this require writing a kernel-mode driver? I'd like to avoid this
unless it's the only way.
Thanks.
|
| |
|
4 Comments |
|
  |
Author: Thomas LauerThomas Lauer
Date: Jul 23, 2008 02:46
New beta 0.4 version released
-----------------------------
I've uploaded a new beta (version 0.4) of Idle. Changes to the previous
version include:
+ a revamped process management with added function os.setProcessPrio()
+ changes to util.parseArg() to allow callback switches
- a host of internal changes (hopefully all backward-compatible) in
preparation for the upcoming full 1.0 release
- fixed a bug within the start-up code
This version is available for Windows 2000 and later and is released
under an MIT licence. For details, documentation and downloads see
http://idle.thomaslauer.com
What is Idle?
-------------
Idle is a scripting language based on Lua (see http://www.lua.org ). Lua
is a mature and efficient language, sporting an easy-to-understand
syntax and extraordinary extensibility.
Idle adds a few language features to the mix, offers a comprehensive
runtime library and a compiler that produces extremely small .exe files.
|
| Show full article (1.91Kb) |
|
no comments
|
|
  |
|
|
  |
Author: AngusAngus
Date: Jul 23, 2008 02:07
Hi all
My Windows program has now developed an annoying habit of consuming
100%% cpu utilisation after some thing specific happening. But not yet
sure how this is caused. It doesn't seem to crash - no access
violations or anything of that sort.
I suspect it is caught in a busy loop or something.
I am running my program in Visual Studio (VC++ v6) and now 100%% issue
has occurred. I can set breakpoints in my code I suppose. I have a
LOT of code to guess at inserting breakpoints.
Anyone got any bright ideas on how to approach this type of bug fix?
Angus
|
| |
|
2 Comments |
|
|
|
|