|
|
Yes I did. Which other properties did you mean? The list of the "Messages" is very long:
"WM_ACTIVATE"
...
...
...
"WN_WINDOWSPOSCHANGING"
"WM_INICHANGE"
|
|
|
|
|
the windows messages are not what you must look for...
open the dialog box in design editor, then select the dialog, right-click on it, choose Properties, then you should have a property called Menu...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
Yes, I did it. But nothing with "menu". I think the Beta Version doesn't have it!
Or this is the bug, therefor it is a BETA.
|
|
|
|
|
Thank you for help!
I think I 'll better go back to DevC++ go on console
To much bugs in this IDE! It's just aborted...
|
|
|
|
|
can't you get a release version of the IDE ?
it's been 3 years that is released, and now, Visual Studio 2005 is released too !!!
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
|
Hello,
the Version is Visual Studio.Net 7.0.9254 (Beta 2). I got it in 2003.
What do you mean with "you could always add the meny at runtime (in OnInitDialog())... "?
-- modified at 15:42 Tuesday 24th January, 2006
Oh, sorry you are right because of the old release. I wanted to try this old release (3 CDs), because I already have it here, cannot download the trial 2005 (too big) from the internet. I should reinstall it now
|
|
|
|
|
toxcct wrote: meny
Menu;P. Back to primary.
Jesus Loves <marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
|
I need someone to solve this bug for me: I can't get the password from this piece of code. I am getting the username fine but the prog can't seem to get the password and display it or compare it.
AnsiString a=AnsiString(DataModule1->DatabaseProjectTracking->Params->Values["Password"]).c_str();
DataModule1->DatabaseProjectTracking->LoginPrompt=false;
ShowMessage(DataModule1->DatabaseProjectTracking->Params->Values["User Name"]);
ShowMessage(a);
if(a=="flx")
{
ShowMessage("Ok");
}
if(a!="flx")
{
ShowMessage("Not Ok");
}
Many Thanks,
Priya
|
|
|
|
|
Hi Guys ,
I hav posted this earlier too but did't get any solution .
I hav to instal my VC++ application on MS Server 2003 , I copied all the dlls manually (with help of Depends Tool), but my application did't ran. Then after searching from every where I just installed MS Visual C++ 6. on that machine and it solved my problem . Now uninstalling MS Visual C++ again cause my application not to run.
I get a RunTime error without any details. I think problem is that I have to register some dlls or need to copy some dll that DEPENDS Tool is not showing !
Any suggestions of Tips plzzzzzzzzzzzzzzz !
Regards,
ZINC
|
|
|
|
|
Does your application do any explicit linking?
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
Hi ,
What do u mean by explicit linking ? I am using standard MFC libraries .
And using SQL Server with CRecordset and CDatabase clases.
I will be really grateful if anyone could help me out here.
Thanks in advance
ZINC
|
|
|
|
|
zinc_z wrote: What do u mean by explicit linking ?
As opposed to implicit linking.
Implicit linking: static load or load-time dynamic linking.
Explicit linking: dynamic load or run-time dynamic linking (e.g., LoadLibrary() ).
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
Hi ,
No I m not using any explicit linking .
I read somewhere on web that If you select "USE MFC IN STATIC Library" option in Project Settings menue , you dont need to copy dlls explicitly but i have tried this one too buts its not working also.
I will really appreciate if you could provide me any alternative solution .
Regards,
ZINC
|
|
|
|
|
zinc_z wrote: I read somewhere on web that If you select "USE MFC IN STATIC Library" option in Project Settings menue , you dont need to copy dlls...
True, because all of the code has been mashed into the single .exe file.
Is your application compiled in Debug or Release mode?
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
My Code is in Release mode , there is no external dependcies , Its a multithreaded socket based database application.
Now is there any way that I could run it on MS Server 2003 without installing MS VIsual C++6.
I have already tried by copying all Dlls(with help of Dependency Walker ), and also by setting option 'MFC IN Static Library', and by running REDIST package of microsoft and also by making project through InstalShield .
Any other solution ??????
ZINC
|
|
|
|
|
With your application running, you need to make a note of each of the DLLs that have been loaded into its address space. Use Process Explorer for this.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
hi!
I cannot make my ftp client to work through my socks server. I use smartFTp, in its preferences I chose socks5 proxy without auth. For http connections (through IE) and ICQ socks server works good. I tried to use ftp client both in passive and active modes. My suspicion is that something wrong with the main relay's loop:
Code:
<code>
char swapBuffer[4096*16];
int iSendResult, iRecvResult;
tv.tv_sec = 2;
while (true)
{
memset(swapBuffer,0,sizeof(swapBuffer));
FD_ZERO(&fds_read);
FD_SET(s, &fds_read);
FD_SET(tunnelSock, &fds_read);
iSocketsSet = select(0, &fds_read, NULL, NULL, &tv);
if (pThis->m_bStopMainThread || iSocketsSet == SOCKET_ERROR )
Error();
if (iSocketsSet > 0)
{
if ( FD_ISSET(s, &fds_read) )
{
printf("Receiving data from source client\n");
iRecvResult = recv(s, swapBuffer, sizeof(swapBuffer), MSG_PEEK);
if (iRecvResult == 0)
Error();
else
{
iRecvResult = recv(s, swapBuffer, sizeof(swapBuffer), 0);
swapBuffer[iRecvResult]=0;
}
if (iRecvResult != SOCKET_ERROR && iRecvResult > 0 )
{
iSendResult = send(tunnelSock, swapBuffer, iRecvResult, 0);
}
else
Error();
}
if ( FD_ISSET(tunnelSock, &fds_read) )
{
printf("Receiving data from target server\n");
iRecvResult = recv(tunnelSock, swapBuffer, sizeof(swapBuffer), MSG_PEEK);
if (iRecvResult == 0)
Error();
else
{
iRecvResult = recv(tunnelSock, swapBuffer, sizeof(swapBuffer), 0);
swapBuffer[iRecvResult]=0;
}
if (iRecvResult != SOCKET_ERROR && iRecvResult > 0 )
{
iSendResult = send(s, swapBuffer, iRecvResult, 0);
}
else
Error();
}
}
}
</code>
Thanks for attention.
|
|
|
|
|
Hi Guys
Can anybody Explain What is Socket Notification Sink ?
With Rgds
Girish
Software Developer
|
|
|
|
|
Hi,
that is the dummy window created by MFC when working with CSocket or CAsyncSocket. This window is used to dispatch the events, like OnReceive, OnAccept and sorts ...
codito ergo sum
|
|
|
|
|
But Then Why it is showing me Terminating Window[Socket Sink Notification]
How can i Avoid that
Girish
Software Developer
|
|
|
|
|
Something blew up the internal messaging system.
This could hapen due to a few errors like:
- Multithreaded access to the same socket
- Blocking issues
- to many events on the message pump
the real issue here is that almost nobody (including me )
what the real problem is, so its hard to solve this error.
I had the same problem in my application, so i cleaned up
the code of the communication part in that way it only needs
to collect the data and not processing it. It resolved into a
stable part.
If you google for this you will see that many others experience
the same problem.
codito ergo sum
|
|
|
|
|
Thanks for ur Suggestion, hope so it will also solve mine problem
With rgds
Girish
Software Developer
|
|
|
|