Вінницький форум  

Повернутись   Вінницький форум > Міський форум > Технічний форум

View Poll Results: На чем вы пишете свои программы?
Delfi 42 21.76%
Pascal 63 32.64%
C, C++ 87 45.08%
Java 40 20.73%
PHP 31 16.06%
Perl 13 6.74%
VBasic 21 10.88%
ZedFret 5 2.59%
На английском 43 22.28%
Какие программы? 48 24.87%
Multiple Choice Poll. Ті, хто голосували: 193. You may not vote on this poll

Відповідь
 
Опції теми Опції перегляду
Старий 10-02-2007, 16:25   #121
*Barthez
Читатель
 
*Barthez's Avatar
 
Реєстрація: Nov 2005
Адреса: Варшава
Повідомлення: 130
Send a message via ICQ to *Barthez
За замовчуванням

Цитата:
Повідомлення від Судья Ди
отпрофилируй. я не могу -
а... , это ошибка из-за того что у вас не стоит DirectX 9 и выше.
Он есть на любом игровом диске последних годов
__________________
*Barthez не на форумі   Reply With Quote
Старий 10-02-2007, 19:40   #122
Судья Ди
Гигант мысли
 
Судья Ди's Avatar
 
Реєстрація: Dec 2006
Адреса: Порубежье
Повідомлення: 1,052
За замовчуванням

Цитата:
Повідомлення від *Barthez
не стоит DirectX 9 и выше
dx9 есть. может, это dll'а из sdk?

