Formular una preguntaFormular una pregunta
 

PreguntaAccessibility & Handicap Project

  • domingo, 15 de marzo de 2009 21:53Kilhian Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    This project is not only important for me, but for each people wich can't use use a mouse.
    Among all free and non free software, it's maybe just one of the best, easier, smoother, ...
    Let me thank you, for your help, your time...

    Hi,

    I'm daily using this software  in order to manage my computer (moving the mouse with my head moves, I became disable due to a  desease).
    It works pzerfectly with XP PRO SP3, but not under vista.
    Now, my laptop  is close to death, I had to change it and so migrate to vista :(.
    Hopefully, this software is available here with GPL licence.
    Here is a copy of the source code of the project (400Ko).
    I 've downloaded it through CVS, but couldn't compile it :(
    Code has been post without any explications...
    I understood that it was developped with MFC AppWizard
    I'm not a dev, just a good script maker

    Apps installed:
    - Opencv
    - Directx sdk nov2008 and august 2007 ( for dxtrans.h)
    - VisualStudio Express 2008
    - Must compile:
      -  C:\Program Files\Microsoft SDKs\Windows\v6.1\Samples\Multimedia\DirectShow\BaseClasses\baseclasses.sln to get strmbase.lib
      -  C:\Program Files\Microsoft SDKs\Windows\v6.1\Samples\Multimedia\DirectShow\BaseClasses\streams.h
      -  C:\Program Files\Microsoft SDKs\Windows\v6.1\Samples\Multimedia\DirectShow\BaseClasses\Release\strmbase.lib

    Modifications:
    - m_bTracking = false; to m_bTracking = true; line73 from HeadmouseDoc.cpp

    Problem:

    for(list<string>::const_iterator i=m_windows.begin(); i!=m_windows.end() && !tobreak; ++i) // i est bien declaré ici   
     if(0==strcmp((*(i)).c_str(),title)) 
      tobreak=true
    if(tobreak || i==m_windows.end()) //ligne 46 var i not declare 


    In fact, i is declared in the loop for, and so theorically invisibleoutside of the loop , except with some compiler.

    list<string>::const_iterator i=m_windows.begin(); 
    for(; i!=m_windows.end() && !tobreak; ++i) 
     if(0==strcmp((*(i)).c_str(),title)) 
      tobreak=true
    if(tobreak || i==m_windows.end()) 

    Thanks olivthill for the answer :)

    Compilation ok
    I've copied files on my wife's computer (Vista), and then "application error, side by side configuration..."
    I've searched msdn and found this procédure
    but I can''t get step 5

    Sum up:
    source Code : ok
    Compilation : ok
    -- In the folder "headmouse/headmouse/release": 1 file .exe "headmouse.exe" , with .obj, .xdc, .pdb,idb, xml, pch files
    -- In the folder "headmouse/processlib/release": 1 process.lib and .obj files
    I launched a debug with "headmouse.exe" wich asks me to add missing DLLs (found them here: /program files/OpenCV/bin):
    - cv110.dll
    - cvxcore110.dll
    - highgui110.dll

    Then, as there was no crash, I've created a setup project while following the step by step guide
    Unfortunatly, it still doesn't work :(

    fed up, erase and restart:
    - recreation of the project.
    - add a setup project to the current project.
    - set project and dependancies.

    launch of setup.msi
    - ok
    - verification, all files are at the right place.
    launch the program on Vista 32 et 64.
    - erreur 0xc0150002
    installation of Microsoft Visual C++ 2008 Redistributable Package
    - erreur 0xc0150002
    installation of Microsoft Visual C++ 2005 Redistributable Package
    - erreur 0xc0150002
    If someone could test the project? compilation & package (400Ko)
    Tell me where I'm wrong...

    Thanks for your help..

    This project is not only important for me, but for each people wich can't use use a mouse.
    Among all free and non free software, it's maybe just one of the best, easier, smoother, ...
    Let me thank you, for your help, your time...


    sorry for my bad english

    Kilhian

Todas las respuestas

  • martes, 17 de marzo de 2009 1:43Vegan Fanatic Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Try changing the install order, VS 2005 redistributable, VS 2008 redistributable, your program.

    Might work better.

    IT/Developer, Windows/Linux/Whatever I need a new web server, the antique IBM 300GL has a 137GB disk limit, for my chess site. I wanted to post many more downloadable files, the existing 30GB disk is insufficient.
  • martes, 17 de marzo de 2009 21:04Kilhian Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Thanks,but i've already tried it .
    Any clue/hints ?

    Kihian
  • martes, 17 de marzo de 2009 21:27Vegan Fanatic Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    This suggests your registry might be corrupted. Search for a program called "beclean", its a free registry tool to clean up the mess in a registry.

    I have used it but do not use the shortcut checker as some links in the administrator tools will disappear.

    I am suprised WIndows has no untility to clean up the registry. So a 3rd party tool is needed.

    IT/Developer, Windows/Linux/Whatever I need a new web server, the antique IBM 300GL has a 137GB disk limit, for my chess site. I wanted to post many more downloadable files, the existing 30GB disk is insufficient.
  • viernes, 20 de marzo de 2009 9:21Nancy ShaoMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hi Kilhian,

    We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Thank you!


    Best Regards,
    Nancy


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • viernes, 20 de marzo de 2009 13:10Kilhian Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I've installed the program on vista fresh install to so registry couldn't be corrupted.
    I've posted the source code, all the things i did, step by step.
    I've posted all the necessary links.
    What more can I do?
    Can somebody try to compile & package it ?
    it works with VisualStudio environement, but not on a fresh install


    Kilhian


  • jueves, 09 de abril de 2009 11:11Kilhian Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    up :)
  • jueves, 02 de julio de 2009 23:27Kilhian Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    please
  • jueves, 02 de julio de 2009 23:40Vegan Fanatic Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I do not see anything more than a few snipped out lines. So is not possible to see what else is happening to cause the problem.
    Vote if helpful, I am running for Office (joke), also mark questions answered. IT/Developer, Windows/Linux/Whatever I need a new web server, the antique IBM 300GL has a 137GB disk limit, for my chess site. My server's disk finally croaked, I am out of work, I need to get a new server as the old IBM is past its prime.
  • sábado, 22 de agosto de 2009 23:55oco2 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hi Kilhian !

    Oh ! Given the date of your message, you still have the problem despite the discussion at http://fr.groups.yahoo.com/group/handicap_tic/message/2583 ?

    Have you try this zip package on a fresh Vista installation ? : http://olivier.coursiere.free.fr/download/headmouse.zip.

    Maybe the problem is in the setup.msi.

    Or some dll are missing, like the one for MFC (like mfc<version>.dll). Those dlls are required to run this program.