|
followait wrote: I'm finding a better framework than MFC
Rajesh's remark: "Impossible.".
Carlo's remark: "Impossible to fail."
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
followait wrote: I'm finding a better framework than MFC
Indeed, one that keeps you from forgetting to change the code generated by a Wizard. Yes, must find new framework, good idea. Keep up the good work!
led mike
|
|
|
|
|
Hi All
My parent dialog will open the child dialog. I would like to edit some
values in the child dialog and upon clicking the ok button, will load
the new data back to the parent dialog.Plz help me
Thanks in advance
|
|
|
|
|
See here [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Thanks for help..It's working
|
|
|
|
|
MsmVc wrote: It's working
Nice to know.
MsmVc wrote: Thanks for help
You're welcome.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
hi,
i want to create a resume support file download program using socket.
it can be like i am downloading a large file and stopping it for today and want to continue tomorrow from the bytes i left.
it is like 50kb today and 50kb tomorrow.
i dont want use third party resume support programs.
and the file is in a remote http server
normally i am requesting a file like the following
GET /filename.ext HTTP1.1
Host: host.com
Connection: Close
is there a way to request a file with another protocol and not with HTTP (port 80)
because http gives a header and other decoding stuffs
and i haven't used the byte range header of a http request which could
help me do my work...
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
modified on Friday, October 31, 2008 4:07 AM
|
|
|
|
|
You can user partial content 206 rule for reading a part of a file from remote server.
The header is "Range: bytes=100-200"
which fetches 100 bytes starting from 100th byte to 199.
|
|
|
|
|
Hay genius ,
i have a small doughs for a comment line "// or /*.........*/"
i am using lot of comments line in my mfc program,its taking a long time for execution and compiling .
1, if its taking a time for compile and execution. and one more doughs
2,if the command line occupy a memory space. if not means how to compiler identify command lines.
Regard's
Mathy's
|
|
|
|
|
mathy wrote: 2,if the command line occupy a memory space. if not means how to compiler identify command lines.Confused
You mean comment line, don't you?
Regards,
Sandip.
|
|
|
|
|
mathy wrote: i am using lot of comments line in my mfc program
Good.
Don't bother about and keep commenting a lot.
BTW (just common sense observations)
- Possibly your program takes a lot of time for compiling because it is huge.
- Possibly your program executes slowly because of design inefficiency.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
The compiler never sees your comments as they are stripped out by the preprocessor.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Inoa orbix is inatalled on my machine, I am trying to compile idl file at command prompt using nmake -e, the following error appears
'nmake' is not recognized as an internal or external command,
operable program or batch file.
then I copied nmake.exe in the folder, when I try now
the below error appears.
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
Stop.
Please help
|
|
|
|
|
|
executed vcvars32.bat at command prompt
still the problem exist.
|
|
|
|
|
what version of visual studio are you using ? (although I dont see why that would make too much difference if the environment was set up)
if you do a 'set' command in the command window, what does the path look like ?
'g'
|
|
|
|
|
I am using visual studio 2005
the result of set command
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\JosephTambi.Katta\Application Data
CachedData=\\BNGRDC-S-01006\JosephTambi.Katta$\cached
CLASSPATH=.;C:\Program Files\QuickTime\QTSystem\QTJava.zip
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=BNGIBM-D-9919
ComSpec=C:\WINNT\system32\cmd.exe
HOMEDRIVE=H:
HOMEPATH=\
HOMESHARE=\\BNGRDC-S-01006.asia-pac.shell.com\USERSR21$\JosephTambi.Katta\Home
IMSTATUS=\\bngrdc-s-01003.asia-pac.shell.com\IMSTATUS$
IT_CONFIG_PATH=C:\Program Files\Iona\Config
IT_IDLGEN_CONFIG_FILE=C:\Program Files\IONA\asp\6.3\etc\idlgen.cfg
IT_PRODUCT_DIR=C:\Program Files\IONA
JAVA_HOME=C:\Program Files\Java\j2re1.4.2_16
LOGONSERVER=\\BNGRDC-S-01000
MACH_TYPE=Developer
MSIPATH1=\\bngrdc-s-01003.asia-pac.shell.com\Dist$
MSIPATH2=C:\MSI
MSIPATH3=\\bngrdc-s-01003.asia-pac.shell.com\UFT$
NUMBER_OF_PROCESSORS=2
ORBIX_HOME=C:\Program Files\Iona
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=C:\Program Files\IONA\asp\6.3\bin;C:\Program Files\IONA\bin;C:\Program Fi
s\Iona\bin;C:\Program Files\Iona\tools\jre\bin;C:\Program Files\Iona\COMet\bin
C:\Program Files\bin;C:\Program Files\tools\jre\bin;C:\Program Files\COMet\bin
C:\Oracle\8i\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Oracle\8.0\bin;C:\Or
le\8.0\jdk\bin;;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;;c:\abcd;C:\
ogram Files\Open Text\Livelink Explorer;C:\Program Files\Axalto\Access Client\
\;C:\Program Files\Schlumberger\Smart Cards and Terminals\Common Files\;C:\Pro
am Files\ActivCard\SecureLogin Single Sign-On\;C:\Program Files\Open Text\Live
nk Explorer\;C:\Program Files\QuickTime\QTSystem\;C:\Oracle\10g\InstantClient;
\Program Files\Windows Imaging\;C:\Program Files\1E\SMSNomad\;C:\Program Files
ySQL\MySQL Server 5.0\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0401
ProgramFiles=C:\Program Files
PROMPT=$P$G
QOSDISABLE=1
QTJAVA=C:\Program Files\QuickTime\QTSystem\QTJava.zip
RSMS_NAME=eps.asia-pac.shell.com
SAPLOGON_INI_FILE=C:\WINNT\Saplogon.ini
SQLPATH=C:\Oracle\10g\InstantClient
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\DOCUME~1\JOSEPH~1.KAT\LOCALS~1\Temp
TMP=C:\DOCUME~1\JOSEPH~1.KAT\LOCALS~1\Temp
TNSNAMES=C:\Oracle\8i\network\ADMIN\
TNS_ADMIN=C:\Oracle\8i\network\ADMIN
UATDATA=C:\WINNT\system32\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
USERDNSDOMAIN=asia-pac.shell.com
USERDOMAIN=ASIA-PAC
USERNAME=JosephTambi.Katta
USERPROFILE=C:\Documents and Settings\JTK
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
windir=C:\WINNT
C:\PROGRA~1\IONA\asp\6.3\demos\corba\orb\simple>
pls advice
|
|
|
|
|
are you sure you ran vcvars32 (or the equivalent for VS2005) in THIS session ? .. it doesnt look like the path to the VS2005 tools is set .. usually in the PATH you'd expect some microsoft vs directories - if you do a search using explorer for nmake (the original version, not the one you copied), you should see this location in the PATH, and its not there ...
'g'
|
|
|
|
|
hi I use mingw program to recognize g++
and I do all the set up but when I want to
use g++
WHAT I see is"g++ is not recognized as an enternal or external command operable program or file.."
please help me
|
|
|
|
|
not sure if I can help with that - Orbix Comet is only buildable on VC6, on Windows at least - Other Windows Orbix versions (eg 6.3.4) appear to be buildable with later versions - from their website ...
"Orbix COMet requirements
Orbix COMet is only supported with Microsoft Visual C++ 6.0. Orbix 6.3.4 also supports Visual C++ 7.1, Visual C++ 8.0, and Visual C++ 9.0. However, Orbix COMet does not support these newer compiler versions, and works with Visual C++ 6.0 only. "
.. plus I have sfa experience with mingw
If you're trying to complie Orbix 6.3.4 why dont you download VS 2008 Express or such ?
sorry
'g'
|
|
|
|
|
|
CString str;
GetDlgItemText(IDC_DIR0,str);
if(CreateDirectory(str,NULL))
{
AfxMessageBox("Success");
}
else
{
AfxMessageBox("Failed");
}
No mater what directory i set as the value of str,
the program alerts "Failed".
|
|
|
|
|
Did you call GetLastError() to check why it fails?
Most of the VISTA problems are solved by Elevated Administrator privileges.
Dig in this forum you will find many similar questions..
These articles may help you
Vista UAC Guide[^]
Vista Elevator[^]
[EDIT]
Here is the search result for vista problems that were asked in this forum
Vista Issues[^]
[/EDIT]
I hope it helps.
Regards,
Sandip.
modified on Friday, October 31, 2008 3:36 AM
|
|
|
|
|
You havent the rights to create directories where you like.
Consult the links in the first answer.
Greetings from Germany
|
|
|
|
|
Without knowing what directories you've tried to create, we can only guess at the cause.
What does GetLastError return when CreateDirectory fails?
|
|
|
|