Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

ParagPatel

@ParagPatel
About
Posts
24
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to create a localised MFC resources DLL?
    P ParagPatel

    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

    C / C++ / MFC c++ help tutorial question

  • Multiple string table using Resource DLL
    P ParagPatel

    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

    C / C++ / MFC c++ question learning

  • Multiple string table using Resource DLL
    P ParagPatel

    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

    C / C++ / MFC c++ question learning

  • Multiple string table using Resource DLL
    P ParagPatel

    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

    C / C++ / MFC c++ question learning

  • Choosing an IPC mechanism
    P ParagPatel

    Socket communication may become good option for you

    Parag Patel Sr. Software Eng, Varaha Systems

    C / C++ / MFC c++ com data-structures tools tutorial

  • Problem with socket program in Client side
    P ParagPatel

    Reply[^]

    Parag Patel Sr. Software Eng, Varaha Systems

    C / C++ / MFC help sysadmin

  • Problem with Socket
    P ParagPatel

    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

    C / C++ / MFC c++ java sysadmin help question

  • How to check less then / greater then
    P ParagPatel

    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!");
    		}
    	}
    

    Reference[^]

    Parag Patel Sr. Software Eng, Varaha Systems

    The Weird and The Wonderful css com game-dev tools tutorial

  • Function Pointers in Classes
    P ParagPatel

    What is your requirement? Is it ok if you have static "display" function in class A?

    Parag Patel Sr. Software Eng, Varaha Systems

    C / C++ / MFC csharp c++ visual-studio help question

  • copying text from the webpages or pdfs which are selected by mouse
    P ParagPatel

    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

    C / C++ / MFC c++

  • Puzzle about c++ inherent
    P ParagPatel

    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

    C / C++ / MFC question c++ visual-studio

  • how to get the linux kernel version in cpp program
    P ParagPatel

    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

    C / C++ / MFC question c++ linux help tutorial

  • how to get the linux kernel version in cpp program
    P ParagPatel

    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

    C / C++ / MFC question c++ linux help tutorial

  • CListCtrl::OnTimer()
    P ParagPatel

    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

    C / C++ / MFC

  • Windows console application freeing up RAM memory
    P ParagPatel

    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

    C / C++ / MFC csharp visual-studio performance help question

  • Windows console application freeing up RAM memory
    P ParagPatel

    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

    C / C++ / MFC csharp visual-studio performance help question

  • Problem with Socket
    P ParagPatel

    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

    C / C++ / MFC c++ java sysadmin help question

  • Problem with Socket
    P ParagPatel

    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

    C / C++ / MFC c++ java sysadmin help question

  • How to Kill the Worker Thread ?
    P ParagPatel

    Thanks , Yes.. stopTH must be globle or thread function must use through passed class object.

    Parag Patel Sr. Software Eng, Varaha Systems

    C / C++ / MFC c++ ios tutorial question

  • What to do with this error message (embedded VC++ 4.0) ?
    P ParagPatel

    Have you installed SP3 for VC4.0, and which Pocket SDK you are using (is it 2003)?

    Parag Patel

    C / C++ / MFC csharp c++ hardware help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups