|
I found the solution that i have to download pwlib.zip and include file from it.
Now i have to compile pwlib first. While building this i got this error.
Configuring Build Options
'.\msvc6chk' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\winnt\system32\cmd.exe.
Can anyone help me?
Thank you.
KIRAN PINJARLA
|
|
|
|
|
See here for building PWLIB.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Thankyou David. I have done as it says in this doc. But stil i am getting the same error
Configuring Build Options
'.\msvc6chk' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\winnt\system32\cmd.exe.
I have downloaded from http://www.voxgratia.org/releases/msvc6chk.zip and i did run it and upgraded. But still missed something i could not find.
can you please help me.
KIRAN PINJARLA
|
|
|
|
|
kiran.pinjarla wrote: '.\msvc6chk' is not recognized as an internal or external command,
Is it present on your machine? You can't run something that doesn't exist?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I have downloaded msvc6chk.exe. Now where should it be present to be recognized by my application while building? I placed it in the workspace.I think i am missing a small thing which to be done but sometimes...u know...
Thank you.
-- modified at 0:12 Saturday 20th January, 2007
KIRAN PINJARLA
|
|
|
|
|
kiran.pinjarla wrote: Now where should it be present to be recognized by my application while building?
In the same location as other EXEs that are used by the build process, or any other folder that is part of the PATH environment variable.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
kiran.pinjarla wrote: fatal error C1083: Cannot open include file: 'ptlib.h': No such file or directory
Have you verified that the file exists?
kiran.pinjarla wrote: I could not find the solution even in goolgle.
So how did you miss this?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi all,
In my project we need to disable memory stick as soon as it is connected to the system. For doing this we are using SetupDiXXX win32 api's.
The problem with this is not disabling the memory stick first time which has never connected to the system before. From second time insetion onwards it is successfully disabling the memory stick.
iam using the following code to disable memory stick....
spPropChangeParams.ClassInstallHeader.cbSize = sizeof(SP_CLASSINSTALL_HEADER);
spPropChangeParams.ClassInstallHeader.InstallFunction = DIF_PROPERTYCHANGE;
spPropChangeParams.Scope = DICS_FLAG_GLOBAL;
spPropChangeParams.StateChange = DICS_DISABLE;
spPropChangeParams.HwProfile = 0;
if ( !SetupDiSetClassInstallParams(hDevInfo, &spDevInfoData,(SP_CLASSINSTALL_HEADER*)&spPropChangeParams, sizeof(spPropChangeParams)) );
else if ( !SetupDiCallClassInstaller(DIF_PROPERTYCHANGE, hDevInfo, &spDevInfoData) ) ;
Any help on this is greatly appreciated..
Thanks in advance
---Pavan
|
|
|
|
|
Hi all,
I've got an MFC VC6 project written & compiled for English which is now being used in Germany, and is exhibiting some odd behaviour regarding edit boxes and DDX. I'm using these validating edit boxes, which correctly take into account the locale and accept commas as a decimal point. However, the underlying MFC code isn't taking into account the locale, and is throwing up a validation error when performing DDX to convert the edit box text to a float variable.
Any suggestions as to how I can make MFC use the locale of the OS so that it doesn't throw up this erroneous validation error?
Thanks.
|
|
|
|
|
Hi...
I need some method to check wether a printer conected to my device or not..I am using GetDefault() function,and also using DeleteDC to delete device context..but it is showing some memory leak with Epson printer.can i use some other function to check for the connected printer.
birajendu
CyberG India
Delhi
India
|
|
|
|
|
birajendu wrote: I am using GetDefault() function...
Which does what?
birajendu wrote: ...and also using DeleteDC to delete device context...
What does this have to do with "...some method to check wether a printer conected to my device or not?"
What exactly are you trying to do?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I use CPrintDialog::GetDefault()to get the m_pd.hdc,a valid handle indicates that a default printer present with machine.actually m running the application for win CE.
birajendu
CyberG India
Delhi
India
|
|
|
|
|
Ok, so is CPrintDialog::GetDefaults() not working for you? How are you verifying there's a memory leak?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
actually m using this function repeated intervals...and see system memory rise...as i have no debug capability with my work station i cant get more specific regarding memeory leak...and the problem is that is not happing wid HP printer..
birajendu
CyberG India
Delhi
India
|
|
|
|
|
birajendu wrote: ...and see system memory rise...
From where?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
as i told ,i am using Win CE,i can see memory status der....
birajendu
CyberG India
Delhi
India
|
|
|
|
|
birajendu wrote: i can see memory status der....
What is a "memory status der?"
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi All!
I m trying to create the DLL of my VC++ project. My project is a dialog Based project at which i use ActiveX control when i m make the Dll of this project it not work.If i remove ActiveX control from the Dialog Box Dll work prperly.
Pls tell me how i create Dll without deleting the ActiveX control.... of my project.
ansh
|
|
|
|
|
aaaan wrote: it not work
What does this mean?
Does it compile/link/run/crash?
You have to be more explicit than that.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|
|
In my ActiveX Control Project i simply use an ActiveX Check Box. and when i use The Dll of this project in my another project in which i call the Interface of ActiveX Control Project on ok event of my project that interface is not view. Bt if i remove the ActiveX Check Box from the ActiveX Control Project and make DLL of it and use it in my new project it works well....
So i just want to know how I use DLL with ActiveX Control.
|
|
|
|
|
aaaan wrote: which i use ActiveX control
Which activeX control you are using ?
|
|
|
|
|
In my ActiveX Control Project i simply use an ActiveX Check Box. and when i use The Dll of this project in my another project in which i call the Interface of ActiveX Control Project on ok event of my project that interface is not view. Bt if i remove the ActiveX Check Box from the ActiveX Control Project and make DLL of it and use it in my new project it works well....
So i just want to know how I use DLL with ActiveX Control.
|
|
|
|
|
quick question: how do i find the path to the directory in which my executable is saved?
|
|
|
|
|
GetModuleFileName() returns the full pathed name of your application. you can extract from it the current dir (i assume you mean by current dir, the directory from which the application has been started)
|
|
|
|
|
The CWD, per ths subject of your post, can be obtained via GetCurrentDirectory() . This, however, is not necessarily the same as the folder in which the application is running from. Use GetModuleFileName(NULL, ...) for this.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|