亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? vxw_pt5.html

?? vxworks 問題解答
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
Q: When I load a page from this server it takes a lot of time to load allthe items on this page. How can I increase the speed?<p>A: Use more than 1 HTTP deamon for multiple HTTP request.You were overloading your HTTP deamon before.<pre>#define HTTP_NR_OF_TASKS          1</pre>Change this macro in your httpconf.c file.<br>(From: Computer Engineer, engineer4computer@netscape.net)<p><hr WIDTH="50%"><a NAME="5.11-B"></a><p>Q: A page loads good with Netscape, but IE seems to hang on an applet. Whendownloading using a different server everything goes OK.<p>A: Actually it is the same solution as on the previous question.The problem is, that IE loads the applets with another socketconnection simultaneously to the rest of the page and since theWindWebServer is by default single tasked, it locks up. Setting<pre>#define HTTP_NR_OF_TASKS          2</pre>and the applets load on IE and NS as well.<br>(From: Andreas Vorgeitz, Andreas.Vorgeitz@de.bosch.com)<p><hr WIDTH="60%"><p><h3><a NAME="5.12"><center>5.12 Zinc/windML related items</center></a></h3><a NAME="5.12-A"></a>Q: How can I get the current cursor position?<p>A: The basic idea is to create input queues and attach them to the device.Then check the queue for a combination of conditions to see if  the mouse hasmoved.<ol><li>Create Input Driver for mouse using either:<ul><li>ugl8250MsMouseDevCreate - assuming you have a MS serial mouse., or</li><li>uglPs2MouseDevCreate.</li></ul>Here you will specify the queue and interrupt number related to the mouse andalso port address.</li><li>call uglInputQEventGet to check for any new events...this can be in a lowpriority task.The elements in the queue will be in a structure of type UGL_INPUT_EVENT. Youneed to extractthe x,y and 'id' from it.</li></ol>More details with examples are in the Zinc manual.<br>(From: Vijay Kumar Peshkar, vpeshkar@cisco.com)<p><hr WIDTH="50%"><a NAME="5.12-B"></a><p>Q: Are there any alternatives to Zinc?<p>A: There were several discussion a few months back about this. You couldtry "groups.google.com" to look for them.  Here are some links,<ul><li><A HREF="http://www.microwindows.org/">http://www.microwindows.org/</A></li><li><A HREF="http://www.panelsoft.com/uihwsw.htm">http://www.panelsoft.com/uihwsw.htm</A></li><li><A HREF="http://www.swellsoftware.com/index.shtml">http://www.swellsoftware.com/index.shtml</A></li></ul>If you want a small gui that works out of the box with vxWorks, thenyou can code with WindML itself.  This use to be called UGL.  It iscertainly capable of making a useful small screen GUI.  Many featuresof Zinc really aren't needed for many products IMHO.  Zinc is nice inallowing GUI development natively on a workstation or PC.<br>WindML is your best choice if you don't wish to port things.Microwindows might be a good choice if you have the time to portthings.<br>(From: Bill Pringlemeir, bpringlemeir@yahoo.com)<p><hr WIDTH="50%"><a NAME="5.12-C"></a><p>Q: How can I avoid that a combobox blocks input to a editbox?<p>A: If keyboardGrabId is NULL, then use the winRootGet() member to sendthe keys to.  While using Zinc 6.0, a combobox on the screen wouldcause edit boxes to stop receiving keyboard input.<br>Using the following patch will solve this.<br>In WindML 2.0 $(WIND_BASE)/src/ugl/win/winroute.c,<pre>[start patch]--- winroute2.c Wed Aug 15 14:16:12 2001+++ winroute.c  Wed Aug 15 14:15:51 2001@@ -137,6 +137,9 @@             {             UGL_WINDOW_ID keyboardGrabId = winKeyboardGrabGet (eventRouterId);+            if (keyboardGrabId == UGL_NULL_ID)+                keyboardGrabId = winRootGet (eventRouterId);+             if (keyboardGrabId != UGL_NULL_ID)                 {                 pInputEvent-&gt;header.objectId = keyboardGrabId;[end patch]</pre><br>(From: Bill Pringlemeir, bpringlemeir@yahoo.com)<p><hr WIDTH="50%"><a NAME="5.12-D"></a><p>Q: How can I save and restore the contents of the screen?<p>A: This works for me [change SCREEN_BASE define to match your video memory],<pre>#include &lt;VxWorks.h&gt;#include &lt;config.h&gt;#include &lt;stdlib.h&gt;#include &lt;stdio.h&gt;#include &lt;stddef.h&gt;#include &lt;string.h&gt;#define SCREEN_BASE 0xc0000000#define WIDTH 640#define HEIGHT 480void screenDump(unsigned char *name){    FILE *fp;    if(name == NULL || name[0] == 0)        name = "screen.out";    fp = fopen(name,"w+");    fwrite((char*)SCREEN_BASE, sizeof(char),WIDTH*HEIGHT*4,fp);    fclose(fp);}void screenPump(unsigned char *name){    FILE *fp;    if(name == NULL || name[0] == 0)        name = "screen.out";    fp = fopen(name,"r");    fread((char*)SCREEN_BASE, sizeof(char),WIDTH*HEIGHT*4,fp);    fclose(fp);}</pre>I call these from the shell.<br>(From: Bill Pringlemeir, bpringlemeir@yahoo.com)<p><hr WIDTH="50%"><a NAME="5.12-E"></a><p>Q: How can I use a telephone-like keypad to enter alphanumerics?<p>A: For the most part WRS/Zinc seem to assume an `embedded PC' with101 keyboard, mouse and VGA.<br>I had the same problem and concluded that the Zinc layer was the bestplace to do this.  I have some experience with hand helds, PDA andhave used different cell phones.  The best way is to enable the`key value' cycling when you are in the ZafFormatString class/guielement.  The format string specifies whether the keyboard entry isgoing to be numeric, alpha, alphanumeric, etc.  I have modified thefile "src/zinc/generic/i_fmtstr.cpp"; specifically the Event()functions (especially E_KEY case (i hope you guessed that)).<pre>    case E_KEY:    {        static const char special[30] =        {            '$', '%', '.', ',', '?', '!',              '+', '-', '*', '=', '^', '#', </pre>[snip, pressing zero several times allows punctuation.]<pre>        static const char decode[10][8] = {            {'0', ' ', '~'},            {'1', 'q', 'z', 'Q', 'Z'},            {'2', 'a', 'b', 'c', 'A', 'B', 'C'},</pre>[snip, describes cycling sequence]<pre>        // Search for legal characters.        ZafIChar tChar = event.key.value;        bool stepForward = true;           /* move cursor forward */        // If special key, overwrite previous value (space).        if('~' == lastKeyValue)        {            for(int i = 0; i < sizeof(special); i++)</pre>[snip]<pre>        // Check to see if we should not repeat a value.        if(tChar != lastKeyValue)        {            if(D_ON == zKeyTimer-&gt;Event(ZafEventStruct(D_STATE)))            {                zKeyTimer-&gt;Event(ZafEventStruct(D_OFF));                MoveCursor(L_RIGHT);</pre>[snip...<br>ok, this is somewhat ugly.  I did this under time pressure as always.Run through the `decode' array and look for two possible charactersfrom IsLegalChar() virtual (or callback) function.  If two are foundand then we cycle through the values.  Don't move the cursor forwardand set a timer to move the cursor when that happens...  ]<pre>        // Cycle through keys.        if(tChar &gt;= '0' &amp;&amp; tChar &lt;= '9')        {            const char *p = &amp;decode[tChar - '0'][0];            int i = curKeyIndex;            do            {                if(IsLegalChar(p[i], cursor))                {                    tChar = p[i];                    // multiple key values for this key?                    for(int j = i + 1; i != j; j = (j+1) %8)                    {                        if(IsLegalChar(p[j], cursor))                        {                            stepForward = false;                            curKeyIndex = j;                            lastCursor = cursor;                            break;                        }                    }                    break;                }                i = (i+1) % 8;            } while(i != curKeyIndex);        }        if(tChar == '~')        {</pre>[snip, if zero is pressed several times bring up the ZafStringEditorclass.  I have totatlly re-written this as well...]<pre>            ZafStringEditor *stringEditor = new ZafStringEditor;            stringEditor-&gt;SetRequestor(this);        }        else if (IsLegalChar(tChar, cursor))        {            ZafEventStruct tEvent = event;            tEvent.key.value = tChar;            ZafUpdateType updateType = stringData-&gt;Update();            stringData-&gt;SetUpdate(ZAF_UPDATE_NONE);            stringData-&gt;Replace(cursor, 1, &amp;tChar, 1);            stringData-&gt;SetUpdate(updateType);</pre>[only move forward if this is no possible cycling...]<pre>            if(stepForward)            {                MoveCursor(L_RIGHT);                // Reset cycle code.                 lastKeyValue = 0;                curKeyIndex = 0;            }            else            {                // Restart timer...                zKeyTimer-&gt;Event(ZafEventStruct(D_INITIALIZE));                zKeyTimer-&gt;Event(ZafEventStruct(D_ON));            }</pre>[...]<p>You must modify this for your application.  I suggest that you gettogether with someone who knows your market and customize the UI to best fityour customers needs.  This could be a key (*bad pun*) part of theproduct.  Depending on your market, you may need some characters like"accente` gui`" [excuse my French] or other odd characters.<br>One strength of Zinc is that you can over-ride the behaviour of aclass to fit your UI requirements; especially over plan vanillaWindML.  A weakness is the resource overhead.<br>(From: Bill Pringlemeir, bpringlemeir@yahoo.com)<p><hr WIDTH="50%"><a NAME="5.12-F"></a><p>OpenGL programs running under VxWorks<p>I've written a layer between UGL/WindML and Mesa so now one can runOpenGL applications on VxWorks 5.4/UGL 2.0.  This layer opens the doorsof the embedded systems space to 3D graphics.<br>I've been inspired by xmesa sources thus I've used a similar design I'vealso ported some demos to WindML from GLUT for testing.<br>Wind River Systems gave his consent to release my work under MIT License.Thus many students and companies will be able to use Mesa on VxWorks.<br>The code is available for download from:<A HREF="http://sourceforge.net/projects/mesa3d">http://sourceforge.net/projects/mesa3d</A><br>(From: Stephane Raimbault, stephane.raimbault@deesse.univ-lemans.fr)<p><hr WIDTH="60%"><p><h3><a NAME="5.13"><center>5.13 Other items</center></a></h3><a NAME="5.13-A"></a>Q: How can I decode the error numbers?<p>A: VxWorks errnos are divided into two parts.  The high 16 bits specify amodule number in which the error occurred, and the low 16 bits contain themodule-specific error code.<br>To identify the module, look in $WIND_BASE/target/h/vwModNum.h.  Thebeginning of the list looks like this:<pre>/* module numbers - DO NOT CHANGE NUMBERS! Add or delete only! */#define M_errno     (0 &lt;&lt; 16) /* THIS MUST BE ZERO! */#define M_kernel    (1 &lt;&lt; 16)#define M_taskLib   (3 &lt;&lt; 16)#define M_dbgLib    (4 &lt;&lt; 16)</pre>So for example if the errno is 0x320001, we look for module 50 (0x32 = 50)and find:<pre>#define M_hostLib  (50 &lt;&lt; 16)</pre>So the error occurred in hostLib.  The header file for hostLib is ofcourse hostLib.h, so we look there for the hostLib-specific error codes, andfind:<pre>/* status messages */#define S_hostLib_UNKNOWN_HOST   (M_hostLib | 1)</pre>So error code 0x320001 is an Unknown Host error from hostLib!<br>(From: Dave Korn)<p><hr WIDTH="50%"><a NAME="5.13-B"></a><p>Q: How can I have a task that causes an (bus)error to continue afterthis occurs?<p>A: Take a look at this demo-code: <a href="sigVecDemo.c">sigVecDemo.c</a>.<br>(From: Albert H Chen, albertchen@directvinternet.com)<p><hr WIDTH="50%"><a NAME="5.13-C"></a><p>Q: How can I use compression in my application?<p>A: You can use the inflateLib as it is provided with VxWorks. Anotherpossibility is to use zLib.  Get the source from<a href="http://www.gzip.org/zlib/">http://www.gzip.org/zlib/</a> or<a href="http://www.info-zip.org/pub/infozip/zlib/">http://www.info-zip.org/pub/infozip/zlib/</a>.It should compile easily for vxWorks.  This package is more flexibleas you can handle gzip files.<pre># makefile.CPU             = ?? Your CPU ??TOOL            = gnuEXTRA_DEFINE    = -WcommentMKDIR = mkdirTGT_DIR = $(WIND_BASE)/targetOBJS=   adler32.o compress.o crc32.o deflate.o gzio.o infblock.o infcodes.o \        inffast.o inflate.o inftrees.o infutil.o trees.o uncompr.o zutil.oall : ($OBJS)include $(TGT_DIR)/h/make/defs.bspinclude $(TGT_DIR)/h/make/make.$(CPU)$(TOOL)include $(TGT_DIR)/h/make/defs.$(WIND_HOST_TYPE)## Allow C++ sytle comments (tell Pre-processor).ADDED_CFLAGS += -Wp,-lang-cADDED_CFLAGS += -DVXWORKS=1ADDED_CFLAGS += -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduceADDED_CFLAGS += -DNO_DEFLATE=1</pre>The functions in gzio.o are nice.  I don't think you have to modify anyof the source.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图在线视频| 日韩精品一区二区三区在线观看 | 精品国产91久久久久久久妲己| 日韩欧美成人午夜| 国产欧美中文在线| 亚洲一区在线看| 久久超碰97中文字幕| 99视频有精品| 欧美日韩国产综合视频在线观看 | 国产乱码字幕精品高清av| 成人av资源在线| 欧美精品电影在线播放| 国产日本亚洲高清| 亚洲国产综合色| 精东粉嫩av免费一区二区三区| jlzzjlzz欧美大全| 欧美精品第1页| 国产精品久久国产精麻豆99网站| 爽好久久久欧美精品| 成人动漫av在线| 日韩一区二区在线免费观看| 国产精品美女久久久久久久网站| 亚洲va欧美va天堂v国产综合| 国产成人日日夜夜| 欧美精品视频www在线观看| 日本一二三不卡| 秋霞午夜av一区二区三区 | 亚洲一区在线观看视频| 国产精品538一区二区在线| 在线欧美日韩国产| 欧美激情一区二区三区四区| 免费观看在线综合| 一本色道久久综合精品竹菊| 久久精子c满五个校花| 亚洲va天堂va国产va久| 91丝袜美腿高跟国产极品老师| 欧美成va人片在线观看| 亚洲成人精品一区| 91免费版在线看| 国产亚洲va综合人人澡精品| 免费欧美日韩国产三级电影| 欧美性色aⅴ视频一区日韩精品| 国产精品国产自产拍高清av王其| 久久se这里有精品| 欧美一区午夜精品| 亚洲一区免费观看| 91在线观看下载| 国产片一区二区| 国产一区二区三区免费| 欧美一区二区久久| 亚洲午夜私人影院| 色香色香欲天天天影视综合网| 国产精品―色哟哟| 国产精品影音先锋| 精品欧美乱码久久久久久| 婷婷中文字幕一区三区| 91美女片黄在线| 国产精品久久久久影院老司| 国产成人av一区二区三区在线观看| 日韩精品一区二区在线| 视频在线观看一区| 欧美另类久久久品| 亚洲bt欧美bt精品| 欧美午夜不卡在线观看免费| 亚洲欧洲日韩综合一区二区| 成人精品国产福利| 国产精品嫩草影院com| 粉嫩久久99精品久久久久久夜| 久久久久久久久伊人| 国产在线一区二区| 久久久久久久电影| 懂色av中文一区二区三区| 久久女同互慰一区二区三区| 国产在线一区二区| 午夜视频在线观看一区二区三区 | 午夜电影一区二区三区| 欧美日韩在线三区| 午夜电影一区二区三区| 555夜色666亚洲国产免| 青青草一区二区三区| 日韩欧美国产麻豆| 国产一区二区调教| 中文字幕精品综合| 一本在线高清不卡dvd| 亚洲老妇xxxxxx| 欧洲色大大久久| 日韩av在线发布| 日韩免费高清视频| 国产剧情一区二区三区| 国产精品色呦呦| 色悠悠亚洲一区二区| 亚洲国产欧美在线人成| 555www色欧美视频| 国产老女人精品毛片久久| 国产精品视频一二三| 色香蕉久久蜜桃| 日韩成人精品视频| 2023国产精品| 色综合久久久久久久久| 污片在线观看一区二区| 2017欧美狠狠色| 一本一本大道香蕉久在线精品| 香蕉久久夜色精品国产使用方法 | 成人免费福利片| 一区二区三区中文字幕| 欧美精品久久99| 国产高清一区日本| 一区二区三区精品视频| 欧美一级二级在线观看| 成人国产亚洲欧美成人综合网| 亚洲一区二区精品久久av| 欧美电视剧免费观看| 成人深夜福利app| 亚洲国产精品视频| 久久综合九色综合久久久精品综合| 成熟亚洲日本毛茸茸凸凹| 亚洲愉拍自拍另类高清精品| 精品少妇一区二区| 91色porny蝌蚪| 蜜臀av性久久久久蜜臀aⅴ | 九色综合狠狠综合久久| 亚洲欧洲日韩av| 欧美一区二区三区在线视频| 国产精品一区二区黑丝| 亚洲妇熟xx妇色黄| 久久久久久久综合日本| 欧美色偷偷大香| 国产99久久久国产精品免费看| 亚洲国产视频网站| 日本一区二区三区电影| 欧美日本在线播放| www..com久久爱| 欧美一级国产精品| 91在线porny国产在线看| 老司机午夜精品| 一区二区成人在线| 久久精品在线免费观看| 555www色欧美视频| 色哟哟一区二区在线观看 | 久久免费精品国产久精品久久久久 | 日韩欧美电影一二三| 91欧美激情一区二区三区成人| 九九九久久久精品| 亚洲一区二区三区爽爽爽爽爽| 国产亚洲欧美一区在线观看| 欧美一区二视频| 91久久香蕉国产日韩欧美9色| 国产一二三精品| 首页国产欧美日韩丝袜| 夜夜嗨av一区二区三区四季av| 久久精品亚洲乱码伦伦中文| 欧美一卡2卡3卡4卡| 在线一区二区三区四区| 成人激情动漫在线观看| 精品亚洲免费视频| 青青青爽久久午夜综合久久午夜| 亚洲欧美日韩综合aⅴ视频| 国产日韩av一区| 久久久久99精品国产片| 日韩女优毛片在线| 欧美福利视频一区| 欧美又粗又大又爽| 91成人免费网站| 91免费观看视频| 91日韩精品一区| 成人精品一区二区三区四区 | 国产精品午夜电影| 久久中文字幕电影| 精品久久久久99| 日韩欧美国产午夜精品| 欧美一区二区三区的| 3atv一区二区三区| 在线播放国产精品二区一二区四区| 色综合久久综合网欧美综合网 | 亚洲激情六月丁香| 亚洲女性喷水在线观看一区| 中文在线免费一区三区高中清不卡| 久久久久久久久久久久久女国产乱| 日韩欧美在线网站| 日韩免费观看2025年上映的电影| 91精品久久久久久蜜臀| 欧美精品久久99久久在免费线 | 久草在线在线精品观看| 久久国产成人午夜av影院| 美日韩一区二区| 欧美日韩国产小视频在线观看| 91官网在线观看| 欧美午夜精品久久久久久超碰| 欧美色男人天堂| 在线观看91av| 91精品国产色综合久久不卡蜜臀 | 美女一区二区三区在线观看| 欧美aⅴ一区二区三区视频| 免费欧美在线视频| 国产真实精品久久二三区| 国产精品18久久久久久久久久久久 | 欧美在线观看禁18| 欧美精品丝袜中出| 精品毛片乱码1区2区3区| 久久久久久久综合狠狠综合|