|
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)
|
|
|
|
|
Desmo16 wrote:
width/heigth of a dialog at runtime.
SetWindowPos
"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
|
|
|
|
|
At this point i need a function returning the current
x,y of the dialog, so that i can enlarge it without moving it.
Thanx in advance,
Desmo16.
|
|
|
|
|
Desmo16 wrote:
At this point i need a function returning the current
x,y of the dialog, so that i can enlarge it without moving it.
GetWindowPlacement or GetWindowRect!
"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
|
|
|
|
|
hi all,
i am writing an application, in which i have to store data and read it when system is started everytime.(ie, like autostart)
so i am storing the data in xml( C:\Documents and Settings\All Users\Application Data\xmldata")and want to retrieve when system starts.
here xmldata is folder which i am creating
but i want to know will whether C:\Documents and Settings\All Users\Application Data will exists in all the windows languages or will it be different
plz help me in this issue
thanks all
venu
|
|
|
|
|
g venu wrote: C:\Documents and Settings\
the above folder came into exsistance from the XP onwards. There wasn't any folder like that before that version of windows. And about the future version....;)
nave
|
|
|
|
|
false, existing on my Windows 2000
|
|
|
|
|
toxcct wrote: existing on my Windows 2000
isit?
I directly migrated from 98 to xp. Thats why I am unaware of this...
nave
|
|
|
|
|
put "Im not sure" before such statements!!!!!
|
|
|
|
|
Sarath. wrote: put "Im not sure" before such statements!!!!!
I am not sure
nave
|
|
|
|
|
See SHGetFolderPathAndSubDir with CSIDL_APPDATA
|
|
|
|
|
thanx white sky and naveen
can i use GetAllUsersProfileDirectory() function so that i can retrieve the path such as
C:\Documents and Settings\All Users
But will it be same to the chineese windows version
b'coz my application will be distributed world wide
i should'nt get any problem.
tanx for reply
venu
|
|
|
|
|
|
CSIDL_COMMON_APPDATA yes you right and thanks for help
|
|
|
|
|
|
how to delete a CStatic Object. wt is the correct function? wts the syntax and parameters needed???
|
|
|
|
|
SteamEngine wrote: delete a CStatic Object
A CStatic object created on the stack within a window is automatically destroyed. If you create the CStatic object on the heap by using new , you must call delete on the object to destroy it when you are done with it.
delete myObj;
DestroyWindow();
To destroy a C++ Windows object, use DestroyWindow, not "delete".
-- modified at 7:07 Monday 31st July, 2006
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
_AnShUmAn_ wrote: f you create the CStatic object on the heap by using new , you must call delete on the object to destroy it when you are done with it.
delete myObj;
naah you have to call delete MyObj after DestroyWindow()
"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
|
|
|
|