|
You'll need to make sure the listbox has the LBS_OWNERDRAWFIXED style.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I did this by ticking the check box Owner Draw Fixed.
Is there any other method??
OR how can i load the images to list box from a folder that specified by me????
Dream bigger... Do bigger...Expect smaller
aji
|
|
|
|
|
see me wrote: Is there any other method??
You may also need to handle the following messages:
WM_COMPAREITEM (only if the LBS_SORT style was used)
WM_DELETEITEM
WM_DRAWITEM
WM_MEASUREITEM
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
You can use also from CListCtrl i think its better than CListBox
You can see an example for your answer with CListctrl in codeproject "Thumbnail_demo"
|
|
|
|
|
I want to retrieve history of files printed on a machine using VC++/MFC/C/C++. Can any one help me out ? any ideas ?
i want the foll details:
1.Names of all files printed from machine x
2.Date and Time of printed files
3.Errors if any while printing these files
Thanks in advance,
-Mahesh
Mahesh
|
|
|
|
|
Check out the API calls FindFirstPrinterChangeNotification, FindnextPrinterChangeNotification etc.
|
|
|
|
|
Duncan Edwards Jones wrote: Check out the API calls FindFirstPrinterChangeNotification, FindnextPrinterChangeNotification etc.
AFAIK, I believe that is not the right API to accomplish that
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
mahesh kumar s wrote: I want to retrieve history of files printed on a machine...
You mean after they have been printed? I am not aware of such information being retained by Windows.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Unless you have the "keep printed documents" checkbox checked.
|
|
|
|
|
On what Print dialog?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
The "Advanced" tab on the printer settings dialog.
It saves printed documented spool files (*.spl) in the spool directory - I think there are API calls to find out where they are saved.
|
|
|
|
|
Thanks for the info.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hello!
I am newbie in VC++.
I am using VS 2005.While trying to compile a project, which is a non-MFC project, I was getting linking errors about duplicate symbols like...
error LNK2005: "public: class ostream & __thiscall
ostream::operator<<(char const *)" (??6ostream@@QAEAAV0@PBD@Z) already
defined in libcimtd.lib(ostream.obj) )?
but when i changed the 'Project/properties/General/Use of MFC' to 'Use MFC in shared DLL', It gets compiled successfully.
What may the problem? As I am not using any MFC functions in my project. Also I am bulding .exe and not.dll.
thx
|
|
|
|
|
sounds like one of the sub-projects is using one set of C Runtimes and another sub-project is using a different set of C runtimes.
the Use Of MFC is one way to change the C-Runtimes, there's another in Project / Properties / C/C++ / Code Generation. make sure all of your projects are using the same CRT setting.
Why donchoo take a peekchur mayn?
OK, cleeeeek
|
|
|
|
|
Thx Chris!!
Actually there is no sub-project. Is it because of other Dll's that I am using? If yes! then shud all my dll's possess same setting?
Also if i am bulding an .EXE application what is the significance of using shared dll??
thx
|
|
|
|
|
i was a little inaccurate to say that it's about sub-projects. it's really about linking libraries (or .obj files) that were compiled with one CRT flavor, while your app (or other libs/objs) uses another CRT flavor.
are you linking to any external .LIBs ?
Why donchoo take a peekchur mayn?
OK, cleeeeek
|
|
|
|
|
Thx for the reply!
Yes I am using external librararies.
I am using LIb as well as Dll.
But these libraries also not using MFC. Also when I first compiled the project, it compiled successfully with option USE MFC IN SHARED DLL. But then I cleaned the solution, and rebuild again with option USE STANDARD WINDOWS LIBRARIES and again it compiled successfully!
Does that means all libraries are linked just once..??
|
|
|
|
|
sach!! wrote: But these libraries also not using MFC
this is not an MFC problem. you just need to make sure that all your .LIBs and your EXE are built using the same C-runtime library / Code Generation settings.
Why donchoo take a peekchur mayn?
OK, cleeeeek
|
|
|
|
|
hi all i want to make the packet filtering application that take the port and ip adress and then block that port i m using this code.
what i want is to block http port so that any one cannot open website i m using vc6 with windows 2000. the code is given below.
if(::PfCreateInterface(0,PF_ACTION_FORWARD,PF_ACTION_FORWARD,false,true,&ihandle)==NO_ERROR)
{
BYTE ip[4]={202,165,250,50};
BYTE msk[4]={255,255,255,0};
BYTE dm[4]={0,0,0,0};
inFilter.dwFilterFlags = FD_FLAGS_NOSYN;//always this value
inFilter.dwRule = 0; //always this value
inFilter.pfatType= PF_IPV4; //using ipV4 addresses
inFilter.SrcAddr= (PBYTE)ip;
inFilter.SrcMask= (PBYTE)msk; //mask for local ip
inFilter.DstAddr= (PBYTE)dm; //any destination
inFilter.DstMask= (PBYTE)dm;
inFilter.wSrcPort=FILTER_TCPUDP_PORT_ANY;//any source port inFilter.wSrcPortHighRange=FILTER_TCPUDP_PORT_ANY;
inFilter.wDstPort=80; //destination port 80(http service)
inFilter.wDstPortHighRange=FILTER_TCPUDP_PORT_ANY;
inFilter.dwProtocol =(DWORD)FILTER_PROTO_ANY; //Tcp protocol
DWORD err;
err=::PfAddFiltersToInterface(ihandle,1,&inFilter,0,NULL,&fHandle);
if(err==NO_ERROR)
{
AfxMessageBox("Add Filters to interface");
if(::PfBindInterfaceToIPAddress(ihandle,PF_IPV4,(PBYTE)ip)==NO_ERROR)
Tasleem Arif
|
|
|
|
|
Hi.
I'm trying to create a list control in VC7 dialog and set images as list control icons.
Images are not showing in the list control for some reason.
this is my code,.
CDialog::OnInitDialog();
CRect rect;
m_ctrlConfigList.GetWindowRect(&rect);
int index =1;
LVCOLUMN cdcolumn;
cdcolumn.mask = LVCF_IMAGE;
cdcolumn.fmt =LVCFMT_LEFT;
cdcolumn.iImage = 0;
cdcolumn.iOrder = 1;
CBitmap bm;
bm.LoadBitmap(IDB_BITMAP6);
CImageList lstImageList;
lstImageList.Create(32,32,ILC_COLOR16,0, 4);
m_ctrlConfigList.SetImageList(&lstImageList,LVSIL_NORMAL);
int n = lstImageList.Add(&bm, RGB(255, 255, 255));
LVITEM item;
item.mask = LVIF_IMAGE | LVIF_TEXT;
item.iItem = 1;
item.iSubItem = 1;
item.iImage = n;
m_ctrlConfigList.InsertItem(&item);
Please help.
Thanks.
|
|
|
|
|
See Here[^] maybe it is some helpful to you
|
|
|
|
|
hi I'm trying to compile this DDK driver sample (http://www.codeproject.com/system/driverdev.asp?df=100&forumid=150661) but I am running into problems. I tried both "nmake" and "build". Here's what I did:
STEP 1: Launch Windows Server 2003 Checked Build Environment
Run "set" command to display environment variables:
################################################################################
ALLUSERSPROFILE=C:\Documents and Settings\All Users<br />
APPDATA=C:\Documents and Settings\Administrator\Application Data<br />
ATL_INC_PATH=E:\WINDDK\3790\inc<br />
BASEDIR=E:\WINDDK\3790<br />
BUFFER_OVERFLOW_CHECKS=1<br />
BUILD_ALT_DIR=chk_wnet_x86<br />
BUILD_DEFAULT=-ei -nmake -i<br />
BUILD_DEFAULT_TARGETS=-386<br />
BUILD_MAKE_PROGRAM=nmake.exe<br />
BUILD_MULTIPROCESSOR=1<br />
CLIENTNAME=Console<br />
ClusterLog=C:\WINDOWS\Cluster\cluster.log<br />
COFFBASE_TXT_FILE=E:\WINDDK\3790\bin\coffbase.txt<br />
CommonProgramFiles=C:\Program Files\Common Files<br />
COMPUTERNAME=WIN03DEVWS<br />
ComSpec=C:\WINDOWS\system32\cmd.exe<br />
CPU=x86<br />
CRT_INC_PATH=E:\WINDDK\3790\inc\crt<br />
CRT_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
DDKBUILDENV=chk<br />
DDK_INC_PATH=E:\WINDDK\3790\inc\ddk\wnet<br />
DDK_LIB_DEST=E:\WINDDK\3790\lib\wnet<br />
DDK_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
DDK_TARGET_OS=WinNET<br />
DRIVER_INC_PATH=E:\WINDDK\3790\inc\ddk\wnet<br />
FP_NO_HOST_CHECK=NO<br />
HALKIT_INC_PATH=E:\WINDDK\3790\inc\hal\wnet<br />
HALKIT_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
HOMEDRIVE=C:<br />
HOMEPATH=\Documents and Settings\Administrator<br />
IFSKIT_INC_PATH=E:\WINDDK\3790\inc\ifs\wnet<br />
IFSKIT_LIB_DEST=E:\WINDDK\3790\lib\wnet<br />
IFSKIT_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
Include=E:\WINDDK\3790\inc\wnet<br />
lib=E:\WINDDK\3790\lib<br />
LINK_LIB_IGNORE=4198<br />
LOGONSERVER=\\WIN03DEVWS<br />
MFC_INCLUDES=E:\WINDDK\3790\inc\mfc42<br />
MSC_OPTIMIZATION=/Od /Oi<br />
NEW_CRTS=1<br />
NO_BINPLACE=TRUE<br />
NTDBGFILES=1<br />
NTDEBUG=ntsd<br />
NTDEBUGTYPE=both<br />
NTMAKEENV=E:\WINDDK\3790\bin<br />
NT_UP=0<br />
NUMBER_OF_PROCESSORS=1<br />
OAK_INC_PATH=E:\WINDDK\3790\inc\wnet<br />
OS=Windows_NT<br />
Path=E:\WINDDK\3790\bin\x86;E:\WINDDK\3790\bin;E:\WINDDK\3790\bin\x86\prefast\scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;E:\Program Files\Microsoft SQL Server\90\DTS\Binn\;E:\Program Files\Microsoft SQL Server\90\Tools\binn\;E:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\sysinternals;C:\Program Files\sysinternals\unpacked<br />
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH<br />
PREFAST_ROOT=E:\WINDDK\3790\bin\x86\prefast<br />
PROCESSOR_ARCHITECTURE=x86<br />
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel<br />
PROCESSOR_INC_PATH=E:\WINDDK\3790\inc\processor<br />
PROCESSOR_LEVEL=6<br />
PROCESSOR_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
PROCESSOR_REVISION=0d08<br />
ProgramFiles=C:\Program Files<br />
PROJECT_ROOT=E:\WINDDK\3790\src<br />
PROMPT=$P$G<br />
PUBLISH_CMD=@echo Publish not available...<br />
SDK_INC_PATH=E:\WINDDK\3790\inc\wnet<br />
SDK_LIB_DEST=E:\WINDDK\3790\lib\wnet<br />
SDK_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
SESSIONNAME=Console<br />
SystemDrive=C:<br />
SystemRoot=C:\WINDOWS<br />
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp<br />
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp<br />
USERDOMAIN=WIN03DEVWS<br />
USERNAME=WinDDK<br />
USERPROFILE=C:\Documents and Settings\Administrator<br />
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\<br />
WDM_INC_PATH=E:\WINDDK\3790\inc\ddk\wdm\wnet<br />
windir=C:\WINDOWS<br />
WPP_CONFIG_PATH=E:\WINDDK\3790\bin\wppconfig<br />
_BUILDARCH=x86<br />
_CL_=/Ztmp<br />
_LINK_=/Tmp<br />
_ML_=/Zvc6<br />
_NT_TARGET_VERSION=0x502<br />
_NT_TOOLS_VERSION=0x700
################################################################################
STEP 2: Navigate to C:\Program Files\Microsoft Visual Studio 8\VC\bin
Then run "vcvars32.bat"
################################################################################
ALLUSERSPROFILE=C:\Documents and Settings\All Users<br />
APPDATA=C:\Documents and Settings\Administrator\Application Data<br />
ATL_INC_PATH=E:\WINDDK\3790\inc<br />
BASEDIR=E:\WINDDK\3790<br />
BUFFER_OVERFLOW_CHECKS=1<br />
BUILD_ALT_DIR=chk_wnet_x86<br />
BUILD_DEFAULT=-ei -nmake -i<br />
BUILD_DEFAULT_TARGETS=-386<br />
BUILD_MAKE_PROGRAM=nmake.exe<br />
BUILD_MULTIPROCESSOR=1<br />
CLIENTNAME=Console<br />
ClusterLog=C:\WINDOWS\Cluster\cluster.log<br />
COFFBASE_TXT_FILE=E:\WINDDK\3790\bin\coffbase.txt<br />
CommonProgramFiles=C:\Program Files\Common Files<br />
COMPUTERNAME=WIN03DEVWS<br />
ComSpec=C:\WINDOWS\system32\cmd.exe<br />
CPU=x86<br />
CRT_INC_PATH=E:\WINDDK\3790\inc\crt<br />
CRT_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
DDKBUILDENV=chk<br />
DDK_INC_PATH=E:\WINDDK\3790\inc\ddk\wnet<br />
DDK_LIB_DEST=E:\WINDDK\3790\lib\wnet<br />
DDK_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
DDK_TARGET_OS=WinNET<br />
DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE<br />
DRIVER_INC_PATH=E:\WINDDK\3790\inc\ddk\wnet<br />
FP_NO_HOST_CHECK=NO<br />
FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework<br />
FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0<br />
FrameworkVersion=v2.0.50727<br />
HALKIT_INC_PATH=E:\WINDDK\3790\inc\hal\wnet<br />
HALKIT_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
HOMEDRIVE=C:<br />
HOMEPATH=\Documents and Settings\Administrator<br />
IFSKIT_INC_PATH=E:\WINDDK\3790\inc\ifs\wnet<br />
IFSKIT_LIB_DEST=E:\WINDDK\3790\lib\wnet<br />
IFSKIT_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
Include=C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include;E:\WINDDK\3790\inc\wnet<br />
lib=C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio 8\VC\LIB;C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;E:\WINDDK\3790\lib<br />
LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB<br />
LINK_LIB_IGNORE=4198<br />
LOGONSERVER=\\WIN03DEVWS<br />
MFC_INCLUDES=E:\WINDDK\3790\inc\mfc42<br />
MSC_OPTIMIZATION=/Od /Oi<br />
NEW_CRTS=1<br />
NO_BINPLACE=TRUE<br />
NTDBGFILES=1<br />
NTDEBUG=ntsd<br />
NTDEBUGTYPE=both<br />
NTMAKEENV=E:\WINDDK\3790\bin<br />
NT_UP=0<br />
NUMBER_OF_PROCESSORS=1<br />
OAK_INC_PATH=E:\WINDDK\3790\inc\wnet<br />
OS=Windows_NT<br />
Path=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\bin;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;E:\WINDDK\3790\bin\x86;E:\WINDDK\3790\bin;E:\WINDDK\3790\bin\x86\prefast\scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;E:\Program Files\Microsoft SQL Server\90\DTS\Binn\;E:\Program Files\Microsoft SQL Server\90\Tools\binn\;E:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\sysinternals;C:\Program Files\sysinternals\unpacked<br />
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH<br />
PREFAST_ROOT=E:\WINDDK\3790\bin\x86\prefast<br />
PROCESSOR_ARCHITECTURE=x86<br />
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel<br />
PROCESSOR_INC_PATH=E:\WINDDK\3790\inc\processor<br />
PROCESSOR_LEVEL=6<br />
PROCESSOR_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
PROCESSOR_REVISION=0d08<br />
ProgramFiles=C:\Program Files<br />
PROJECT_ROOT=E:\WINDDK\3790\src<br />
PROMPT=$P$G<br />
PUBLISH_CMD=@echo Publish not available...<br />
SDK_INC_PATH=E:\WINDDK\3790\inc\wnet<br />
SDK_LIB_DEST=E:\WINDDK\3790\lib\wnet<br />
SDK_LIB_PATH=E:\WINDDK\3790\lib\wnet\*<br />
SESSIONNAME=Console<br />
SystemDrive=C:<br />
SystemRoot=C:\WINDOWS<br />
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp<br />
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp<br />
USERDOMAIN=WIN03DEVWS<br />
USERNAME=WinDDK<br />
USERPROFILE=C:\Documents and Settings\Administrator<br />
VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC<br />
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\<br />
VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8<br />
WDM_INC_PATH=E:\WINDDK\3790\inc\ddk\wdm\wnet<br />
windir=C:\WINDOWS<br />
WPP_CONFIG_PATH=E:\WINDDK\3790\bin\wppconfig<br />
_BUILDARCH=x86<br />
_CL_=/Ztmp<br />
_LINK_=/Tmp<br />
_ML_=/Zvc6<br />
_NT_TARGET_VERSION=0x502<br />
_NT_TOOLS_VERSION=0x700
################################################################################
STEP 3: Compile - first navigate to project folder
################################################################################
Volume in drive C has no label.<br />
Volume Serial Number is F041-038E<br />
<br />
Directory of C:\CodeProjectDDKIntro\CH1\Programming\development\DEBUG\private\src\drivers\example<br />
<br />
08/01/2006 08:29 PM <br />
.<br />
08/01/2006 08:29 PM <br />
..<br />
02/05/2005 10:22 PM 7,513 entry.c<br />
02/05/2005 11:22 PM 1,452 example.h<br />
02/05/2005 04:46 PM 8,821 functions.c<br />
08/01/2006 08:29 PM 0 listing.txt<br />
02/05/2005 09:15 PM 1,338 makefile<br />
08/01/2006 07:33 PM <br />
obj<br />
5 File(s) 19,124 bytes
#####################################################################################
ATTEMPT 1: using "nmake" command
<br />
C:\CodeProjectDDKIntro\CH1\Programming\development\DEBUG\private\src\drivers\exa<br />
mple>nmake > ddk.sample.compile.nmake.log<br />
<br />
Microsoft (R) Program Maintenance Utility Version 7.00.8882<br />
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.<br />
<br />
NMAKE : fatal error U1077: 'cl' : return code '0x2'<br />
Stop.<br />
<br />
C:\CodeProjectDDKIntro\CH1\Programming\development\DEBUG\private\src\drivers\exa<br />
mple>
Then I copied "wdm.h" from "E:\WINDDK\3790\inc\ddk\wdm\w2k"
#######################################################################################
C:\CodeProjectDDKIntro\CH1\Programming\development\DEBUG\private\src\drivers\exa<br />
mple>nmake<br />
<br />
Microsoft (R) Program Maintenance Utility Version 7.00.8882<br />
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.<br />
<br />
cl /nologo /MD /W3 /Oxs /Gz /Zi /I "..\..\..\..\inc" /I "\NTDDK\inc"<br />
/D "WIN32" /D "_WINDOWS" /Fr.\obj\i386\\ /Fo.\obj\i386\\ /Fd.\obj\i386\\ /c .\e<br />
ntry.c .\functions.c<br />
entry.c<br />
entry.c(15) : fatal error C1083: Cannot open include file: 'wdm.h': No such file<br />
or directory<br />
functions.c<br />
functions.c(15) : fatal error C1083: Cannot open include file: 'wdm.h': No such<br />
file or directory<br />
Generating Code...<br />
NMAKE : fatal error U1077: 'cl' : return code '0x2'<br />
Stop.<br />
<br />
C:\CodeProjectDDKIntro\CH1\Programming\development\DEBUG\private\src\drivers\exa<br />
mple>
#######################################################################################
ATTEMPT 2: using DDK "build" command
#######################################################################################
C:\CodeProjectDDKIntro\CH1\Programming\development\DEBUG\private\src\drivers\exa<br />
mple>build<br />
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.<br />
BUILD: Object root set to: ==> objchk_wnet_x86<br />
BUILD: Compile and Link for i386<br />
BUILD: Loading E:\WINDDK\3790\build.dat...<br />
BUILD: Computing Include file dependencies:<br />
BUILD: Saving E:\WINDDK\3790\build.dat...<br />
BUILD: Done<br />
<br />
C:\CodeProjectDDKIntro\CH1\Programming\development\DEBUG\private\src\drivers\exa<br />
mple>
#######################################################################################
Note:
1. there's no "SOURCES" file in the project directory.
2. Compile seems to complete with no error - but I don't see any ".sys" driver file generated in obj folder after the process.
Thanks in advance.
Norman Fung
|
|
|
|
|
Hi all,
I'd like to know if i can change the
width/heigth of a dialog at runtime.
Thanx in advance,
Desmo16.
|
|
|
|
|
You can use MoveWindow(x,y,width,height)
|
|
|
|