|
|
Up |
  |
Author: thomas.mertesthomas.mertes
Date: May 8, 2008 15:46
Hello,
I have released a new version of Seed7: seed7_05_20080508.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 "Why a new programming language?" was improved.
- The descriptions of the functions 'rem', 'mod',
'[ A .. B ] times C', minIdx, maxIdx, rand(array), insert(array),
category, local_vars...
|
| Show full article (2.20Kb) |
|
| |
no comments
|
|
  |
Author: MattMatt
Date: May 8, 2008 11:48
Hello to all,
I'm having something of a problem with the WinAPI call SetParent.
Here's the scenario.
I am trying to take an existing program, and run it within my own
window. I can make this
happen, the code looks like this:
/ Remove border and whatnot
long style = GetWindowLong(appWin, GWL_STYLE);
long new_style = WS_CHILD | WS_VISIBLE;
SetWindowLong(appWin, GWL_STYLE, new_style);
// Put it into this form
SetParent(appWin, this.panel1.Handle);
// Move the window to overlay it on this window
MoveWindow(appWin, 0, 0, this.Width, this.Height, true);
SendMessage((int)m_appWin, WM_PAINT, 0, "");
|
| Show full article (1.34Kb) |
|
| |
2 Comments |
|
  |
Author: ssyleessylee
Date: May 8, 2008 11:07
I'm new to Windows programming, but have been exposed to enough C++/C
to get started on the topic. I have been going through some Windows C+
+ programming code. In a lot of source files, I have found quite a few
lines of entries of lookup tables. However, I'm not familiar of how
they are used in runtime. Any explanation would help a lot. Thanks.
|
| |
|
2 Comments |
|
  |
Author: mdnchauhan81mdnchauhan81
Date: May 8, 2008 02:15
hi all.,
I urgently require to get hard drive manufacturer name and the
information about its slot whether it is primary or secondary.
which win32 api should I use to get it.
I am trying this to get by using WMI class win32_diskdrive but it is
not giving me the drive manufacturer name.
|
| |
|
2 Comments |
|
  |
Author: moonfacellmoonfacell
Date: May 8, 2008 01:23
Hi guys,
I want to capture html using win32 api and ATL, not using MFC.
I use a IE control to load a web page, and can get IHTMLElement from
the control. But I can NOT get "IHTMLElementRender" through
"QueryInterface(...)", it returns 0x80004002(E_NOINTERFACE: No such
interface supported.)
My code is as below, it can successfully load the web page, but can't
save it as image.
-----------------------------
#include "stdafx.h"
#include "mshtml.h"
#include //for IWebBrowser2
#include //for CAxWindow
#include //for CRect
#include
#include //for CImage
#include
|
| Show full article (3.16Kb) |
|
2 Comments |
|
  |
Author: ashu.nitcashu.nitc
Date: May 8, 2008 01:20
Hi ,
I am trying to create process using CreateProcessWithLogonW() API.
This works fine on Win2000 and NT, but in Vista it gives a UAC popup
before the process (say, notepad, calc, etc) kicks off.
This is the sample program that I am compiling on .NET
/* START OF PROGRAM */
#define UNICODE
#define _WIN32_WINNT 0x0500
#include
#include
|
| Show full article (1.16Kb) |
|
1 Comment |
|
  |
|
  |
Author: mdnchauhan81mdnchauhan81
Date: May 8, 2008 00:31
Hi all,
I want to get hard drive manufacturer name and slot information
whether it is primary master-slave or secondary master-slave using VC+
+.
I am trying to get these details by using win32_diskdrive class(WMI
classes). As there is one property of this class ie "manufacturer"
that give the name of hard drive manufacturer name. But when I execute
my program it gives "standard disk drive" instead of giving "seagate",
"samsung" or whatever it is.
Is there any setting that i am missing?
I am using windows XP Professional and visual studio 2005.
If there is any win32 api that can give me these information, Please
provide me the name of these api.
Please provide me some guideline.
Thanks in advance.
|
| |
|
1 Comment |
|
|