|
Nelek wrote: good luck by self learning
I think it was a good answer.
Sometimes I want to ask this question but I forgot,did your problem solve ?I think you have a problem on your project?
|
|
|
|
|
You can't. Yahoo's IM server does not pass that information on to you.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
There are some codes:
while(iter != vectVltSvrName.end())
{
EstablishBinding((*iter).c_str(), END_POINT);
int nSize = 255;
char chServerDir[255] = "";
RpcTryExcept
{
GetServerDir(nSize,(unsigned char*) chServerDir);
}
RpcExcept(DO_EXCEPTION)
{
*Ret = ERR_NONE;
*bIs = FALSE;
goto Label;
}
RpcEndExcept
iter ++;
}
why VC2005 would tell me such error:error 141 error C2712: Cannot use __try in functions that require object unwinding e:\work\olework\sm50_neui\program\lckernel\lcobject.cpp 7438
and how should I resolve it?I do not know if I should remove the exception all change it to try{}catch(...){}
Thanks.
GOOD LUCK!
|
|
|
|
|
have you read this[^] ?
hint: compile with /Gx-
|
|
|
|
|
I am reading it now.
Thanks.
But I don't know how to set such options!
And would you tell me there are some ways to exchange somethings real-time,such as icq?
Thanks very much
|
|
|
|
|
go to your project settings... there you'll find off the compilation parameters... one corresponds to the /Gx-
|
|
|
|
|
I am so sorry that I remain could not find such setting.
Perhaps,I forgot to tell you that I use VC2005.
Thank you all the same.
Best wishes.
|
|
|
|
|
I am reading it now.
Thanks.
But I don't know how to set such options!
And would you tell me there are some groups to exchange somethings real-time,how to do this?
Thanks very much
|
|
|
|
|
Oh,I had set /GX-
but the error also remain.
|
|
|
|
|
|
How to set new icon in console program?
Juri Neidlin
|
|
|
|
|
Where do you want to set the icon? In the console window(don't think it would be possible) or for it's caption?
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
I want to set the my own icon in the caption, only in the caption
Juri Neidlin
|
|
|
|
|
Hi
I want to develop a new vc++(vc 8.0) programme in form view .on that the form must be without Maximize,Minimize,Title Bar and file menu all things.
I want a plain dialog window with out any thing on that, in maximize format.
Awaiting for your suggestion
Regards
shakumar
shakumar
|
|
|
|
|
Hi,
- In your resource editor, open the properties of your CForm and unable the Minimize, Maximize (I think you can't avoid the "close" button)
- In your CMainFrm look for
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
and override it
hoep it helps
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
You can send WS_MAXIMIZE to window.
|
|
|
|
|
Hi All,
I am using ListBox control on dialog box in which I am displaying jpeg images in single column. My requirement is to display .jpeg images in row wise pattern.So if anybody have some hint or any solution to this then please send it to me.
Thanks and Regards
Atul Mahajan
|
|
|
|
|
Hi All,
I am using VC++6.0 for my project, in which i want to change default position of dialog window. I tried SetWindowPos function in OnInitDialog() of PropertySheet class but it does not reflect any change in Dialog position. Please give me hint about this.
Thanks And Regards
Atul Mahajan
|
|
|
|
|
Override WM_MOVE and set X Y pos
|
|
|
|
|
after using SHGetDesktopFolder to get an IShellFolder object, how can i get the corresponding item id of this folder, without this, i can't get icon of desktop?
|
|
|
|
|
FlyingBear wrote: after using SHGetDesktopFolder to get an IShellFolder object, how can i get the corresponding item id of this folder...
Have you tried IShellFolder::ParseDisplayName() ? The fifth argument is a pointer to the object's PIDL.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hallo,
maybe someone have the same problem and knows the solution.
I have derived my own class from CPropertySheet.
Than i subclass the Apply Button in the OnInitDialog() function
with
m_ButtonApply.SubClassDlgItem(ID_APPLY_NOW,this);
I do this to change the look of the Button.
under VC2003 this works fine.
Now i compile the application with VC2005 and after pressing the apply button inside the app i
get the original look from the apply button, not the skinned look after subclassing.
After open the PropertySheet Dialog it looks well, but after clicking the button the Windows style is back.
I believe the baseclass destroy the original button and create a new one ?!?
Maybe or maybe not. I tried out a lot of things, for example to subclass again after diferent WindowMessages and so on.
Nothing works!
Has anybody an idea whats the reason and what i make wrong?
|
|
|
|
|
Some paiting routines have changed in VS 2005. You got to enforce a redraw or a draw a "pressed" look. Check/implement the WM_MOUSE* messages.
Greetings from Germany
|
|
|
|
|
Hi,
I am new in DDK but when I incule some files , so many errors appears.
Error 44 error C2146: syntax error : missing ';' before identifier 'InterfaceReference' D:\WINDDK\2600\inc\ddk\wxp\video.h 1362
Error 53 error C2146: syntax error : missing ';' before identifier 'InterfaceReference' D:\WINDDK\2600\inc\ddk\wxp\video.h 1382
Error 62 error C2146: syntax error : missing ';' before identifier 'InterfaceReference' D:\WINDDK\2600\inc\ddk\wxp\video.h 1443
Error 68 error C2146: syntax error : missing ';' before identifier 'InterfaceReference' D:\WINDDK\2600\inc\ddk\wxp\video.h 1500
Error 74 error C2146: syntax error : missing ';' before identifier 'InterfaceReference' D:\WINDDK\2600\inc\ddk\wxp\video.h 1559
Error 47 error C2146: syntax error : missing ';' before identifier 'InterfaceDereference' D:\WINDDK\2600\inc\ddk\wxp\video.h 1363
What are these errors and how to solve?
Thanks.
Every new thing you learn,Gives you a new personality.
|
|
|
|
|
i'm doing a lot with DDK at the moment, working on a NDIS driver.
i only use VS 2005 as my IDE, i dont build or compile the project in VS2005, you need to use the DDK builder for your target platform.
the SDK and DDK have some files with the same name but are different.
so if you want to use the builder you will probably have to remove references to the SDK.
|
|
|
|