Форум программистов «Весельчак У»
  *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

  • Рекомендуем проверить настройки временной зоны в вашем профиле (страница "Внешний вид форума", пункт "Часовой пояс:").
  • У нас больше нет рассылок. Если вам приходят письма от наших бывших рассылок mail.ru и subscribe.ru, то знайте, что это не мы рассылаем.
   Начало  
Наши сайты
Помощь Поиск Календарь Почта Войти Регистрация  
 
Страниц: [1]   Вниз
  Печать  
Автор Тема: DriverStudio 3.2 и VS2005  (Прочитано 13173 раз)
0 Пользователей и 1 Гость смотрят эту тему.
zss
Участник

ru
Offline Offline

« : 17-02-2007 14:22 » 

Поставил DDK, поставил DriverStudio.
В студии прописал пути к DDK

C:\WINDDK\inc\ddk\wxp
C:\WINDDK\lib\wxp\ia64

C помощью DriverWorkbench создал пустой проет. Пытаюсь скоприлячить

Код:
------ Build started: Project: xxx, Configuration: Checked Win32 ------
Compiling...
xxxDevice.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\basetsd.h(36) : warning C4005: 'POINTER_64' : macro redefinition
        C:\WINDDK\inc\ddk\wxp\ntdef.h(134) : see previous definition of 'POINTER_64'
C:\WINDDK\inc\ddk\wxp\ntdef.h(1097) : fatal error C1017: invalid integer constant expression
xxxDriver.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\basetsd.h(36) : warning C4005: 'POINTER_64' : macro redefinition
        C:\WINDDK\inc\ddk\wxp\ntdef.h(134) : see previous definition of 'POINTER_64'
C:\WINDDK\inc\ddk\wxp\ntdef.h(1097) : fatal error C1017: invalid integer constant expression
Generating Code...
Project : warning PRJ0018 : The following environment variables were not found:
$(TARGET_LIB_PATH)
$(CRT_INC_PATH)
$(TARGET_INC_PATH)
$(WDM_INC_PATH)
$(DDK_INC_PATH)
$(WINVER)
$(NTDDI_VERSION)
$(_WIN32_IE)
$(_WIN32_WINNT)
Build Time 0:00
Build log was saved at "file://c:\TEMP\xxx\driver\objchk\i386\BuildLog.htm"
xxx - 2 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Что еще нужно сделать ?
И еще - если активыирую SoftIce, то система не грузится вообще. Есть подозрение, что проблемма с видеодрайвером
З.Ы. Windows XP SP2, DDK XP, VS2005, DriverStudio 3.2, процессор AMD64
« Последнее редактирование: 08-12-2007 13:58 от Алексей1153++ » Записан
zloi7777
Постоялец

ru
Offline Offline

« Ответ #1 : 17-02-2007 17:01 » 

Надо патч к driverstudio ставить, всять его можно на официальном сайте, покрайней мере, я от туда брал.
Патч состоит из двух dll, которые переписываются в каталог driverstudio и регистрируются. После чего - все пашет!
Записан
zss
Участник

ru
Offline Offline

« Ответ #2 : 17-02-2007 19:57 » 

А ссылочку можно ?
Записан
zloi7777
Постоялец

ru
Offline Offline

« Ответ #3 : 17-02-2007 20:40 » 

Цитата
Compuware DriverStudio – DriverSuite
Version 3.2

Version 3.2 VisualStudio 2005 Integration fix.
The purpose of this update is to allow DriverStudio – DriverSuite to integrate into the VisualStudio 2005 environment

After extracting the files the result should have been two files and this read me. To install perform the steps below.

·         Close all development environment windows.

·         Copy the file DSDDKEnv8.dll into the <INSTALL_DIR>\DriverStudio\Common\Bin directory. Select "yes" if prompted to copy over an existing one.

·         Copy the file DSDDKEnv8UI.dll into the <INSTALL_DIR>\DriverStudio\Common\Bin\1033 directory. Select "yes" if prompted to copy over an existing one.

·         Then unregister the older version. Go to start->run and type "regsvr32 -u "<INSTALL_DIR>\DriverStudio\Common\Bin\dsddkenv8.dll"

·         Then register the new copy. Go to start->run and type "regsvr32 "<INSTALL_DIR>\DriverStudio\Common\Bin\dsddkenv8.dll"

