|
ramamaru wrote: to get '0' as output and not '1',i.e.the 1st element in the array.
How are you expecting to get '0' as an output. The array has four elements, none of which are '0'.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
first your initializing the array incorrectly
it should be [int a[2][2] = {{1,2},{3,4}};]
??to get '0' as output and not '1' you set the first element to 1 so what
are you asking there.
|
|
|
|
|
ramamaru wrote: to get '0' as output and not '1',i.e.the 1st element in the array.
but there is no zero In Array Inisialization List!
"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
|
|
|
|
|
oh my God..i told that i got 0 as output...and not 1...Why? Thatz it
|
|
|
|
|
In case you still need help:
I recommend reading this article which answered all my questions
on arrays in the past. Statically- and dynamically-allocated arrays
are stored differently - keep this in mind and it will help you to find
the solution to your problem.
Good luck, Sebastian
-------------------------------------------
My website: http://www.hartwork.org
|
|
|
|
|
how do i create a control in win32 application avoiding m_pCtrlSite error.
thnx
Kanchana
|
|
|
|
|
I'm not sure.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hmklakmal wrote: how do i create a control in win32 application avoiding m_pCtrlSite error.
Are you using Microsoft Form Control 2.0?
"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
|
|
|
|
|
Yeah.
But i want to add shockwave flash object to my win32 app.
how should i do it.
Cant add activex control to app in win32?
I can add it as atl object but how can i set its properties?
I need Help.
Kanchana
-- modified at 17:51 Friday 9th June, 2006
|
|
|
|
|
Hi. I badly need help. Am not able to link a HTML Help file in either Win32 or Visual C++. Could anyone please help me!!
|
|
|
|
|
And the error message from the linker would be?
Chris Meech
I am Canadian. [heard in a local bar]
The America I believe in has always understood that natural harmony is only one meal away from monkey burgers. [Stan Shannon]
GOOD DAY FOR: Bean counters, as the Australian Taxation Office said that prostitutes and strippers could claim tax deductions for adult toys and sexy lingerie. [Associated Press]
|
|
|
|
|
adiilah wrote: Am not able to link a HTML Help file...
With/to what?
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
You could use ShellExecute to open the html file with the associated application, which would tpyically be the default browser.
ShellExecute(m_hWnd, "open", "my_help.html", "", "", SW_SHOW );
Is that what you're asking?
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
adiilah wrote: Am not able to link a HTML Help file in either Win32 or Visual C++
actually what problem are you facing?
"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 want to use GetThreadId in my application but when I want compile and run application i get this error
of course i dont get error View - 0 error(s), 0 warning(s) but i get this error and my program dont run.
View.exe- Entry Point Not Found
The procedure entry point GetThreadId could not be located in the dynamic link library KERNEL32.dll
my class is CDialog
Thank you
|
|
|
|
|
Based upon this[^], I'd say your are not running on Vista.
Chris Meech
I am Canadian. [heard in a local bar]
The America I believe in has always understood that natural harmony is only one meal away from monkey burgers. [Stan Shannon]
GOOD DAY FOR: Bean counters, as the Australian Taxation Office said that prostitutes and strippers could claim tax deductions for adult toys and sexy lingerie. [Associated Press]
|
|
|
|
|
I use XP is it possible run in xp this function
|
|
|
|
|
Did you not see the link that Chris provided? It clearly states what is required.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I've seen the required OS infomation on MSDN be wrong before. The IAutoComplete interfaces is an example of this. I'm not saying it's wrong in this case: just that something can be clearly stated but incorrect.
Steve
|
|
|
|
|
Stephen Hewitt wrote: I've seen the required OS infomation on MSDN be wrong before.
True, but this one looked like a case of "give me the answer so I don't have to look for it."
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I need to set this layout:
One Main Frame Splited in two views.
Each View receives another (secondary) mainframe, so i can have multiple windows in the upper splitted windows and multiple windows at the bottom splitted window.
Can it be done?
Thanks
|--------------------------|
|MainWindow Frame |
|--------------------------|
|Secondary MDI Frame One |
| (multiples cview windows)|
|--------------------------|
|Secondary MDI Frame Two |
| (multiples cview windows)|
|--------------------------|
|
|
|
|
|
I have written a explorer type of application with CTreeView/CListView and Splitter bar etc. On the ListView I have added a popup menu from which I then display a CDialog with DoModal(). The dialog displays fine but the mouse events aren't being captured, so cannot click on the OK/Cancel/Close icons. I can click select the OK/Cancel buttons using the tab key, but why isn't the mouse usable?
Hoping someone can advise where I have gone wrong.
|
|
|
|
|
dialog part of listview (parent)?
Kuphryn
|
|
|
|
|
Thanks but I am still no further forward. I have created an SDI Explorer application using the application wizard, from the EditView derived from the CListView I have added a popup menu from one of the menu events I am showing my CDialog based dialog with DoModal(). The dialog shows OK but the mouse events aren't being captured! I have tried all sorts of ways of trying to resolve this but nothing has worked so far.
|
|
|
|
|
It sounds like something has failed to release the mouse capture, which is set with SetCapture and released with ReleaseCapture .
Software Zen: delete this;
|
|
|
|