в любом случае, попробуй отпрофилировать (например, vtune'ом от intel - он позволяет искать "горячие точки" с точностью до строки исходника и даже до команды).
Судья Ди не на форумі   Reply With Quote
Старий 10-02-2007, 21:26   #123
*Barthez
Читатель
 
*Barthez's Avatar
 
Реєстрація: Nov 2005
Адреса: Варшава
Повідомлення: 130
Send a message via ICQ to *Barthez
За замовчуванням

Цитата:
Повідомлення від Судья Ди
dx9 есть. может, это dll'а из sdk?

в любом случае, попробуй отпрофилировать (например, vtune'ом от intel - он позволяет искать "горячие точки" с точностью до строки исходника и даже до команды).
Таки с SDK
Ясно... придётся подождать пополнения счёта, скачаю по-пожже.
Дело обстоит так: в файле d3dx9_28.dll есть процедура под названием D3DXLoadMeshFromXA, которой почему то нету в основной библиотеке directX'a d3d9.dll....
ЗЫ А можно каким нибудь образом "вытащить" эту процедуру из dll'ки?
ЗЗЫ У вас случайно нету билиотеки с именем d3dx9_XX.dll, где ХХ цифры от 24 до 30, в них есть эта процедура. Если переиминовать dll'ку можно запустить прогу
__________________
*Barthez не на форумі   Reply With Quote
Старий 11-02-2007, 01:52   #124
Судья Ди
Гигант мысли
 
Судья Ди's Avatar
 
Реєстрація: Dec 2006
Адреса: Порубежье
Повідомлення: 1,052
За замовчуванням

Цитата:
Повідомлення від *Barthez
Если переиминовать dll'ку можно запустить прогу
влом. её ж не просто запустить надо, а под отладчиком. потом под профилёром. это весь sdk искать/тянуть. да и некуда - у меня сейчас как раз весь винт засран.
Судья Ди не на форумі   Reply With Quote
Старий 14-02-2007, 11:24   #125
*Barthez
Читатель
 
*Barthez's Avatar
 
Реєстрація: Nov 2005
Адреса: Варшава
Повідомлення: 130
Send a message via ICQ to *Barthez
За замовчуванням

Что это за ошибка?
ЗЫ Microsoft Visual Studio 2005:
Код:
------ Build started: Project: sh1, Configuration: Debug Win32 ------
 Compiling...
 d3dUtility.cpp
 e:\slavik\myproject\shaders\chapter 16\transform\d3dutility.cpp(41) : error C2440: '=' : cannot convert from 'const char [13]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\d3dutility.cpp(45) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [25]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\d3dutility.cpp(53) : error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [13]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\d3dutility.cpp(57) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [24]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\d3dutility.cpp(77) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [27]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\d3dutility.cpp(136) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [24]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\d3dutility.cpp(170) : warning C4244: 'return' : conversion from 'WPARAM' to 'int', possible loss of data
 e:\slavik\myproject\shaders\chapter 16\transform\d3dutility.cpp(316) : error C2664: 'D3DXCreateTextureFromFileW' : cannot convert parameter 2 from 'const char [11]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 transform.cpp
 e:\slavik\myproject\shaders\chapter 16\transform\transform.cpp(65) : error C2664: 'D3DXCompileShaderFromFileW' : cannot convert parameter 1 from 'const char [14]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\transform.cpp(70) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\transform.cpp(76) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [36]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\transform.cpp(86) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [28]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\transform.cpp(213) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [19]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 e:\slavik\myproject\shaders\chapter 16\transform\transform.cpp(219) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [17]' to 'LPCWSTR'
 		Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
 Generating Code...
 Build log was saved at "file://e:\Slavik\MyProJecT\sh1\sh1\Debug\BuildLog.htm"
 sh1 - 13 error(s), 1 warning(s)
 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
__________________
*Barthez не на форумі   Reply With Quote
Старий 14-02-2007, 11:40   #126
Судья Ди
Гигант мысли
 
Судья Ди's Avatar
 
Реєстрація: Dec 2006
Адреса: Порубежье
Повідомлення: 1,052
За замовчуванням

Цитата:
Повідомлення від *Barthez
Что это за ошибка?
перепутал char с unicode'ным wchar_t'ом.
Судья Ди не на форумі   Reply With Quote
Старий 14-02-2007, 23:31   #127
*Barthez
Читатель
 
*Barthez's Avatar
 
Реєстрація: Nov 2005
Адреса: Варшава
Повідомлення: 130
Send a message via ICQ to *Barthez
За замовчуванням вопрос по базам данных

Столкнулся с такой проблеммой:
Писал прогу на Delphi и использовал в ней Microsoft Jet 4.0 OLE DB Provider, написал в microsoft Access'e базу данных, подконнектил, всё ок. Принёс её в универ а там выбивает ошибку, что-то вроде: "network service не работает". Странно потому что, там стоит Microsoft Office 2003, как и у меня дома.
Какой тип БД лучше всего использовать чтобы не было таких проблем
__________________
*Barthez не на форумі   Reply With Quote
Старий 15-02-2007, 19:15   #128
romantik_evgen
Юзер
 
Реєстрація: Feb 2007
Повідомлення: 9
За замовчуванням InstallShield

народ кто что знает про эту прогу для создания инсталяций?
интересует версии 11,5 и 12 (премьер едитион от макровизион)- возможно более ранние - просьба написать или здесь или в теме про эту прогу.
romantik_evgen не на форумі   Reply With Quote
Старий 26-02-2007, 20:19   #129
Cronus
Гигант мысли
 
Cronus's Avatar
 
Реєстрація: Nov 2004
Адреса: Sol Sanctrum
Повідомлення: 971
Send a message via ICQ to Cronus Send a message via Skype™ to Cronus
За замовчуванням

Программеры, как грится, need help.
Я сейчас учу MFC на курсах ООО "ИнноВинн". Возникла вот такая маленькая проблемка:
Создаю обыкновенный MFC-проект, основанный на Dialog Window. В программе надо вычислять корни квадратного уравнения. При подключении в программу math.h невозможно использовать ни функцию sqrt(), ни любую другую ее разновидность, в частности, sqrtf(). Выдает ошибку: "error C3861: 'sqrt': identifier not found", хотя math.h подключен. Пытался обьявлять подключение этой ф-ции как #include <cmath> - результат тот же.
Если кто-то может мне помочь - прошу отписаться.
__________________
WPF Manga Reader
Papercrafting eternally
Cronus не на форумі   Reply With Quote
Старий 26-02-2007, 20:38   #130
Cronus
Гигант мысли
 
Cronus's Avatar
 
Реєстрація: Nov 2004
Адреса: Sol Sanctrum
Повідомлення: 971
Send a message via ICQ to Cronus Send a message via Skype™ to Cronus
За замовчуванням

Цитата:
Повідомлення від Cronus
Возникла вот такая маленькая проблемка:
Даа уж... Ларчик просто открывался: оказалось, либы типа math.h, stdio.h надо подключать ПОСЛЕ остальных подключения файлов проекта (*.h, stdafx.h/cpp), а не ДО. Ошибка заключалась в неправильном порядке подключения.
"...маздай однобитный..." (с) Kvazis
__________________
WPF Manga Reader
Papercrafting eternally
Cronus не на форумі   Reply With Quote
Відповідь


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Вкл.
Smilies are Вкл.
[IMG] code is Вкл.
HTML code is Викл.

Швидкий перехід


Поточний час: 01:50. Часовий пояс GMT +3.


Copyright ©2000 - 2024