Contacting Technical Support
For Non-Technical Issues
Customer Service is available to answer any questions you might have regarding upgrades, serial numbers and other order fulfillment needs. Customer Service is available from 8:30am to 5:30pm EST, Monday through Friday. Call:

·         In the U.S. and Canada: 1-888-283-9896

·         International: +1-603-578-8103

For Technical Issues
Technical Support can assist you with all your technical problems, from installation to troubleshooting. Before contacting Technical Support, please read the relevant sections of the product documentation and the Readme files.

You can contact Technical Support by:

·         E-Mail:  Include your serial number and send as many details as possible to:

nashua.support@compuware.com

·         World Wide Web:  Submit issues and access additional support services at:

http://frontline.compuware.com/nashua/

·         Fax:  Include your serial number and send as many details as possible to:

1-603-578-8401

·         Telephone:  Telephone support is available as a paid* Priority Support Service from 8:30am to 5:30pm EST, Monday through Friday. Have product version and serial number ready.

·In the U.S. and Canada, call: 1-888-686-3427

·International customers, call: +1-603-578-8100

*Installation Issues:  Technical Support handles installation and setup issues free of charge.

When contacting Technical Support, please have the following information available:

·         Product/service pack name and version.

·         Product serial number.

·         Your system configuration: operating system, network configuration, amount of RAM, environment variables, and paths.

·         The details of the problem: settings, error messages, stack dumps, and the contents of any diagnostic windows.

·         The details of how to reproduce the problem (if the problem is repeatable).

·         The name and version of your compiler and linker and the options that you used in compiling and linking.

 

Copyright 2005  Compuware Corporation
это описание.
а ссылку непомню давно это было.. А черт его знает...
Записан
zss
Участник

ru
Offline Offline

« Ответ #4 : 18-02-2007 08:47 » 

скачал, зарегистрировал. В меню Tools->DriverStudio появились новые пункты (в том числе и Build).

Так вот если компилить родным компилятором, то ничего не получается, а вот если Build.exe то вроде все
собралось (правда так и не нашел куда он дровину положил Улыбаюсь)

Это так всегда ? просто на 6 студии компиляторы были совместимы и можно было студийным собирать проекты

З.Ы. Заметил еще одну странность. Если собирвто весь Solution, то все нормально но на выходе только exe.
А вод если пытась собрать только проект драйвера, то
Код:
C:\TEMP\xxx\Driver>call C:\WINDDK\bin\setenv.bat C:\WINDDK chk  

C:\TEMP\xxx\driver>build.exe -ceZ
BUILD: Object root set to: ==> objchk
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Examining c:\temp\xxx\driver directory for files to compile.
    c:\temp\xxx\driver
BUILD: Compiling c:\temp\xxx\driver directory
Compiling - xxx.rc for i386
Compiling - xxxdriver.cpp for i386
Compiling - xxxdevice.cpp for i386
BUILD: Linking c:\temp\xxx\driver directory
NMAKE :  U1073: don't know how to make 'C:\WINDDK\lib\wxp\i386\ntstrsafe.lib'
BUILD: nmake.exe failed - rc = 2
BUILD: Done

    5 files compiled - 1 Error
« Последнее редактирование: 08-12-2007 13:59 от Алексей1153++ » Записан
Ochkarik
Модератор

ru
Offline Offline
Пол: Мужской

« Ответ #5 : 18-03-2007 09:11 » 

иех...
про nmake.exe не подскажу, но могу сказать что давно давно выкладывал настройка проекта студии VS98 для компиляции драйверов.
далее... у меня VS2003 стоит и прекрасно собирает драйвера, с теми настройками(с мелкими модификациями). поэтому сроду родной build не использовал.
насчет ошибок...
поиграйтесь ключиками компилятора. поищите саму ntstrsafe.lib - помоему эта либа за эксцепшены отвечала...


PS да, у меня софтайс на машине с PCI-express видеокартой от NVidia так и не заработал, как я не *****... то есть работать работает, но при переключении в него - экран гаснет. победить не смог.
« Последнее редактирование: 18-03-2007 09:18 от Ochkarik » Записан

RTFM уже хоть раз наконец!  RTFM :[ ну или хотя бы STFW...
Kife
Помогающий

by
Offline Offline

« Ответ #6 : 04-04-2007 05:40 » 

А можно все-таки ссылочку? не найду я чтото этого патчика Жаль
Записан

_______
Да поможет нам F1,  и да сохранит нас F2 ...
Страниц: [1]   Вверх
  Печать  
 

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines