|
thanks ,very clever
but this was not my code
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
Ankit Aneja wrote:
this was not my code
then whose code is this
"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
|
|
|
|
|
it is not good to tell person name publiculy because that
person is having good reputation on code project
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
In programming world ppl do not go by their reputation of a good person in codeproject, If s/he writes bad code it means s/he writes bad code plus the ppl in codeproject dont take programming mistakes too personally.
Your comments probably help the dev to understand his mistake.
-prakash
|
|
|
|
|
Hello everybody,
Does anybody know how I can use the method ExecWB of the WebBrowser control for opening a file on the local machine:
ExecWB(OLECMDID_OPEN, OLECMDEXECOPT_DODEFAULT, ?, ?);
I don't know the use of parameters 3 and 4.
I Also don't want to use Navigate method because of the download prompting.
thanks in advance
Roozbeh.
-- modified at 4:14 Saturday 3rd September, 2005
|
|
|
|
|
I wanna to know about this syntax
istream& getline(char *buffer, int length, char terminal_char);
& operator before getline ,what it represent?
Or sometime instead of & there is * also.
What it represent?
Rupal
|
|
|
|
|
hum, i think you need some basic notions about C++.
in such declaration syntax, operator & represent the declaration of a reference, and operator * represent the declaration of a pointer...
in you example, getline get as paramater a pointer to char (buffer), an int (length) and a char (terminal_char). it returns then a reference to an istream instance.
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
|
return back the reference of an object
|
|
|
|
|
Rupali Sarda wrote:
What it represent?
Please don't mind, you need read this book, it's contain all the basic concept of c++ Plus it free online http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html[^]
"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
|
|
|
|
|
hello
I have a dialog based application where i am popping a modeless dialog from the OnInitDialog() of this dialog.I alos have a menu in the parent dialog.What i want is that if user clicks on red cross button and calls OnClose()(WM_CLOSE)then only he should be able to create another modeless dialog through menu.How should i override the OnClose and menu handler.I tried to set a variable of my parent dialog in OnClose of modeless dialog and then check it in OnMenu(0 handler but this is not working.Can somebody expalin to me what happens when we click on red cross button of modeless dialog.Do i need to call destroyWindow()?
please help
thanks in advance
|
|
|
|
|
sayup wrote:
How should i override the OnClose and menu handler.I tried to set a variable of my parent dialog in OnClose of modeless dialog and then check it in OnMenu(0 handler but this is not working.
You have to notify the Parent by sending Some Sort of Custom Window Messages! look for WM_APP and WM_USER messages in your locla copy of MSDN
"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
|
|
|
|
|
When I compiled my project,I got the error messages below:
<br />
fatal error C1001: INTERNAL COMPILER ERROR<br />
(compiler file 'msc1.cpp', line 1786) <br />
Please choose the Technical Support command on the Visual C++ <br />
Help menu, or open the Technical Support help file for more information<br />
I have checked this error number in MSDN,but I can't solve this problem.
So can anybody here do me a favor?
Appreciate.
Oh,by the way,my environment is VC6.0.
Never understand
radical version!
|
|
|
|
|
The compiler cannot generate correct code for a construct, probably due the combination of an expression and an optimization option. Try removing one or more optimization options and recompiling the function containing the line indicated in the error message.
|
|
|
|
|
ILoveCS wrote:
ILoveCS
as your name suggest you love C-Sharp, what are you doing with VC
"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
|
|
|
|
|
In your eyes,"CS"just means C sharp.
In fact,it can have many kinds of explanation.
For example,Computer Science.
I love C Sharp.
And I love c++ too.
C sharp and C++ don't mind sharing my loves with each other.
hei,guy,maybe you can give me some advice on my problem?
Never understand
radical version!
|
|
|
|
|
ILoveCS wrote:
In fact,it can have many kinds of explanation.
Goos Shot ....
ILoveCS wrote:
maybe you can give me some advice on my problem?
I believe, Mr. Dunn have already given answer to your problem .
"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
|
|
|
|
|
|
Does it make any difference?
I want to know more.
Thank you.
Never understand
radical version!
|
|
|
|
|
|
problem solved.
Thanks a lot!
Never understand
radical version!
|
|
|
|
|
Hi any can tell me how i can make excel addin in vc++
Please help me ,thanks a lot.
|
|
|
|
|
|
when i compiler my project,
ide always show like this:
--------------------Configuration: BlowFish_DEMO - Win32 Debug--------------------
Compiling...
BlowFish_DEMO.cpp
e:\openssl\demo\tellusencryption.h(30) : error C2146: syntax error : missing ';' before identifier 'CONST'
e:\openssl\demo\tellusencryption.h(30) : error C2146: syntax error : missing ';' before identifier 'DEFAULT_BLOWFISH_KEY'
e:\openssl\demo\tellusencryption.h(30) : error C2501: 'CONST' : missing storage-class or type specifiers
e:\openssl\demo\tellusencryption.h(30) : error C2501: 'DEFAULT_BLOWFISH_KEY' : missing storage-class or type specifiers
e:\openssl\demo\tellusencryption.h(33) : error C2146: syntax error : missing ';' before identifier 'BinToHex'
e:\openssl\demo\tellusencryption.h(33) : error C2061: syntax error : identifier 'LPBYTE'
e:\openssl\demo\tellusencryption.h(34) : error C2146: syntax error : missing ';' before identifier 'HexToBin'
e:\openssl\demo\tellusencryption.h(34) : error C2086: 'BOOL' : redefinition
e:\openssl\demo\tellusencryption.h(34) : error C2061: syntax error : identifier 'LPBYTE'
e:\openssl\demo\tellusencryption.h(36) : error C2146: syntax error : missing ';' before identifier 'GetEncryptLength'
e:\openssl\demo\tellusencryption.h(36) : error C2061: syntax error : identifier 'DWORD'
e:\openssl\demo\tellusencryption.h(42) : error C2146: syntax error : missing ';' before identifier 'BlowFishDecrypt'
e:\openssl\demo\tellusencryption.h(42) : error C2086: 'BOOL' : redefinition
e:\openssl\demo\tellusencryption.h(42) : error C2061: syntax error : identifier 'LPBYTE'
e:\openssl\demo\tellusencryption.h(43) : error C2146: syntax error : missing ';' before identifier 'BlowFishEncrypt'
e:\openssl\demo\tellusencryption.h(43) : error C2086: 'BOOL' : redefinition
e:\openssl\demo\tellusencryption.h(43) : error C2061: syntax error : identifier 'LPBYTE'
e:\openssl\demo\tellusencryption.h(44) : error C2146: syntax error : missing ';' before identifier 'HashMD5'
e:\openssl\demo\tellusencryption.h(44) : error C2086: 'BOOL' : redefinition
e:\openssl\demo\tellusencryption.h(44) : error C2061: syntax error : identifier 'LPBYTE'
e:\openssl\demo\tellusencryption.h(45) : error C2146: syntax error : missing ';' before identifier 'HashMD5'
e:\openssl\demo\tellusencryption.h(45) : error C2086: 'BOOL' : redefinition
e:\openssl\demo\tellusencryption.h(45) : error C2061: syntax error : identifier 'LPCTSTR'
e:\openssl\demo\tellusencryption.h(45) : error C2535: 'int __thiscall CTellusEncryption::HashMD5(void)' : member function already defined or declared
e:\openssl\demo\tellusencryption.h(44) : see declaration of 'HashMD5'
e:\openssl\demo\tellusencryption.h(46) : error C2146: syntax error : missing ';' before identifier 'HexHashMD5'
e:\openssl\demo\tellusencryption.h(46) : error C2086: 'BOOL' : redefinition
e:\openssl\demo\tellusencryption.h(46) : error C2061: syntax error : identifier 'LPCTSTR'
e:\openssl\demo\tellusencryption.h(48) : error C2146: syntax error : missing ';' before identifier 'Encode'
e:\openssl\demo\tellusencryption.h(48) : error C2086: 'BOOL' : redefinition
e:\openssl\demo\tellusencryption.h(48) : error C2061: syntax error : identifier 'LPBYTE'
e:\openssl\demo\tellusencryption.h(49) : error C2146: syntax error : missing ';' before identifier 'Decode'
e:\openssl\demo\tellusencryption.h(49) : error C2086: 'BOOL' : redefinition
e:\openssl\demo\tellusencryption.h(49) : error C2061: syntax error : identifier 'LPBYTE'
TellusEncryption.cpp
e:\openssl\demo\tellusencryption.cpp(390) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
Error executing cl.exe.
BlowFish_DEMO.exe - 34 error(s), 0 warning(s)
-----------------------------------------
Please help me ,thanks a lot.
I Love my lover like you do!
|
|
|
|