Board.KolibriOS.org

Official KolibriOS board
It is currently Thu Aug 22, 2019 8:01 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 1120 posts ]  Go to page Previous 169 70 71 72 7375 Next
Author Message
PostPosted: Sun Oct 11, 2015 2:51 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Thu Mar 26, 2015 5:16 pm
Posts: 1264
Колибри и так больше похожа на винду, чем на линукс. Второе условие нужно в любом случае, но за год — это как-то очень оптимистично. А вот третье условие чаще — запускать виндовые игры, хотя в линуксе эту проблему успешно решают.


Top
   
PostPosted: Sun Oct 11, 2015 9:34 pm 
Offline
User avatar

Joined: Thu May 30, 2013 2:35 am
Posts: 48
ruwebstyle wrote:
А можно насрать на все эти "пожелания" виндузятников...
Ясно)

_________________
Кристофер Робин сел в «Форд» и взмахнул кнутом…


Top
   
PostPosted: Wed Nov 04, 2015 10:34 pm 
Offline
User avatar

Joined: Thu Apr 30, 2015 11:50 pm
Posts: 102
По поводу похожести-непохожести никаких проблем не вижу. По моему мнению КОС гораздо понятнее Линукса.
Стоит штатно на основном компе. Не шкодит.
Меню загрузки: Win 7 Основная
Win xp Запасная
Kolibri Послушать музычку под картиночки.
А вот чтение имен разделов - ну очень полезная будет вещь, то, что под виндой диск D (Data) ,
под КОС hd?

_________________
Юзер, просто юзер...со времён MS-DOS.


Top
   
PostPosted: Tue Dec 15, 2015 10:34 pm 
Offline

Joined: Tue Jun 11, 2013 3:29 pm
Posts: 24
Anyone knows how to build a library .obj with Visual C ++. I can not find any example for that.


Top
   
PostPosted: Tue Dec 15, 2015 10:53 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
ddarias wrote:
Anyone knows how to build a library .obj with Visual C ++. I can not find any example for that.

Here is an example for GCC: viewtopic.php?f=24&t=2059&start=75#p60984

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
PostPosted: Tue Dec 15, 2015 11:52 pm 
Offline

Joined: Tue Jun 11, 2013 3:29 pm
Posts: 24
thanks hidnplayr, I will study that library. My only drawback with GCC is its awful inline assembler syntax


Top
   
PostPosted: Wed Dec 16, 2015 12:05 am 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
ddarias wrote:
thanks hidnplayr, I will study that library. My only drawback with GCC is its awful inline assembler syntax


If you are referring to the AT&T syntax, try using "-masm=intel" compiler switch to use intel syntax instead ;)

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
PostPosted: Thu Dec 17, 2015 9:16 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5054
Проблема. Есть цвет: dword color = 0xAABBCC; он раскладывается на byte r, g, b

Затем копируется в буфер последовательно.
Code:
DSBYTE[offs] = r; offs++;
DSBYTE[offs] = g; offs++;
DSBYTE[offs] = b;
Как мне переделать данный процесс на подвордовое копирование, вроде:
Code:
DSDWORD[offs] = color;
Код в последней строке работает некорректно, почему? Как мне его исправить?

_________________
Через тернии к звездам


Top
   
 Post subject:
PostPosted: Thu Dec 17, 2015 9:47 pm 
Offline

Joined: Thu Jan 26, 2006 8:47 pm
Posts: 284
Возможно так
Code:
DSDWORD[offs] = (DSDWORD[offs] & 0xFF000000) | color


Top
   
PostPosted: Fri Dec 18, 2015 2:09 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5054
Спасибо, помогло!

_________________
Через тернии к звездам


Top
   
PostPosted: Fri Dec 25, 2015 12:40 am 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5054
I have a problem I can't solve and it infere me to work on browser. Here is a imple program in C--
Could you please clarify me where is the problem?

Столкнулся с проблемой, которую не могу решить уже день.
Простая программа в аттаче. Падает.


Attachments:
example.7z [2.32 KiB]
Downloaded 143 times

_________________
Через тернии к звездам
Top
   
PostPosted: Fri Dec 25, 2015 4:49 pm 
Offline

Joined: Tue Oct 05, 2010 6:05 pm
Posts: 215
Протестировал на latest.img под QEMU 0.12 - явных взрывов, спцэффектов, падений не наблюдаю.


Top
   
PostPosted: Fri Dec 25, 2015 5:17 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5054
Запусти бинарник и посмотри доску отладки табу KERNEL.
Приложение падает.

_________________
Через тернии к звездам


Top
   
PostPosted: Fri Dec 25, 2015 6:13 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1248
Most likely a problem with nested libraries.
http.obj uses network.obj which uses libini.obj, because of this, it's likely that using http.obj and libini.obj from the same program gives problems.
I have seen problems with such structures in the past and I believe it to be a problem in the kernel/the way libraries are designed.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
PostPosted: Fri Dec 25, 2015 11:14 pm 
Offline
Designer
User avatar

Joined: Thu Jan 25, 2007 3:33 pm
Posts: 5054
We need to provide a fix.

Is it possible to unload library?

_________________
Через тернии к звездам


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1120 posts ]  Go to page Previous 169 70 71 72 7375 Next

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited