Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, November 23, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > .NET Namespaces > Microsoft > Win32 > Microsoft.Win32 Namespaces
Search:
What's New - What's Hot


Own-thread Win32 splash screen        
Total Hits: 26  |  Today: 0 Author: Kirill V. Lyadvinsky       Rating:  
Read Reviews | Write Review |   Your Rating: 

Using MFC-based classes -- even with your own threads -- may lead to hang-up of the splash screen repainting while loading the application. This is because MFC has synchronization on the message queue level. So, the application stops responding to the user. CSplashWnd is a class that makes it easy to use splash screens that can always paint themselves. It is implemented using the Win32 API, but you can use it in MFC applications, as well....

Burn the Edges of Your Windows to Give Them Character        
Total Hits: 15  |  Today: 1 Author: Michael Dunn       Rating:  
Read Reviews | Write Review |   Your Rating: 

Are you tired of shiny, spotless windows? Tired of all that futuristic glass? Would you rather your windows have that classic, aged, slightly-burned-around-the-edges look of old historic documents? You know, the kind that just might have a map to buried treasure written on the back? Now you've seen what can be done by burning the edges of a plain old rectangular window. Even more amazing results can be had by starting with an oddly-shaped window region....

Generic Thunk of Windows        
Total Hits: 31  |  Today: 0 Author: jrmwng       Rating:  
Read Reviews | Write Review |   Your Rating: 

It is the complete code in C language, for the Win16 platform. We shall focus on the function "GetTickCount32". The "GetTickCount32" function is called once by the entry point function, "WinMain". The "GetTickCount32" function calls the "LoadKernel32Dll" function, the "CallProc32W0" function and the "FreeKernel32Dll" function. The invocation of "CallProc32W0" is the in-process cross-boundary call to the desired 32-bit DLL function. In order to use the "CallProc32W0" function, we need to get its ...

Protecting an Application's Unauthorized Copy        
Total Hits: 56  |  Today: 0 Author: Manish K. Agarwal       Rating:  
Read Reviews | Write Review |   Your Rating: 

At the time of installation most software asks for a product key or a serial number; this is to prevent software piracy, but how is this done? In this article, I'll cover the basic idea behind this. In each Windows portable executable (PE image file) we can place some certificate (some sort of data) using the image integrity functions (Platform SDK's ImageHlp APIs). The certificate data can be generated using a combination of product keys and some unique IDs for the desktop where the user is ins...

4GT RAM Tuning        
Total Hits: 19  |  Today: 0 Author: Amir Harel       Rating:  
Read Reviews | Write Review |   Your Rating: 

4GT is mechanism that expands applications virtual address from 2048 (2 GB) up to 3072 (3 GB). (On 32-bit editions of Windows, applications have 4 gigabyte (GB) of virtual address space available. The virtual address space is divided so that 2 GB is available to the application and the other 2 GB is available only to the system. For applications that are memory-intensive the use of a larger virtual address space can provide considerable performance and scalability benefits....

XP style Explorer Bar (Win32/MFC)        
Total Hits: 24  |  Today: 0 Author: Ingo A. Kubbilun       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article presents a full implementation of the Windows XP Explorer Bar as a set of Win32 controls and a MFC wrapper. The Explorer Bar works on Windows 98/Me/2k/XP and is fully shellstyle.dll aware, i.e. can be used with any XP visual theme (standard, 3rd party non-standard, and the classic Windows scheme). The new custom controls include extended button controls, extended static controls, tasklink controls, and collapsible header controls....

Working with Registry in .NET        
Total Hits: 105  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this article, I shall introduce you to the Microsoft.Win32 namespace's registry oriented classes, and how to use their methods to interact with the registry. In this process, we shall create a console .NET application, programmed using C# that will assist us in installing and uninstalling application entries in the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Runregistry key. For those who don't know, applications pointed to by entries in this location run automatically (somet...

Programming Without Coding Technology        
Total Hits: 18  |  Today: 0 Author: Mahmoud Fayed       Rating:  
Read Reviews | Write Review |   Your Rating: 

Programming Without Coding Technology (PWCT) is a free (GPL + exception supporting commercial applications) development enviornment, Programming language and Programming paradigm for developing win32 applications 100% without directly coding. To download the last release of PWCT Click Here PWCT comes with new Methodology called Coding Simulation instead of Drag and drop The aim is to enable users to create computer software without directly coding. PWCT uses Interaction by presenting a GUI betwe...

An extendable report editor        
Total Hits: 41  |  Today: 1 Author: RockmanZero       Rating:  
Read Reviews | Write Review |   Your Rating: 

Create a report or create a dialog is normal part of most applications, but far too convoluted for many developers. If you are a Microsoft Visual Studio user, you are very lucky, you can drag controls from the controls pad to your dialog, and the code is created at the same time.But how about other platforms? How about generating the code for your own controls? we can only say sorry, you must write all the code by your hand. Here, I come to the aid, with this extendable workshop, you can simply ...

A simple win32 game: Bicho Hunting        
Total Hits: 60  |  Today: 0 Author: rotter512       Rating:  
Read Reviews | Write Review |   Your Rating: 

After googling something related to C++, I found a very nice IDE called CodeBlocks. So I decided to refresh my win32 knowledge, but this time I started playing with WM_PAINT. This is the result of a funny GDI weekend. I'm used to program OO, but I just wanted to change, so mixed programming techinques. I only used a few classes to make it clear. The main techinque used to improve the animation quality is double buffering. We create the memory dc as soon as we have the screen dc, and we use it al...

Handy Features in Windows, and Interlocked Functions        
Total Hits: 10  |  Today: 0 Author: Jeffrey Richter       Rating:  
Read Reviews | Write Review |   Your Rating: 

Every once in a while I discover something about Windows that I never knew before. Just recently, I learned of two features that I'd like to share with you. First, in Windows® 2000, the contents of a standard message box may be copied to the clipboard and pasted as text. To see for yourself, open Notepad and enter some text. Then, without saving the text, choose the File | Exit menu item....

New C++ Classes for Better Resource Management in Windows        
Total Hits: 9  |  Today: 0 Author: Jeffrey Richter       Rating:  
Read Reviews | Write Review |   Your Rating: 

To cure resource cleanup headaches and to make buffer allocation a little more efficient, I've created two C++ classes that I'm finding more and more valuable in my everyday Windows®-based programming projects: CEnsureCleanup and CAutoBuf. These classes make my code more robust, easier to write, and easier to maintain. I think you'll find them useful, too....

Inside Mountvol.exe        
Total Hits: 16  |  Today: 0 Author: bleucat       Rating:  
Read Reviews | Write Review |   Your Rating: 

Since Windows 2000 we can mount a directory or a volume into an NTFS directory. It exists some commandline tools like "LINKD.EXE" or "MONTVOL.EXE" that allow mounting. On the programmation point of view, it appears APIs in the "File management functions" and the "volume Management functions" that allow to manage links, to list, mount and unmount volumes. I list the déclarations in the paragraph called "SDK APIs for directories" and "SDK APIs for mount points". At this point I wrote a program tha...

The Win32 Foundation Classes (WFC) - Version 45        
Total Hits: 19  |  Today: 1 Author: Sam Blackburn       Rating:  
Read Reviews | Write Review |   Your Rating: 

Win32 Foundation Classes (WFC) is a library of C++ classes that extend Microsoft Foundation Classes (MFC) to do NT specific things. Microsoft has chosen to focus their efforts on making MFC do pretty GUI things rather that application development things. MFC views the world through GUI colored glasses. There's no real support for doing any sort of interesting application in MFC. Oh sure, there's database support but that is GUI-slanted (assumes the application will present the database in a GUI)...

API hooking revealed        
Total Hits: 43  |  Today: 1 Author: Ivo Ivanov       Rating:  
Read Reviews | Write Review |   Your Rating: 

Intercepting Win32 API calls has always been a challenging subject among most of the Windows developers and I have to admit, it's been one of my favorite topics. The term Hooking represents a fundamental technique of getting control over a particular piece of code execution. It provides an straightforward mechanism that can easily alter the operating system's behavior as well as 3rd party products, without having their source code available. Many modern systems draw the attention to their abilit...

JLib - A Windows Console Library        
Total Hits: 28  |  Today: 0 Author: Pepsibot       Rating:  
Read Reviews | Write Review |   Your Rating: 

The JLib library encapsulates the Win32 API functions responsible for the console text formatting. These features include:
* Simplified output formatting
* Horizontal & Vertical text wrapping
* Memory of MRU cursor position and formatting
* Getting input from the keyboard
* User defined menus, including standard, windowed, scrolling, and windowed scrolling
* 256 color palette (4 bits for background, 4 bits for foreground)
* Character Boxes
...



DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net