a lock system problem

Hi,

I'm working on a program using a .ocx control purchased recently (whose function is calendar and calculator). However, whenever I lock the system by pressing Ctrl+Alt+Del or the screen saver with password is about to run, my program crashes. I know it's due to that control, so I asked the company for the source code. But it is too complicated to make myself clear on those codes in a short time. If sb. has the experiences of dealing with such problem, pls do me a favour,just show me where should be focused on.

Thank you very mcuh.



Answer this question

a lock system problem

  • ZMAN!!

    If you have the source code create a debug build. Launch the sample program that causes the crash. Launch the Visualstudio, attach the studio debugger to the process. Lock the application and produce the crash. Unlock the station and look into the debugger. It will show you the crash position.

  • sunil2205

    AFAIK the vcw is just a Visual C++ Workbench Information File I have noe experience with eVC++.

    I don't agree that this special problem of workstation locking has to do with the environment you are creating the software.

    Again: Transfering a project from eVC++ to VS2005 is not as easy as it sounds: like open the project and recompile!
    If you want to fix just this bug. Stay at the platform and fix it. Don't think with a new environment a bug will disappear. To be honest: I never saw a bug in my projects that was fixed by switching to a different development environment.



  • Justin Robinson

    The details you want is far beyond the scope of this forum.

    If VS2005 shows a message that the dsp is corrupe, it seams that it is corrupt.

    Also if the project was never designed for 2005 and the filenames show me that. You should build it with the original VS. dsp and dsw files were only part of VS6. VS200x don't use this extension. They onloy can import the projects.

    But again: There are so many changes that you will fail to convert the project into VS2005 without detailed knowladge!

    Use VC6. Find a erson who has the knowladge!



  • Zwigby

    Thank you. I appreciate your suggestion. However, when I tried to go through and compile the codes, lots of errors occurred. I have little experiences of dealing with activeX control, so I listed the structure of the source codes' documents below, would you pls tell me how to set into action

    DataMask

    /gtdate
    gtdate.vcw
    ……
    /gtnum/
    gtnum.vcw
    ……
    /gtmask
    gtmask.vcw
    /gtlib

    datamask.dsw
    ……

    this program produces three controls, gtdate.ocw, gtnum.ocw, dtmask.ocw, datamask.dsw is in the root dictionary, I thought it should be the main workspace file, but after running it with Visual Studio.2005, the program displayed an error message: gtdate2.dsp has been corrupted, yet I failed to find this file. This problem stumbled me at the threshold. Would you mind giving me some hints on this

    Thank you very much.



  • Lzitro

    Nice to have known you. I appreciate your suggestion to my question on the MSDN forum. Someone told me that the VCW file is from embedded VC++, which is mainly used on PPC. So the problem may be caused by the crash of the operation platform. They also suggested me to rebuild it by VS2005. Would you pls tell me whether it is true Would you mind giving me some hints on the VCW file

  • bneat

    Thank you very much. I appreciate your suggestion.


  • a lock system problem