Hi, I am going through same issue. I have used /noentry link option but still issue is there. Platform: eVC++ 4.2 SDK: pocket pc 2003 Any idea? Thanks in advance
Parag Patel Sr. Software Eng, Varaha Systems
Hi, I am going through same issue. I have used /noentry link option but still issue is there. Platform: eVC++ 4.2 SDK: pocket pc 2003 Any idea? Thanks in advance
Parag Patel Sr. Software Eng, Varaha Systems
Yes same I want to do, MFC provide API to load resource "SetResourceInstance", but I am confuge here that how can i set tow resource instance. one for default resource instance (Dialog, Image etc) and second for string table? Thanks
Parag Patel Sr. Software Eng, Varaha Systems
Thanks Richard, But I want to in a way so I no need to do any compilation and code change to support new language. Thats way i was preferring separate resource DLL. What is your view/solution?
Parag Patel Sr. Software Eng, Varaha Systems
Hello, I am developing multilingual MFC application. My application has very heavy GUI, and I want to create resource DLL for each language, which my application load at run time when needed. So I want to make resource DLL for application per language which just contain "string table" nothing else, and remaining resource should use from application default resource. Basic requirement: 1) Don't want to redundant Image, Dialog and Menus in each resource DLL. Can anyone suggest way for same?
Parag Patel Sr. Software Eng, Varaha Systems
Socket communication may become good option for you
Parag Patel Sr. Software Eng, Varaha Systems
Hey man, code is working, i have tested it. I think something else in your application which is causing issue. Just cross check below basic things 1. Message box not going background, and thats why you are feeling that program is stuck. 2. You have given right IP at client side.
Parag Patel Sr. Software Eng, Varaha Systems
if(guess == random)
{
printf("\nExcellent! You guessed the number!\nWould you like to play again?(y/n)");
scanf("%c",&play);
if(play == 'n')
{
game = 0;
}
}
else
{
if(guess < random && guess != random)
{
printf("\\nToo low, try again!");
}
if(guess > random && guess != random)
{
printf("\\nToo high, try again!");
}
}
Parag Patel Sr. Software Eng, Varaha Systems
What is your requirement? Is it ok if you have static "display" function in class A?
Parag Patel Sr. Software Eng, Varaha Systems
I am not 100% sure, but you can go in below way. 1) Register your hotkey (RegisterHotKey). 2) When hotkey pressed. a. get focused or current window handle using "WindowFromPoint" API b. send below message to window using handle to get text. WM_GETTEXT or EM_GETSELTEXT or EM_GETSEL
Parag Patel Sr. Software Eng, Varaha Systems
Hi,
sharion wrote:
If doesn't find, then enter base class---Super class to find it. above explanation is correct?
- Here you are littlebit right, but virtual keyword doing magic here,
sharion wrote:
when the compiler runs ref.someMethod();
Basically there is two type of binding 1. Run-time binding (or late binding) - if same function define in parent class with same signature and it virtual, then compiler ignore it for run-time, and run time function will be called using VPTR and VPTABLE. 2. Compile-time binding (or erly binding) - if above is not a case then compiler resolve binding at compile time only.
Parag Patel Sr. Software Eng, Varaha Systems
Try below code,
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,0)
//include for version 2.4 or lower
#else
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
//include for version 2.6 or higer
#endif // 2.4
#endif //2.6
Parag Patel Sr. Software Eng, Varaha Systems
Best way it to first include keranal version.h file in your project (ex:"/usr/include/linux/version.h"), and then put below checks in your code.
#if RHEL_MAJOR == 5
#include "xyx_5.h"
#else
#include "xyx.h"
#endif
Parag Patel Sr. Software Eng, Varaha Systems
Don't called default OnTimer of CListCtrl, for your timer ID. void ListCtrlEx::OnTimer( UINT nIDEvent_i ) { if( 100 == nIDEvent_i ) { // Do some thing } else { CListCtrl::OnTimer( nIDEvent_i ); } }
Parag Patel Sr. Software Eng, Varaha Systems
Hi Hamid, I don't know that much about c# but how language does matter when your application kiled?
Parag Patel Sr. Software Eng, Varaha Systems
According my knowledge, windows os will do remaining job mean os will free all memory which allocated by process when process got exited.
Parag Patel Sr. Software Eng, Varaha Systems
After running your application at both side (server/client) check that your application able to bind on that port or not? You can use "netstat" command in window.
Parag Patel Sr. Software Eng, Varaha Systems
Yes, it is platform independent, but you need to take care below points when going across different platform (in terms of processer) 1) Before send data, convert your data in to network type. (ex. using "htonl" function.) 2) if you passing whole structure as a binary data then need to take care about padding. (use __attribute__((__packed__)))
Parag Patel Sr. Software Eng, Varaha Systems
Thanks , Yes.. stopTH must be globle or thread function must use through passed class object.
Parag Patel Sr. Software Eng, Varaha Systems
Have you installed SP3 for VC4.0, and which Pocket SDK you are using (is it 2003)?
Parag Patel