|
Have you stepped into the method to see what condition is prohibiting the movement?
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I don't understand what happens because when I do MoveFirst() I go to the next record, but why when i do MovePrev it does n't go back. That's my complain
|
|
|
|
|
Hence my suggestion to step into the MovePrev() call to see what is actually happening.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hello!
I hope someone can help with this stuff.
I tried to set up a sample webservice/client stuff, the service is the default c# helloworld service which comes with the ide, the client is a simple c++ mfc app.
I followed the tutorials on msdn to create and deploy the service, which worked fine.
Then i followed the instructions on how to create a client, add web resource etc.
The problem is, that when i try to run the client from my system (windows 2000 sp4) it fails before even starting, saying:
"The procedure entry point getaddrinfo could not be located in the dynamic link library WS2_32.dll."
It runs finely on windows 2003 though.
I googled around a bit for the cause of this problem, but i couldn't find any solutions for win 2000, only xp or 2003.
I checked the 2003 and 2000 ws2_32.dll-s with depends, and in the 2000 version i didn't find the mentioned function. Why does my compiler include references to a function not in my dll?
If anyone can help me to solve this problem, please post a reply.
Ngetal
|
|
|
|
|
Now. I have to change messagebox to (OK - Cancel) to the French language. In source English use MB_OKCANCEL. I have to change MB_OKCANCEL to another to my messagebox have 2 buttons: OK - Annuler
Please help me
Software Engineer
|
|
|
|
|
Messagebox caption will change automatically according to the OS default language. You can use custom messagebox ur own to change the language.
cheers..milton kb
|
|
|
|
|
More level of customization can be done by using a windowshook for WH_CBT and traping the HCBT_ACTIVATE.
Regards,
FarPointer
Blog:http://farpointer.blogspot.com/
|
|
|
|
|
I think that you can use MessageBoxIndirect(...) to specify a different Language ID to use for the text on the standard button(s).
It looks like MessageBoxEx(...) can be used, but I do not think the "cross-language" functionality is implemented in it.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
Thanks to all for helps. I love you and thank you very much!
Software Engineer
|
|
|
|
|
Does any body a way to remote access a computer on a network to add/remove files.
I know using 'CreateFile()' I can create file on the network but that requires me to login on the local computer with the same username and password as registered on the remote computer. Is there any way to create a token to use for accessing remote computers?
|
|
|
|
|
Take a look at WNetAddConnection2 and its related functions.
|
|
|
|
|
You can use LogonUser() and ImpersonateLoggedonUser() to get access to a remote machine for a specific user with username and password.
cheers...milton kb.
|
|
|
|
|
After googling little bit I found out two different meanings for Alt Gr.
Does it mean Alternate German or Alt Grpahics or Alt group?
Also how to trap in PreTranslateMessage()? Is this the correct way or is there any better way?
<br />
bool bAltGrp = false;<br />
if((::GetKeyState(VK_CONTROL) & 0x8000) && (::GetKeyState(VK_LMENU) & 0x8000))<br />
{<br />
bAltGrp = true;<br />
}<br />
else if(::GetKeyState(VK_RMENU) & 0x8000)
{<br />
bAltGrp = true;<br />
}<br />
Thanks and Regards,
Arti Gujare
|
|
|
|
|
try out :-WM_SYSCHAR
Regards,
FarPointer
Blog:http://farpointer.blogspot.com/
|
|
|
|
|
Hi
I needed to develop HTTP listener in C++. This listener should support SSL. After searching for the technology for this I chose HTTP API which seems to support SSL. First I developed all the functionality of the listener and added request handlers. So now HTTP works well.
I started to add SSL support. Step-by-step I did all the recommendations found in MSDN: added certificate to the store with HttpSetServiceConfiguration (checked with httpcfg - it is there), and changed scheme in URLs to "https".
And... HTTPS does not work. I have absolutely no idea why. I even do not have an idea how to get know why. There are no errors (no errors even in HTTP API logs). HTTP Requests are not accepted. Port is opened but when I try to send data server just disconnects. The requests is not received by the service. Seems like it is rejected inside HTTP API.
Please help! How can I get this work? How, at least, I can get the reason why it does not work?
Thanks,
Andriy
Andriy Lesyuk
|
|
|
|
|
I feel I have to answer your question, since noone else does.
I know nothing about HTTP API, but if it doesn't work, maybe you could use OpenSSL for the https sessions?
That solution is used in one of the programs I'm responsible for maintaining. (I didn't write it, though). Works well.
It uses winsock for http sessions and OpenSSL for https.
|
|
|
|
|
To use winsock + OpenSSL i need to rewrite almost all code. I'm not sure that this is acceptable way out.
|
|
|
|
|
how can i set font to my edit contol
sree.
|
|
|
|
|
|
can u give me some more information,
or any examples or links,
sree.
|
|
|
|
|
I think SetFont can help you.
CFont m_MyFont;
m_MyFont.CreateFont(14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Courier New");
m_cMyEditControl.SetFont(&m_MyFont);
|
|
|
|
|
thank u i got it.
bye
sree.
|
|
|
|
|
see
<br />
CFont m_FontEdit;<br />
CFontDialog m_dlg;<br />
if(m_dlg.DoModal()==IDOK)<br />
{<br />
FontEdit.CreateFontIndirect(&m_dlg.m_lf);<br />
m_Edit.SetFont(&m_FontEdit);<br />
}<br />
whitesky
|
|
|
|
|
While it appears that your CFont object is a member, it might be worth saying that the CFont object used with CWnd::SetFont(...) should not be destroyed until after the control using it is done with it (or has been destroyed). (At least - I think it has to hang around...)
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
how to remove default OK CANCEL APPLY HELP button from bottom of property sheet and our oun button
please mail
rahul
|
|
|
|