当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 我需要实现这个功能。 ......
    摘要: odbc的用户dsn和系统dsn有什么不同?我更换用户名后发现我的用户dsn不见了,是否用系统dsn就可以不同用户共同使用?系统dsn和用户dsn在ado中的连接字有什么区别? ......


“error : Segment reference in fixup record hello.obj : ”是什么意思

我在windows下用masm6.11编译链接一个例子程序时,出现这样的错误提示,  
  :   error   :   Segment   reference   in   fixup   record   hello.obj   :    
      fatal   error   LNK1123:     failure     during   conversion   to   COFF:   file   invalid   or         corrupt  
  源程序:  
  _DATA   SEGMENT     WORD   PUBLIC   DATA    
  MESS     DB   HELLO!,   0DH,   0AH,   $  
  _DATA   ENDS  
   
  _CSEG   SEGMENT   WORD   PUBLIC       CODE  
                  ASSUME   cs:_CSEG,   ds:_DATA      
  _START:    
        mov   ax,   _DATA   ;   这里出错!!!!!  
        mov   ds,   ax  
                            ......  
  _CSEG   ends  
            end   _START    
  请问为什么“mov   ax,   _DATA”这句有错,   谢谢!  
   
 

NO.1   作者: awinder

你用的是masm32的link吧,别用那个,用masm6的

NO.2   作者: Toogo

你用的是16位代码  
   
  用MASM32当然不行拉  
   
 


    摘要: 我试过使用curses库 initscr(); cbreak(); noecho(); ... echo(); buf = "test 1\ntest 2\ntest 3\n"; write(stdout_fileno, buf, strlen(buf)); //显示语句 noecho(); ... endwin(); 但是显示的语句总会是这种形式 test 1 tes......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE