Why this junk mails are not blocked?
This is a very serious programming forum I believe, but moderator not
removing junk posts, I fear experts really fed up with theses things,
they will not visit this forum again, why moderator allowing all kinds
of junk posts?
|
9/8/2010 12:20:56 PM
|
1
|
Zidan <zidans...@gmail.com>
|
|
|
Where is moderator ?
This is a very serious programming forum I believe, but moderator not
removing junk posts, I fear experts really fed up with theses things,
they will not visit this forum again, why moderator allowing all kinds
of junk posts?
|
9/8/2010 12:25:30 PM
|
2
|
Zidan <zidans...@gmail.com>
|
Make mouse only PC behave like Tablet PC
Hi!
What is an easy way to make a normal Windows PC that
has only a mouse but no keyboard to behave like a
tablet PC in the following way:
Whenever an EDIT-Control gets the focus the on screen
keyboard (tabtip.exe or osk.exe) should appear next
to the control.
It should disappear, when the EDIT-Control looses focus
or move to the next EDIT that gets focus.
(handwriting recognition is not needed)
As far as I know, Vista and Win7 have tablet PC
functionality included. How can I use it
without tablet?
And what about older Windows versions without
tablet PC functio
|
9/5/2010 11:42:53 PM
|
1
|
"Wolfgang Greiner" <wolfgang.grei...@web.de>
|
Simple Registry Access
I am working on a simple project that will hopefully teach me Win32
programming. I need to access the registry. I need to test if a key
is present, then add new keys and values or delete old ones. I looked
on MSDN, and found the descriptions confusing. Can anybody help me
out?
|
9/5/2010 9:42:48 PM
|
3
|
Harry Potter <maspethro...@aol.com>
|
ANN: Seed7 Release 2010-09-05
Hello,
I have released a new version of Seed7: seed7_05_20100905.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.
Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).
Changelog:
- The chapter explaining the type 'time' in the manual was improved.
- The support for source level debugging in the compiler (comp.sd7)
was impr
|
9/5/2010 8:26:06 PM
|
1
|
tm <thomas.mer...@gmx.at>
|
What programming language is used internally by Microsoft?
What programming language is used by Microsoft developers who work on:
- Microsoft Office
- Microsoft Windows
TIA,
-Ramon
|
9/3/2010 3:01:24 PM
|
15
|
Ramon F Herrera <ra...@conexus.net>
|
JUST OFF THE PRESS - - - - the reason we have Gravity?
JUST OFF THE PRESS - - - - the reason we have Gravity?
A correct theory of gravity will show us these four (4) things:
1. It will show us why gravity also acts like acceleration (principle
of equvalence).
2. It will show us the actual cause of gravity.
3. It will show us why gravitational mass and inertial mass are
identical.
4. It will show us the speed of gravitational attraction.
Newton said gravity was acting at a much faster speed than Einstein.
Which one of them was right?
http://www.amperefitz.com/why.we.have.gravity.htm
Click that link above if you like Science!
|
9/1/2010 8:33:46 PM
|
3
|
fitz <zeus...@yahoo.com>
|
Build C++ .NET application as pure Win32 code?
Hi,
I'm new in both Visual Studio and .NET framework. I'm trying to make a
Win32 application code using the .NET framework and not the CLR code so
that I can debug and study it using my favorite Win32 debugger. But I
can't seem to find the build option for this purpose.
Is it even possible to do this at all?
Thanks in advance.
|
9/1/2010 4:59:48 AM
|
3
|
JJ <jaeju...@googlemail.com>
|
Get path of a user's desktop if running as admin
Say, my process requires elevation and it was run from a Standard User
account (right-clicked and then Run As Administrator). How do I get a path
to the desktop of that Standard user from such process?
|
8/25/2010 8:27:36 AM
|
1
|
"nki00" <lukkycha...@gmail.com>
|
Where in the source code should I debug a program as it exits?
MSVS 2005, Version 8
C/C++
I have a couple of programs that behave properly except at the end,
when they exit. One of them makes the failure sound and the debugger
displays exit code 0x3.
I come from the Unix world where it is very easy to determine where
the program begins (in main()) and where it ends. It is very confusing
in Windows.
I figured out that a way to debug a Windows program as it begins is
simply pressing F10.
TIA,
-Ramon
|
8/22/2010 3:05:00 PM
|
3
|
Ramon F Herrera <ra...@conexus.net>
|
Is there any way to put a break point that calls the debugger?
This would be a very useful feature. Can I place some sort of
instruction in my code that says:
[...]
xyz = 123;
execute_the_debugger();
Then, when the program is being normally executed (outside the
debugger), upon hitting that break point the debugger would be
executed.
This would be sort of backwards. Instead of the debugger executing my
app, it would be the opposite.
Thanks,
-Ramon
|
8/21/2010 7:57:50 PM
|
3
|
Ramon F Herrera <ra...@conexus.net>
|
IOCTL_DISK_GET_PARTITION_INFO and the PartitionType field problem
Hello all,
I'm trying to create my own "Make USB stick bootable" program, and found a
couple (currently literally) odd things.
The first is a problem with the result of an IOCTL_DISK_GET_PARTITION_INFO
call. The resulting PartitionType field in the PARTITION_INFORMATION record
returns unexpected data.
I've got an USB stick here with a System-type of 0x0B (FAT 32) and
definitily bootable (ubuntu installer). But instead of getting a 0x0B (same
as the System-type ?) in that PartitionType field it returns 0x00 (Unused).
The other fields a correct.
Does anyone have an idea why
|
8/19/2010 6:58:57 PM
|
0
|
"R.Wieser" <addr...@not.available>
|
Microsoft hotfix KB2286198 and CreateProcess
Hello,
Ever since installing this Microsoft hotfix, certain CreateProcess
calls do not complete successfully. Has anybody seen behavior like
this?
|
8/16/2010 8:11:23 PM
|
1
|
Dave McKenna <mckd...@gmail.com>
|
Steal focus to implement global windows search feature
Hello,
in my application (http://tabbles.net) I need to offer a "global
search" shortcut-key like you see in Google Desktop: if you press CTRL
+CTRL at any time (regardless of which application is active and has
keyboard focus), a dialog box must pop up where you must be able to
type a search text and press enter.
This requires stealing focus from the active application.
So far I was able to install a global key hook and use that to detect
the key combination and display a dialog box. I made the dialog
topmost, so it always appears on top of the active application.
However, the
|
8/16/2010 3:39:43 PM
|
2
|
Maurizio Colucci <maurizio.colu...@gmail.com>
|
FAT32 disk compression
Is there any Win32 driver to compress FAT32 hard drives under Win98?
If so, where can I find it?
|
8/15/2010 9:05:44 PM
|
4
|
Harry Potter <maspethro...@aol.com>
|
The "default messenger" and where is "Windows Live Messenger" ?
Hi folks:
We know that there is a "default" email program in a system,
but, is there a "default messenger" application too ?
and, if really there exist one, how can we find out it ?
( the file name and the the path, store in some key in Registry ? )
Besides, can we tell if a user has installed Microsoft
"Windows Live Messenger" or "Windows Live Mail" in his/her system ?
and, where(the path) did she/he install these softwares ?
Thanks !
|
8/14/2010 4:58:35 PM
|
1
|
embark <retro5...@gmail.com>
|
How do I Specify c:/Program Files (x86) for VS2008 Linker Output
Hi Folks:
Developing on XP and Win 7 Ultimate 64, VS 2008 Pro, C++.
As I attempt to resolve an issue of a "MSVCP90.dll not found" error
I posted about in these groups on August 2nd, Microsoft continues to
mount a spirited, and effective, defense against my efforts to wrap up
development on this project.
I've been developing in XP. In an attempt to outflank Microsoft I
decided to see if I would benefit by moving development to Win 7.
After a day's worth of modifications I was able to get the core of
my project to compile under Win 7. But I can't get it th
|
8/14/2010 1:28:23 AM
|
9
|
Larry Lindstrom <larryl_tu...@hotmail.com>
|
Does Version 9.0.30729.4148 vcredist_x86.exe Install Version 9.0.21022.8 of the DLLs?
Hi Folks:
Developing on XP Pro and Win 7 Ultra 64, VS 2008 Pro, C++.
I have a big, puking blood type of problem described below.
Let's talk about one small issue in the big picture. Perhaps
resolving this will be the key to fixing everything.
I've recently downloaded a copy of the C Run Time Redistributable
vcredist_x86.exe. The file version is 9.0.30729.4148.
After a re-boot, to make sure nothing that depended on the run time
was running, I ran vcredist_x86.exe, and it displayed a window that
presented me with some choices. In order to get the cle
|
8/13/2010 10:10:44 PM
|
0
|
Larry Lindstrom <larryl_tu...@hotmail.com>
|
Sluggish "sticky" window movement
Hi,
I'm trying to stick a small popup window position on top of another
larger popup window. Eventhough it works, the movement of the smaller
window is noticeably sluggish. Meaning that it's very easy to spot that
the smaller window position is following the larger window.
Is there any trick to make the position update faster?
Thanks in advance.
Regards,
JJ
|
8/7/2010 2:13:20 PM
|
9
|
JJ <jaeju...@googlemail.com>
|
Trouble with _totupper
I'm writing a small program which reads an input from one edit box,
converts it in some way and sends the output to another edit box.
Suppose I have put "a=E4A=C4" into the first edit box, where the second
character is a-umlaut (Alt-132) and the fourth is A-umlaut (alt-142).
If I convert it using
for (p =3D from; *p; p++) { if (_istlower(*p)) *p =3D '1'; else *p =3D
'0'; }
then I get the result "1100" which is what I would expect. However, if
I convert it using:
for (p =3D from; *p; p++) { if (_istlower(*p)) *p =3D _totupper(*p); }
then I get the result "A=E4A=C4" - the nor
|
8/6/2010 2:31:48 PM
|
1
|
Paul N <gw7...@aol.com>
|
Software that can detect or monitor the file or folder being copied
I would like to know if there is any software that can detect or
monitor the file or folder being copied either by copy command(like on
command prompt-- copy a b) or by using drag/drop(ctrl+c and ctr+v).
Thanks!
|
8/6/2010 1:55:28 AM
|
1
|
susan <xiaose...@gmail.com>
|
How can I programmatically monitor CPU load
Like is done in 'windows task manager' \ preformance. I want to add a
section i my existing code that gets and records current CPU load. I
believe I once saw a way to do this but now that I want it I an unable
to find it.
Thanks
AL
|
8/3/2010 1:38:10 PM
|
0
|
yzfoot <alda...@mich.com>
|
ANN: Seed7 Release 2010-08-01
Hello,
I have released a new version of Seed7: seed7_05_20100801.tgz
In the Seed7 programming language new statements and operators
can be declared easily. Types are first class objects and therefore
templates/generics need no special syntax. Object orientation is
used when it brings advantages and not in places when other
solutions are more obvious.
Seed7 is covered by the GPL (and LGPL for the Seed7 runtime library).
Changelog:
- The FAQ was improved to contain three main sections.
- Instructions to verify the correctness of the interpreter were
added to the FAQ and to t
|
8/1/2010 8:50:04 PM
|
0
|
tm <thomas.mer...@gmx.at>
|
How to synchronize with a LAYERED WINDOW ?
Hello, I am building a small app with a layered window, this is how I
do:
1.modify some element
2.calculate new pos of the window
3.modify image
4.update layered window
5. while peekmessage
But this way it seems than my "elements" are no synchronized with the
position of the window, as if the updatelayeredwindow() updated the
content in realtime but not the position, even with my peekmessage
loop.
Is there a way to synchronize all that ?
Thanks
|
8/1/2010 10:17:37 AM
|
1
|
Greg2fs <greg...@gmail.com>
|
how to use the font "Arial Unicode Ms"?
how to use the font "Arial Unicode Ms"?
How print in one edit sub-windows not rich edit,
the char in 021d2h?
|
7/30/2010 7:24:57 AM
|
11
|
"io_x" <...@b.c.invalid>
|
preventing from accessing my kernel named object easily?
how to preventing from acessing(open) my kernel named object?
for a instance,
i've created a event as "Global\abcd",
and i want to block other process's access(::OpenEvent(...)).
how is it possible easily?
|
7/29/2010 9:37:29 AM
|
1
|
greenfish <greenfis...@gmail.com>
|
I_IMAGECALLBACK
Hello
I fill a syslistview32 to display images and texts.
I use I_IMAGE_CALLBACK to have my images displayed when the syslistview32
needs them.
Unfortunately that damned listview asks for images sequentially, from 0 to
the end.
I don't think that it's the normal callback behaviour, ist it ?
Jean
|
7/28/2010 2:50:07 PM
|
0
|
"Jean" <non...@nonono.org>
|
CreateFile() create time
Hi,
Can anyone explain the reasoning behind the fact that a successful
DeleteFile(<fn>) followed by a successful
CreateFile(<fn>...,CREATE_NEW..) sets the file creation time to the
old creation time rather than the current system time. I understand
that it is using a cached value, just not the reason why. I also
understand that I can set the file creation time to any time of my
choosing, but not sure why I should have to?
This behavior is confirmed on Windows XP NTFS file systems and I
expect it is consistent across all windows os's.
Thanks for any info.
--
Kevin English
|
7/28/2010 1:29:32 AM
|
2
|
Kevin English <kengl...@4csoftware.com>
|
InvalidateRect not invalidating rect
Hi,
I am trying to create a tool which horizontally scrolls an image, but
invalidaterect is not invalidating image, code is as below:
// Win32Ticker.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "Win32Ticker.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name
// Forward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstanc
|
7/27/2010 2:04:52 PM
|
2
|
Anees <anees.hai...@gmail.com>
|
memory sticks
Hello newsgroup,
Can somebody tell me why memory sticks purchased in the last 2 weeks
don't work on windows 7?
Thnaks for your comment,
--
Uno
|
7/27/2010 8:01:20 AM
|
4
|
Uno <merrilljen...@q.com>
|
How to : Retrieving user-displayable info from a GUID
Hello all,
I've got a small app here in which one of the functions returns a GUID. I
display that GUID, but would like to translate that identifier to something
more readable.
Somehow I do not seem to be able too. The ProgIDFromCLSID function refuses
to accept a GUID (throws an 80040154 (hex) error), and using "brute force"
by simply looking in the registry does not quite work either.
For instance, I would like the GUID {20D04FE0-3AEA-1069-A2D808002B30309D} to
show "This computer" (or similar). But somehow that kind of information
seems not to be readily available.
I cou
|
7/23/2010 6:10:49 PM
|
5
|
"R.Wieser" <addr...@not.available>
|
Is there some sys dialog for gets directory && file?
can the function
BOOL GetOpenFileName(
LPOPENFILENAME lpofn // address of structure with initialization data
);
return not only existing files but existing directories too?
|
7/22/2010 6:02:16 PM
|
2
|
"io_x" <...@b.c.invalid>
|
Winword-DOC - Word Version Detection
Hello,
has anyone a code sample how to detect the word version with which the
document was created?
(in C if possible)
worddetect testfile.doc
"testfile.doc" has the format of winword 6 / 95 / 97 / 2000 / 2002 / 2003
or 2007
Greetings,
Franz
--
Franz Bachler, A-3250 Wieselburg
E-Mail: fraba (at) gmx.at
Homepage: http://members.aon.at/fraba
oder http://home.pages.at/fraba
|
7/20/2010 9:01:16 PM
|
2
|
"Franz Bachler" <fraba.nos...@gmx.at>
|
Shortcut to an URL
Hello folks:
is there a simple way to create a shortcut ( an icon on desktop or
in some directory ) pointing to an URL, either in case that the
browser is displaying the page or not.
Thanks.
|
7/20/2010 7:05:31 PM
|
0
|
embark <retro5...@gmail.com>
|
win32 font/xlib font
Hello !
I'm new to Win32, coming from X11, and I have some questions related
to font handleing.
- How do I go from a font fname (Courier 12) to a HFONT to give to
SelectObject ?
- If i gave a xlib Font type, is there a way to access to its
corresponding HFONT type ?
Many thanks in advance for your help !
Luc
|
7/20/2010 11:50:16 AM
|
1
|
Luc Moulinier <mou...@igbmc.u-strasbg.fr>
|
MiniDumpWriteDump called from x64 process can generate x86 dump?
Hello,
when calling MiniDumpWriteDump in a x64 process with the target
process being WOW64 x86, the dump generated is a x64 dump. I would
like to create an x86 dump instead. Is it possible and how?
Arno
P.S. When MiniDumpWriteDump is called from an x86 process, the dump is
an x86 dump.
|
7/20/2010 11:58:14 AM
|
0
|
Arno <ascho...@think-cell.com>
|
Detect stand-by mode xp/vista
Hello Everyone,
Is there any win32 API , which can detect the system when it wake up
from standby mode ? From a quick search I came across
"PowerModeChangedEventHandler" , but not able to use it because of my
poor understanding about it.
Any help much appreciated.
Thanks,
UK
|
7/20/2010 11:00:48 AM
|
4
|
Umakanth <cum...@gmail.com>
|
The Icon of an URL
Hi there:
How to access the icon of a site that a browser is displaying?
( for example, if we use IE, the icon of the site will displayed on
the
left side of the tab )
and, if we only have the URL and the browser is not displaying the
site,
how do we get the icon of that site ?
Thanks !
|
7/19/2010 3:46:10 PM
|
5
|
embark <retro5...@gmail.com>
|
where does EnumPrinters actually live?
EnumPrinters is supposed to live in spoolss.dll according to MSDN.
When I call it, my process crashes.
I found this conversation (http://groups.google.com/group/
microsoft.public.dotnet.framework.interop/browse_thread/thread/
e785d06619a33d47/782b67a8b7d11959?hl=en&ie=UTF-8&q=EnumPrinters+crash)
which provides a working example that uses winspool.drv instead of
spoolss.dll. That code works.
Now, my real problem is that I am writing this in Java (JNA), not C#
and it won't load the .drv.
I am confused, where does EnumPrinters really live? Is the MSDN
documentation wrong? Is its s
|
7/17/2010 11:53:07 PM
|
2
|
dblock <dbl...@dblock.org>
|
Book problems and solution for windows 7
Book problems and solution for windows 7
This book takes you step by step to a new world. The world of Windows
7, even if the new system were not know how to use it. Explain
everything to you in pictures. You do not need to for a long time to
learn In order not to remain afraid of not being able to follow up on
your friends, neighbors or family members Problems and solutions for
Windows 7 Is a book for all. To small and great. Anyone who wants to
learn Do not miss the opportunity to acquire this book because it
relieves you of the trouble and the question Problems and solutions
for
|
7/16/2010 11:32:28 PM
|
0
|
ilyass ilyass <ilias.elissa...@gmail.com>
|
Wordwrap a multiline edit control
I have a multiline edit-control. When a user type more than 40 characters on the
the line should word wrap to the next line.
I tried the example at http://support.microsoft.com/kb/109551 but I could not
figure how to make it work in my case.
When uses is finished and closes the control my program send the contents to a
array structure that has max 40 characters per line.
|
7/16/2010 9:14:20 AM
|
1
|
John Smith <do_not_...@invalid.address.com>
|
Problem with time-conversion
Hello All,
I've got a 64-bit timestamp, and I've not no idea how to convert it to
human-readable.
Actually, the conversion itself will probably not be a problem, but I can't
seem to find a description of how the date & time is stored into that
timestamp.
The timestamp itself looks like this : 40E3B6CCF06CFBE4 , and is supposed
to represent the day 15-7-10 9:42:15
I did find *something* which said that the upper 2 bits is a type-specifier
(UTC time in this case) and the bits beyond it represent the number of 100
ns ticks since 0000/1/1.
Ref :
http://www.koders.com/csharp/
|
7/15/2010 10:01:59 AM
|
7
|
"R.Wieser" <addr...@not.available>
|
ListBox as Drag Drop Source
Hi,
I have a list box in which I have some data. I want to be able to drag a line from that list box into a windows explorer window
and create a file from the data there.
How can I do that? (MFC here)
Thank you.
--
------------------------------------
Gernot Frisch
http://www.glbasic.com
|
7/14/2010 4:01:24 PM
|
2
|
"Gernot Frisch" <...@privacy.net>
|
cripto.dll
i have one cipher file
a.dllcrp
One process can create-open one new file
a.dll
in the way nobody can open
it for the life of that process, decipher it from a.dllcrp,
save it in the disk,
and without close the handle
load like .dll using loadlibrary?
it is possible call FreeLibrary, for it
and save a.dll at end with 0 bites?
Thanks
|
7/14/2010 4:14:25 PM
|
0
|
"io_x" <...@b.c.invalid>
|
debug
what is one "debug event"?
is possible to know the process is under one debug program?
one debug event is send to all subtread of one process?
thank you
|
7/14/2010 4:14:36 PM
|
1
|
"io_x" <...@b.c.invalid>
|
FindFirstFile on a reparse point
Hi,
when I try to do:
FindFirstFile(_T("C:\\Users\\gf\\Anwendungsdaten\\*.*", &fnd)
it returns NULL (Last error yields "access denied").
"C:\Users\gf\Anwendungsdaten" is a reparse point targeting "C:\Users\gf\Roaming".
OK, I can find the target and all. Fine.
BUT!!!
FindFirstFile(_T("C:\\Users\\gf\\Anwendungsdaten\\Adobe\\*.*", &fnd)
works perfeclty and it's no reparse point, although it is accessed trough such.
My code works flawlessly, but I'm a bit unsure if this behaviour is correct now.
Thank you for sheding light.
--
------------------------------------
Gern
|
7/13/2010 2:24:13 PM
|
8
|
"Gernot Frisch" <...@privacy.net>
|
Hide thick frame line of CMainFrame
can i change or hide the thick frame line of CMainFrame?
my CMainFrame was created as (~WS_CAPTION) and (WS_THICKFRAME),
but it's thick frame line on NCClient area was too ugly.
(my CMainFrame must be able to resize.)
can it be possible change or hide it?
|
7/13/2010 5:16:14 AM
|
1
|
greenfish <greenfis...@gmail.com>
|
Getting the PIDL of a IShellFolder (should be easy?.. but it's not!!)
Hi!
My endeavor is when launching my application, to select the last
accessed folder of TreeView structure that was populated by the
lpsfDesktop->EnumObjects(lpsfDesktop). When the tree is first
initialized, it contains only My Computer, My Document, Network, and
Recycle Bin. I'm basing my implementation on (Barretto VN 7/2002)
project on koders.com.
So what I tried to do is use ParseDisplayName() on the folder I want
to navigate too in order to retrieve the PIDL. Then use
SHBindToParent() function to get the parent's LPSHELLFOLDER pointer.
But then I cannot get that folder PIDL
|
7/13/2010 2:03:23 AM
|
2
|
Eucloid <eucl...@gmail.com>
|
VC: ctrl+a to select all in listbox;ctrl+c to copy into clipboard
Hi all,
I have a very basic application which has just a dialog with a listbox
on it. I need to simulate in the listbox the ctrl+a and ctrl+c
behavior. I mean, in the listbox there are some lines (messages sent
by another application) and I would like to do like any windows user
is used: ctrl+a to select the whole content of the listbox, then
ctrl+c to copy everything in the clipboard.
The code I'm having at the moment:
<myfile.rc>
// Microsoft Visual C++ generated resource script.
//
#include "resource."
#define APSTUDIO_READONLY_SYMBOLS
////////////////////////////////
|
7/12/2010 2:12:55 PM
|
2
|
Viv <vcotir...@hotmail.com>
|
How to tell if a process is paused?
When a process has been paused with SuspendThread...
http://msdn.microsoft.com/en-us/library/ms686345%28VS.85%29.aspx
....is there a way for my app to know if the process is paused?
|
7/11/2010 5:16:35 PM
|
1
|
"a" <...@invalid.com>
|