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
S

sanket patel

@sanket patel
About
Posts
15
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is possible to allocate strictly physical mem.(RAM) instead of virtual (page file)
    S sanket patel

    Hello! seach for the concepts like RamFS, RAM disk.... http://www.superspeed.com/desktop/ramdisk.php

    sanket patel

    C / C++ / MFC

  • installing a program i've made
    S sanket patel

    Look at QSetup Installation Suit

    sanket patel

    C / C++ / MFC question help

  • Is this a Bug or What?
    S sanket patel

    Thank you very much! yeah I know about getters and setters and I know I choose the worst! but the the question is about that only.. i.e. the unusual ways to access the private data. Thanks,

    sanket

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

  • Is this a Bug or What?
    S sanket patel

    Actually !! I was asked to find the ways to access private members outside the class? so one method is using friends.... and i thought of this as the other way... Thanks,

    sanket

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

  • Is this a Bug or What?
    S sanket patel

    Thanks!! but dont you think this should not be allowed??

    sanket

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

  • Is this a Bug or What?
    S sanket patel

    Hello All !! I am using visual studio 6.0 I tried to access the private class member outside the class using #define macro. here is the code. I was able to access private member outside the class? why did this work? This should be allowed or not?

    #define private public
    
    class A
    {
    
    private:
    	int i;
    
    public:
    	A()
    	{
    		i = 44;
    	}
    
    };
    
    int main()
    {
    	A obA;
    	cout<<"\ni = "<
    

    sanket

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

  • what is wrong with this code?
    S sanket patel

    Thanks NealAB, Yeah I got your point! I think that is only happening. I was trying to use A's method before it was created. Thanks again...

    sanket patel

    C / C++ / MFC question

  • what is wrong with this code?
    S sanket patel

    Thank you David!! the code you show is working fine! so can you please explain me where I was wrong ?

    sanket patel

    C / C++ / MFC question

  • what is wrong with this code?
    S sanket patel

    I am sorry again!! But I dont know why this code is not executing. I know there is some problem with my understanding of the code. so I just want to know that Where I am wrong? Thank you

    sanket patel

    C / C++ / MFC question

  • what is wrong with this code?
    S sanket patel

    oh I am sorry! whenever I try to run this code my program crashes. I dont know what is wrong with it?

    sanket patel

    C / C++ / MFC question

  • what is wrong with this code?
    S sanket patel

    Hello All ? can anyone please tell me what's wrong with following code?

    class A
    {
    public:
    	A(const string& s)
    	{ /* */}
    
    	string f()
    	{
    		return "hello world";
    	}
    
    };
    
    Class B : public A
    {
    private:
    string s;
    public:
    
    	B():A(s=f())
    	{ }
    
    
    };
    
    void main()
    {
    B obB;
    }
    

    Thank you,

    sanket patel

    C / C++ / MFC question

  • coding a ActiveX control
    S sanket patel

    hi you can build ActiveX control with MFC ActiveX control wizard.so it is not a big deal. main thing is to show it in browser. for that you have to sign your activeX control.other wise it wont be shown due to default security settings of the browser wont let it(unsigned ActiveX control) execute. to sign your control for testing purpose you can use codesigning SDK. sanket patel

    C / C++ / MFC c++ com json question

  • How do I close another program from my program
    S sanket patel

    you can try following CWnd *cwnd = FindWindow(NULL,"WINDOW_TO_FIND"); cwnd->PostMessage(WM_CLOSE,0,0); sanket patel

    C / C++ / MFC help question

  • Invokin anothr process from my app
    S sanket patel

    hi you can use create process as follows. suppose app u want to run is saved on c: and its name is app.exe then u can try this STARTUPINFO si={0}; PROCESS_INFORMATION pi={0}; if(!CreateProcess(NULL,"c:\\app.exe",NULL,NULL,FALSE,CREATE_NEW_CONSOLE,NULL, NULL,&si,&pi)) { printf("\nError in creating the process"); } else printf("\nBe happy"); sanket patel

    C / C++ / MFC hardware help

  • Supressing MS Automatic Error
    S sanket patel

    hi you can do as follows. Right click on MyComputer. then select Properties. then select Advance tab. then click on Error Reporting. select Disable Error Reporting. that is all. sanket patel

    C / C++ / MFC help tutorial
  • Login

  • Don't have an account? Register

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