同样的代码,使用SpeechSynthesizer报读,在win7报读的是中文,在xp变成了英文,怎么回事 [问题点数:20分,结帖人zhulinpptor]

Bbs1
本版专家分:30
结帖率 96.43%
Bbs8
本版专家分:41658
Blank
黄花 2015年4月 .NET技术大版内专家分月排行榜第二
Blank
蓝花 2015年3月 .NET技术大版内专家分月排行榜第三
2015年2月 .NET技术大版内专家分月排行榜第三
Bbs6
本版专家分:6386
Bbs1
本版专家分:30
Bbs6
本版专家分:8760
科大讯飞语音集成,非常详细的使用讲解
讯飞语音开发集成地址http://www.xfyun.cn/ 解压后的doc文件夹下的msc develop 文件中有详细集成步骤 AppId: 1.先要注册开发者账户, 添加我的应用 , 下载sdk 2.下载后将sdk解压, 把案例导入工程中运行看看效果 3.将libs下的两个jar包添加到libs目录下, 将同路径下的其它 .so文件(与c进行交互)复制到ma
呼号报读 自动报读呼号
字母解释法 语音通信中,报呼号等重要资料时,可能回因为语音传播效果不 佳而使收听者误解.一般应<em>使用</em>标准解释法,但实际上国外很多 HAM都<em>使用</em>自己的解释法,和他们QSO时,可要直着耳朵仔细了!
c#语音报读
最近在写程序的时候用到了语音报读的模块,在c++中<em>使用</em>TTS可以实现,但是有点麻烦,在<em>使用</em>c#时,发现直接添加引用就可以了。 1.添加引用,如下图所示: 2.在程序中添加 引用: 3.在窗体初始化的同时,另开一个线程异步报读文本: using System; using System.Collections.Generic; usin
语音报读.e
语音报读.e
语音报读
语音报读.e
成了英文的"·”">中文的"·"变成了英文的"·”
为什么?rn
POI读EXCEL报java.lang.NullPointerException
public ArrayList FormExcel(String fileToBeRead) rn ArrayList list = new ArrayList();rnrn try rnrn HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(rn fileToBeRead));rnrn HSSFSheet sheet = workbook.getSheetAt(0);rn // 获得SHEET表的行数rn int num = sheet.getLastRowNum();rn System.out.println(num);rn System.out.println(sheet.getLastRowNum());rn System.out.println(sheet.getFirstRowNum());rn // Date类型数据转换为Stringrn SimpleDateFormat formatDate = new SimpleDateFormat("yyyy-MM-dd");rn for (int i = 1; i + e);rn // 读取EXCEL数据出异常就设置LIST为NULLrn list = null;rn rn return list;rn rnrnrn上面是我写的一个读取EXCEL表中的数据先一条条的封装到一个JAVABEAN中.在把这个BEAN加到ArrayList中去..现在问题就当读取EXCEL CELL是空白字符类型就会报:读取EXCLE记录有错 : java.lang.NullPointerExceptionrn感觉有些奇怪..那位大虾帮帮小弟看看.小弟在此先谢谢了.
读zk 节点 报空指针
map 读zk 报空指针  查看application.xml 引用顺序  ,被其他类引用的放在最前面 如: ××map.get("×key") bean id="××Props" class="ZookeeperConfigGroup"> constructor-arg name="configProfile" ref="××ConfigProfile" /> c
到底要不要报读计算机专业?
前言 前段时间,有人发起一个讨论,主题是你是如何进入计算机软件行业的,看了一圈回答,我发现很多人并不是一开始就是计算机专业的,有人中途转专业进入计算机,有人考研跨考到计算机,有人工作之后转行从事计算机;除此之外,很大一部分人是填报志愿的时候不知道选择什么而报读了计算机,有人是跟风,有人是听说工资高,还有人是听妈妈的话。 因此我个人便有感而发,趁着现在也是各个省份填报志愿的时期,写了这篇文章,给今年...
读450M的文件,报内存溢出?
[size=24px]import java.io.File;rnimport java.io.FileInputStream;rnimport java.io.FileNotFoundException;rnimport java.io.IOException;rnimport java.util.Properties;rnrnpublic class d rn public static void main(String[] args) throws IOException rn d d1=new d();rn d1.read();rn rnrn public void read() throws IOExceptionrn File f = new File("d:\\a.xml");\\a是450m大小rn FileInputStream fis = new FileInputStream(f);rn byte[] b = new byte[(int)f.length()];rn fis.read(b);rn rnrnrnrn报错:rnjava.lang.OutOfMemoryError: Java heap spacernrnrn我的内存是2G的[/size]rnrn
读TXT文件汉字变成了乱码怎么办?
我写了一个<em>代码</em>来读.txt文件,文件中有汉字rn StreamReader sr = File.OpenText(FileName);rn string s = "";rn s = sr.ReadLine();rn可是这样读出来的汉字是乱码,怎样才能读到汉字呢?
win7 iis7.5下发布 报BLL的引用读不进来
RT <em>怎么回事</em>啊 悲剧中。。。
使用viewpager报这个错是怎么回事
n这个是包的什么问题。。。。n```n 03-22 03:49:15.368: E/AndroidRuntime(1612): FATAL EXCEPTION: mainn03-22 03:49:15.368: E/AndroidRuntime(1612): Process: com.example.hospitalmain, PID: 1612n03-22 03:49:15.368: E/AndroidRuntime(1612): java.lang.RuntimeException: Unable to start activity ComponentInfocom.example.hospitalmain/com.example.hospitalmain.MainActivity: android.view.InflateException: Binary XML file line #8: Error inflating class android.support.v4.View.ViewPagern03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.ActivityThread.access$800(ActivityThread.java:135)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.os.Handler.dispatchMessage(Handler.java:102)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.os.Looper.loop(Looper.java:136)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.ActivityThread.main(ActivityThread.java:5001)n03-22 03:49:15.368: E/AndroidRuntime(1612): at java.lang.reflect.Method.invokeNative(Native Method)n03-22 03:49:15.368: E/AndroidRuntime(1612): at java.lang.reflect.Method.invoke(Method.java:515)n03-22 03:49:15.368: E/AndroidRuntime(1612): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)n03-22 03:49:15.368: E/AndroidRuntime(1612): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)n03-22 03:49:15.368: E/AndroidRuntime(1612): at dalvik.system.NativeStart.main(Native Method)n03-22 03:49:15.368: E/AndroidRuntime(1612): Caused by: android.view.InflateException: Binary XML file line #8: Error inflating class android.support.v4.View.ViewPagern03-22 03:49:15.368: E/AndroidRuntime(1612): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:707)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.view.LayoutInflater.inflate(LayoutInflater.java:492)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.view.LayoutInflater.inflate(LayoutInflater.java:397)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.view.LayoutInflater.inflate(LayoutInflater.java:353)n03-22 03:49:15.368: E/AndroidRuntime(1612): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.Activity.setContentView(Activity.java:1929)n03-22 03:49:15.368: E/AndroidRuntime(1612): at com.example.hospitalmain.MainActivity.onCreate(MainActivity.java:13)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.Activity.performCreate(Activity.java:5231)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)n03-22 03:49:15.368: E/AndroidRuntime(1612): ... 11 moren03-22 03:49:15.368: E/AndroidRuntime(1612): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.View.ViewPager" on path: DexPathList[[zip file "/data/app/com.example.hospitalmain-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.hospitalmain-1, /system/lib]]n03-22 03:49:15.368: E/AndroidRuntime(1612): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)n03-22 03:49:15.368: E/AndroidRuntime(1612): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)n03-22 03:49:15.368: E/AndroidRuntime(1612): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.view.LayoutInflater.createView(LayoutInflater.java:559)n03-22 03:49:15.368: E/AndroidRuntime(1612): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)n03-22 03:49:15.368: E/AndroidRuntime(1612): ... 21 moren```nn
读内存错误是怎么回事
比如:指令“0x123asdf0”都取“0x00000014”该地址不能为“read”
如何实现语音报读功能?
就是一个 TextBox 一个 Button 如何点击的时候语音报读 TextBox 的内容?rn
SHFileOperation 总报:无法读源文件
SHFileOperation 总报:无法读源文件,郁闷死了,两天了,求高手指点,网上的说明也都看了,也都试了,还是报错,急望高人详细点明rnrnCString folder_xinjian,folder_yuanshi;rnrn folder_xinjian=CString("E:\\小\0\0");//新文件夹rnrn rn folder_yuanshi=CString("E:\\大\0\0");//源文件夹rnrnrn SHFILEOPSTRUCT lpFile;rn lpFile.hwnd=GetSafeHwnd();rn lpFile.wFunc=FO_COPY;rn lpFile.pFrom=folder_yuanshi;rn lpFile.pTo=folder_xinjian;rn lpFile.fFlags=FOF_ALLOWUNDO;rn lpFile.fAnyOperationsAborted=FALSE;rn lpFile.hNameMappings=NULL;rn lpFile.lpszProgressTitle=NULL;rnrnrn int RetureValue=SHFileOperationW(&lpFile);rnrn if(RetureValue==0)rn rn if(lpFile.fAnyOperationsAborted==true)rn MessageBox(CString("复制文件夹的操作被取消"));rn rn else;rn //MessageBox(CString("复制文件夹失败"));
用URL读网络资源的时候报异常~
我用 new Url("")读网络资源的并以文件的形式写在本地,程序运行15次没有问题,但再运行程序就rn出现下面的异常,我发现当我的resin进程所占的内存达到92M的时候就出现这个错误了。rn不知道是为什么。请高手赐教。rn原<em>代码</em>如下:rnString actionurl="http://127.0.0.1:8081/house/fore/viewHouseDetailAction.do?houseId=6553";rn URL url=new URL(actionurl);rn huc = (HttpURLConnection)url.openConnection();rn huc.connect();rn in = new BufferedInputStream(huc.getInputStream());rn out_ex=new FileOutputStream(filepath);rn byte[] arrIn=new byte[1024];rn int i = 0;rn int size = 0;rn if(in!=null)rn rn while ( (size = in.read(arrIn)) != -1)rn rn out_ex.write(arrIn, 0, size);rn rn rn huc.disconnect();rn System.out.println("Read XML File Finish!");rn url=null;rn rn catch(Exception e)rn rn e.printStackTrace();rn finallyrn rn tryrn rn in.close();rn out_ex.close();rn catch(IOException e)rn rn e.printStackTrace();rn rn rn*********************************rn异常如下:rnjava.io.IOException: Server returned HTTP response code: 500 for URL: http://127rn.0.0.1:8081/house/fore/viewHouseDetailAction.do?houseId=6533rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConrnnection.java:709)rn at com._21cn.house.boc.MakeHtmlBOC.makeHtml(MakeHtmlBOC.java:110)rn at com._21cn.house.struts.action.fore.ThreadServlet.doPost(ThreadServletrn.java:78)rn at com._21cn.house.struts.action.fore.ThreadServlet.doGet(ThreadServlet.rnjava:62)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:115)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)rn at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterCrnhain.java:99)rn at com._21cn.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncrnodingFilter.java:70)rn at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterCharnin.java:70)rn at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChainrn.java:163)rn at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocatiornn.java:208)rn at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259rn)rn at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363)rn at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)rn at com.caucho.util.ThreadPool.run(ThreadPool.java:423)rn at java.lang.Thread.run(Thread.java:536)rnjava.lang.OutOfMemoryError-----------------内存溢出。
读Excel的时候总是报这样的错误!
[color=#FF0000]Exception from HRESULT: 0x800A03EC[/color]rnclass ExcelHelper rn public static DataSet LoadExcel(string filePath, string OleCommand) rn DataSet set = new DataSet();rn //链接Excel的字符串.rn string strConnect = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = " + filePath + ";Extended Properties = 'Excel 8.0; HDR = No; IMEX = 1'";rn using (OleDbConnection conn = new OleDbConnection(strConnect)) rn conn.Open();rn OleDbDataAdapter adapter = new OleDbDataAdapter(OleCommand, conn);rn adapter.Fill(set);rn rn return set;rn rnrn public static string SaveExcel(DataTable table, string savePath) rn string result = null; //存储Excel的信息.rn Excel.Application exApp = new Excel.Application();rn Excel.Workbook workbook = exApp.Workbooks.Add(true);rn Excel.Worksheet sheet = workbook.ActiveSheet;rn if (sheet.Rows.Count > 0) rn int rows = table.Rows.Count; //行数.rn int total = Convert.ToInt32(table.Rows[0][0]); //总值.rn for (int i = 0; i < rows; i++) rn int element = Convert.ToInt32(table.Rows[i][0]); //每个值.rn int cal = element / total;rn [color=#FF0000] sheet.Rows[i][0] = cal; //存储.[/color] //这行总报错.rn rn exApp.DisplayAlerts = false;rn exApp.AlertBeforeOverwriting = false;rn workbook.Save();rn exApp.SaveWorkspace(savePath);rn exApp = null;rn return "成功";rn rn return "没有数据";rn rn//主函数:rnDataSet set = ExcelHelper.LoadExcel(@"D:\Test\Exceler\read.xls", "select * from [Sheet1$]");rn string msg = ExcelHelper.SaveExcel(set.Tables[0], @"D:\Test\Exceler\read.xls");rn Console.WriteLine(msg);
我想做一个语音报读程序
各位同学,我想做一个语音报读程序,比如,在键盘上输入"A"字符,点击"发音"后,能自动报读该字母的发音,请问,我该如何实现呢?谢谢!
文字转换声音 语音报读
很不错的一款 语音读取文字小软件 可以支持多语言语音读取文字
菜单变成了英文
我的WINDOWS2000操作系统,无故菜单变<em>成了</em><em>英文</em>的(进入各盘后)我把C盘格式化后,另找一张WINDOWS2000盘,重新装了一遍操作操作系统,没装其它以前的软件,用了两天后,又变<em>成了</em><em>英文</em>的,不知怎么解决
中文界面全变成了英文
fedora11从gnome到kde桌面去了一下,再转回gnome。原来的<em>中文</em>界面全变<em>成了</em><em>英文</em>。能变回<em>中文</em>吗?
读出的中文数据变成了问号,怎么回事
申请了个asp+access的空间,上传了数据库,可是读<em>中文</em>数据出来变<em>成了</em>问号,这是为什么,是不是和字符集有关?要怎样修改?rn
XP中,中文竟然变成了韩文!!!
DELL的笔记本,XP的家庭版,在上面装了一个OFICE97和王码五笔输入,随后在WORD中用五笔输入<em>中文</em>,但是显示到页面上就变<em>成了</em>韩文(注意不是乱码),用其他输入法都能正常输入<em>中文</em>.随后用五笔在写字板中输入能正常显示!!!真是奇怪了,是不是在XP下,OFFICE97和王码五笔就不能一起<em>使用</em>啊!!!请各位指教,谢谢!!!
读 [Xp]win7单用户系统开机密码
这是一个可以快速方便读取电脑开机电脑密码的小工具,简单实用,忘记密码就用他了! [软件优缺点:优点1:如果你已经进入了系统,但是忘记了密码,可以用本工具获取系统密码。 优点2:不知道别人密码,开机中,可以获取密码,家里的电脑设置了密码,不准你经常<em>使用</em>电脑,可以在用的时候把密码获取了 缺点:貌似有多个用户账户密码时,不能获取密码,所以只适用于电脑只有一个账户。
注释变成了乱码是怎么回事
为什么我写的程序里面的<em>中文</em>注释,当再次打开时却变<em>成了</em>乱码?
英文XP下读access的中文为乱码,急在线等
我的程序在<em>中文</em>XP下运行,一切正常!!! rn但是到<em>英文</em>XP下运行,所有从access数据库中读出的<em>中文</em>都显示为???,如果不是从数据库中读,直接在<em>代码</em>中赋值或从ini文件中读取,则可以正常显示<em>中文</em>。 rnrn我的程序是VC2005(VC6也试过一样结果),采用ADO连接access,采用Unicode与非Unicode编程都不行,结果还是一样。 rnrn网上找了,有的说是字符集不同,但是不知如何设置access的字符集,听说默认是ANSI,不知道怎么改!!!很多人遇到<em>同样</em>的问题,但大部分都是网页方面的。 rnrn也有说不能直接在access中输入<em>中文</em>,,要用程序输入。我用如下<em>代码</em>: rn_variant_t GetVal; rnCString csTmp; rnwhile(!m_pRecordset->adoEOF) rn rn GetVal = m_pRecordset->GetCollect(_T("Chinese"));//读取<em>中文</em>字段 rn m_pRecordset->PutCollect(_T("Chinese"), GetVal);//重新写回 rnrn //将PutCollect()换成用注释掉的<em>代码</em>:如下,<em>中文</em>系统正常,<em>英文</em>系统运行完下面<em>代码</em>后,整个库不能打开了 rn //库中还有别的很多张表,打开时提示格式错误 rn //csTmp = (LPCSTR)_b_str_(GetVal); rn //csTmp+=_T("_New"); rn //m_pRecordset->PutCollect(_T("Chinese"), )_b_str_(csTmp) ); rn m_pRecordset->Update(); rn m_pRecordset->MoveNext(); rn rnrn期待高手解决,问题很急!!!!!! rn解决后马上结贴
读GBK编码的文件,读不全,是怎么回事,帮帮忙
比如我的文件里面1000个字符,但用VB读它只能读到第400个字符它就认为读完了。文件是GBK编码的,感谢指点。rnstrFileName = App.Path & "\aaa.txt"rnlngHandle = FreeFile()rnOpen strFileName For Input As lngHandlernDo While Not EOF(lngHandle)rn 'strName = ""rn On Error Resume Nextrn Line Input #lngHandle, strNamern msgbox strNamernloop
C++BUILDER报链接错误,怎么回事
Linker Error] Unresolved external 'TCharsetObject::' referenced from D:\CBC\DRAW\DRAWINGFORM.OBJrn[Linker Error] Unresolved external '__fastcall TCharsetObject::TCharsetObject(int)' referenced from D:\CBC\DRAW\DRAWINGFORM.OBJrnrn总是报错??DRAWINGFORM.OBJ在目录是存在的,请教大虾是<em>怎么回事</em>??rnBCB刚刚入门,请教了!
报servicebean没找到怎么回事
[code=Assembly]rnrn严重: Exception starting filter RecordAccessInformationFilterrnorg.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'userServiceImpl' is definedrn at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:387)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:968)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)rn at cn.itcast.bbs.web.filter.RecordAccessInformationFilter.init(RecordAccessInformationFilter.java:36)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnrn[/code]
in语句报错了,怎么回事?
rnexec('select ts_slaveselections into ##tmp_subhuiftype from ts_msselection where ts_masterselectionid='+@subtype)rnrnexec('select ts_name,ts_id into ##tmp_subtypelist from ts_selections a ,##tmp_subhuiftype b where a.ts_id in (b.ts_slaveselections)')rnrnts_slaveselections的类型是:textrna.ts_id 的类型是:intrnrnrnrn服务器: 消息 306,级别 16,状态 1,行 1rn不能比较或排序 text、ntext 和 image 数据类型,除非<em>使用</em> IS NULL 或 LIKE 运算符。rnrnrnrnrn
oracle报错了 怎么回事
[img=https://img-bbs.csdn.net/upload/201311/26/1385448322_799585.jpg][/img]
C++ 英文怎样读?
C++ <em>英文</em>怎样读?
c++英文怎么读
c++<em>英文</em>怎么读,好简单的问题
C++ 英文怎么读?
学了这么长时间C++,<em>中文</em>是读C加加,但是<em>英文</em>怎么读呢?
《如何读时序》(英文)
整个文档通俗易懂,PDF格式,PPT形式。虽然是全<em>英文</em>的,但都是比较简单的<em>英文</em>。
如何读英文科技论文
论文中Introduction一般最后一段才是介绍自己的内容,如果对这个领域比较了解,看过这个领域很多论文的情况下,可以不用读Introduction其他内容,只读最后一段。当然,菜鸟还是要都读一下的,我目前也还是菜鸟。。。 Related work可以不用读(<em>同样</em>适用于对这个领域比较了解的人) 剩下的实现过程和实验结果都是需要读的 可以先看实验结果,看看最终实现了什么,再回去看实现过程 做论文报告
菜单为何变成了英文?
我的VB6简体版界面中的部分右键菜单不知何故变<em>成了</em><em>英文</em>,挺别扭的,重新安装也没解决问题,请问有没有办法解决?
代码
先整理它的<em>代码</em>框架吧!不要看<em>代码</em>实现细节! 把业务逻辑流程搞清楚先,把握<em>代码</em>的整体思路先, 实现细节,随便怎么写都可以!没所谓!
HTTP报文中的数字是怎么回事
抓取http返回的报文,请问一下,下面图片中的2000表示什么意思?[img=https://img-bbs.csdn.net/upload/201708/29/1504018626_224603.png][/img]而且报文后面有一个数字0是什么意思?[img=https://img-bbs.csdn.net/upload/201708/29/1504018771_546960.png][/img]
手机联网报1288的错误是怎么回事
知道的帮忙解决下这个问题哈,应用程序联网一直报这个错误。。。。。。
js报函数未定义是怎么回事
下面是我的<em>代码</em>!rn rn rnrn页面中:rn')">rnrnIe的报错是“editRole(id)未定义”! 小弟刚接触js不久,还望各位前辈多多指点哈!谢谢了
else if后面报黄色是怎么回事
if(lsh!=null||lsh!="")rn Lawyee lawyee=ma.selectLawyee(lsh);rn request.setAttribute("layee", lawyee);rn result="/ajlby.jsp";rn rn else if(lsh==null)rn SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");rn rn String rq1=request.getParameter("rq1");rn String rq2=request.getParameter("rq2");rn Date date1 = null;rn Date date2 = null;rn try rn date1 = sdf.parse(rq1);rn date2=sdf.parse(rq2);rn catch (ParseException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn rn写在DOPOST里面的
hibernate总是报空指针是怎么回事
public class Student implements java.io.Serializablern private int id;rn private String name;rn public int getId() rn return id;rn rn public void setId(int id) rn this.id = id;rn rn public String getName() rn return name;rn rn public void setName(String name) rn this.name = name;rn rn rnrnrnrnpublic class Dao rn private static final SessionFactory sessionFactory = buildSessionFactory();rnrn private static SessionFactory buildSessionFactory() rn rn Configuration cfg = new Configuration().configure();rn ServiceRegistry serviceRegistry = new ServiceRegistryBuilder()rn .applySettings(cfg.getProperties()).buildServiceRegistry();rnrn return cfg.buildSessionFactory(serviceRegistry);rnrn rn rnrn public static SessionFactory getSessionFactory() rn return sessionFactory;rn rnrnrnrnpublic class Test rnrn /**rn * @param argsrn */rn public static void main(String[] args) rn Session session = Dao.getSessionFactory().openSession();rnrnrn Transaction tx = session.beginTransaction();rnrnrn Student s=new Student();rn s.setId(2);rn s.setName("admin");rn session.save(s);rnrn tx.commit();rnrn session.close();rn rnrnrnrnrnrnrnrnrn rn rn rn rnrnrnrnrnrnrnrnrnoracle.jdbc.driver.OracleDriverrnjdbc:oracle:thin:@localhost:1521:orclrnzhxlrnzhxlrnrnrnorg.hibernate.dialect.Oracle10gDialectrnrnrnorg.hibernate.cache.NoCacheProviderrnrntruernrnupdaternrnrnrnrnrn不知道为什么总报空指针rnrn2012-11-8 16:00:30 org.hibernate.annotations.common.Version rnINFO: HCANN000001: Hibernate Commons Annotations 4.0.1.Finalrn2012-11-8 16:00:30 org.hibernate.Version logVersionrnINFO: HHH000412: Hibernate Core 4.1.6.Finalrn2012-11-8 16:00:30 org.hibernate.cfg.Environment rnINFO: HHH000206: hibernate.properties not foundrn2012-11-8 16:00:30 org.hibernate.cfg.Environment buildBytecodeProviderrnINFO: HHH000021: Bytecode provider name : javassistrn2012-11-8 16:00:30 org.hibernate.cfg.Configuration configurernINFO: HHH000043: Configuring from resource: /hibernate.cfg.xmlrn2012-11-8 16:00:30 org.hibernate.cfg.Configuration getConfigurationInputStreamrnINFO: HHH000040: Configuration resource: /hibernate.cfg.xmlrn2012-11-8 16:00:30 org.hibernate.internal.util.xml.DTDEntityResolver resolveEntityrnWARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!rn2012-11-8 16:00:30 org.hibernate.cfg.Configuration addResourcernINFO: HHH000221: Reading mappings from resource: entity/Student.hbm.xmlrn2012-11-8 16:00:30 org.hibernate.internal.util.xml.DTDEntityResolver resolveEntityrnWARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!rn2012-11-8 16:00:30 org.hibernate.cfg.Configuration doConfigurernINFO: HHH000041: Configured SessionFactory: nullrn2012-11-8 16:00:30 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configurernINFO: HHH000402: Using Hibernate built-in connection pool (not for production use!)rn2012-11-8 16:00:30 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configurernINFO: HHH000115: Hibernate connection pool size: 20rn2012-11-8 16:00:30 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configurernINFO: HHH000006: Autocommit mode: falsern2012-11-8 16:00:30 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configurernINFO: HHH000401: using driver [oracle.jdbc.driver.OracleDriver] at URL [jdbc:oracle:thin:@localhost:1521:orcl]rn2012-11-8 16:00:30 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configurernINFO: HHH000046: Connection properties: user=zhxl, password=****rn2012-11-8 16:00:30 org.hibernate.engine.jdbc.internal.JdbcServicesImpl configurernWARN: HHH000341: Could not obtain connection metadata : 不支持的特性rn2012-11-8 16:00:30 org.hibernate.engine.jdbc.internal.LobCreatorBuilder useContextualLobCreationrnINFO: HHH000422: Disabling contextual LOB creation as connection was nullrnException in thread "main" java.lang.ExceptionInInitializerErrorrn at test.Test.main(Test.java:15)rnCaused by: java.lang.NullPointerExceptionrn at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:207)rn at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)rn at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)rn at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73)rn at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2279)rn at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2275)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1744)rn at dao.Dao.buildSessionFactory(Dao.java:19)rn at dao.Dao.(Dao.java:11)rn ... 1 more
jsp页面报“缺少对象”错误是怎么回事
我用的是struts1框架,要上传excel,现在页面中表单提交的时候根本进入不到后台,执行完js的onclick事件之后就提示缺少对象,我alert()的时候,不管alert哪里都先出alert,然后提示是否确定批量上传,点击确定之后就会提示缺少对象。这是<em>怎么回事</em>呢,这种错误我都应该从哪些方面去寻找错误点呢,下面是<em>代码</em>,求大神指点一下,谢谢哒rnrnrnrnrnrn rn rn rn rn rn 费率维护批量上传rnrnrn rn rn rn rn 费率维护批量上传rn rn rn rn rn rn rn rn rn rn 项目rn 内容rn rn rn 输入文件rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrn
运行窗体报这样的错是怎么回事
“Cannot debug project unless a host application is defined. Use the Run|Parameters dialog box.”rnrnrnrn急急急!!!
tomcat报找不到struts-form.tld文件是怎么回事
我刚开始学struts,可tomcat报找不到struts-form.tld文件是<em>怎么回事</em>?看struts in action第一个例子.rni am a newer.rn
DataGrid老是报7004错误是怎么回事
错误描述是"the rowset is not bookmarkable".我设置数据源的过程如下:rn Dim cnMy As Connection rn Dim cmdMy As Command rn Dim rsMy As RecordSetrn ....rn Set cmdMy = new Commandrn Set cmdMy.ActiveConnection = cnMyrn cmdMy.commandtext = "Select * From Table1"rn Set rsMy = cmdMy.Executern Set DataGrid1.DataSource = rsMy '在这句出错rnrn
android客户端调用webservice报异常,是怎么回事
[code=java]package Telephone.test;rnrnimport org.ksoap2.SoapEnvelope;rnimport org.ksoap2.serialization.SoapObject;rnimport org.ksoap2.serialization.SoapSerializationEnvelope;rnimport org.ksoap2.transport.HttpTransportSE;rnrnimport android.app.Activity;rnimport android.os.Bundle;rnimport android.view.View;rnimport android.view.View.OnClickListener;rnimport android.widget.Button;rnimport android.widget.EditText;rnimport android.widget.TextView;rnpublic class TelephoneActivity extends Activity rn /** Called when the activity is first created. */rn private EditText phoneSecEditText;rn private TextView resultView;rn private Button queryButton;rn public void onCreate(Bundle savedInstanceState) rn super.onCreate(savedInstanceState);rn setContentView(R.layout.main);rn queryButton = (Button) findViewById(R.id.query_btn);rn queryButton.setOnClickListener(new OnClickListener() rn public void onClick(View v) rn rn String username = phoneSecEditText.getText().toString().trim();rn getRemoteInfo(username);rn rn );rn rn rn public void getRemoteInfo(String username) rn // 命名空间rn String nameSpace="http://tempuri.org/";rn // 调用的方法名称rn String methodName="GetUserList";rn // EndPointrn String endPoint="http://192.168.0.100:8081/WebService.asmx";rn // SOAP Actionrn String soapAction="http://tempuri.org/GetUserList";rnrn // 指定WebService的命名空间和调用的方法名rn SoapObject rpc = new SoapObject(nameSpace, methodName);rnrn // 设置需调用WebService接口需要传入的两个参数mobileCode、userIdrn rpc.addProperty("username", username);rn rnrn // 生成调用WebService方法的SOAP请求信息,并指定SOAP的版本rn SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);rnrn envelope.bodyOut = rpc;rn // 设置是否调用的是dotNet开发的WebServicern envelope.dotNet = true;rn // 等价于envelope.bodyOut = rpc;rn envelope.setOutputSoapObject(rpc);rnrn HttpTransportSE transport = new HttpTransportSE(endPoint);rn try rn // 调用WebServicern transport.call(soapAction, envelope);rn catch (Exception e) rn e.printStackTrace();rn rnrn // 获取返回的数据rn SoapObject object = (SoapObject) envelope.bodyIn;rn // 获取返回的结果rn String result = object.getProperty(0).toString();rn //String result = "lijian";rnrn // 将WebService返回的结果显示在TextView中rn resultView.setText(result);rn rn[/code]rnrn
报这个错误是怎么回事呀?
[img=http://i3.6.cn/cvbnm/5b/ee/16/6651d4d43920d5ccd8bd1269580fa680.jpg][/img]
编译错误报在系统头文件里是怎么回事
VS2008 + WINDOWS XP ;rn错误:rnError 2 error C2061: syntax error : identifier 'T' c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h 963 rnrnrn<em>代码</em>:rn[code=C/C++]rnextern "C++" // templates cannot be declared to have 'C' linkagerntemplate //这行错误rnchar (*RtlpNumberOf( UNALIGNED T (&)[N] ))[N];rnrn#define RTL_NUMBER_OF_V2(A) (sizeof(*RtlpNumberOf(A)))rnrn[/code]
JBOSS报这样的错,是怎么回事情?
21:33:02,515 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@4fce71].rn21:33:02,718 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.rn21:33:02,718 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppenderrn21:33:02,718 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165)rn21:33:02,718 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)rn21:33:02,718 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)rn21:33:02,718 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)rn21:33:02,718 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)rn21:33:02,718 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)rn21:33:02,718 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)rn21:33:02,734 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)rn21:33:02,734 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)rn21:33:02,734 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)rn21:33:02,734 ERROR [STDERR] at org.apache.log4j.LogManager.(LogManager.java:113)95)
报如下错误是怎么回事!!!!急
Cannot include Memo, OLE, or Hyperlink Object when you select unique values (Composition). rnDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. rnrnException Details: System.Data.OleDb.OleDbException: Cannot include Memo, OLE, or Hyperlink Object when you select unique values (Composition).rnrnSource Error: rnrnAn unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. rnrnStack Trace: rnrnrn[OleDbException (0x80040e21): Cannot include Memo, OLE, or Hyperlink Object when you select unique values (Composition).]rn System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) +41rn System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +174rn System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +92rn System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +65rn System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +112rn System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +69rn BWJCare2.DAL.Mims.SelectOne(String guid) +161rn BWJCare2.BIZ.BMims.SelectOne(String guid) +34rn BWJCare2.WEB.Medication_Detail.ShowInfo(String str) +44rn BWJCare2.WEB.Medication_Detail.druglist_SelectedIndexChanged(Object sender, EventArgs e) +189rn System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) +108rn System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +26rn System.Web.UI.Page.RaiseChangedEvents() +115rn System.Web.UI.Page.ProcessRequestMain() +1081rnrn
知道如何区分下一个字符读的是中文还是英文
中<em>英文</em>如何区分呀?很是郁闷,程序无法识别中<em>英文</em>混合的文本?
JBuilder代码区的中文成了乱码.
刚装的JBuilder9,打开工程,<em>代码</em>里面原有的一些<em>中文</em>注释都变<em>成了</em>乱码,请问在哪里改过来.
报错处并没有代码,这是怎么回事
1 rn2 <> 0 or strCertSN="" then _rn exit dorn rn if strCertSN="bbbb" or strCertSN="aaaa" then _rn exit dorn 'Response.Write strCertSNrn rn i=i+1rnlooprnrnif i=1 and ret<>0 then rnrn Response.Write(obj.QueryReturnMsg(ret))rn Response.End()rnrnend ifrnrnrn'Response.Write(strCertSN+" ")rnrnret = obj.InitialSession(strCertSN,"6379c6a1")rnif ret<>0 then rnrn Response.Write(obj.QueryReturnMsg(ret))rn Response.End()rnrnend ifrnrn'验证客户端身份rnret = obj.VerifySignData(strClientCertPEM,strClientSign,strClientCertPEM)rnif ret <> 0 then '证书被恶意修改rnrn Response.Write(obj.QueryReturnMsg(ret))rn Response.End()rnend ifrnrnret = obj.VerifyCertPEM(strClientCertPEM,0)rnif ret <> 0 then'身份不合法,不是WHCA的合法证书用户rnrn Response.Write(obj.QueryReturnMsg(ret))rn Response.End()rn rnelse'身份合法,rnrn Response.Write("欢迎登录 ") rn '通过GetCertUniqueID得到企业的唯一标示strUID,然后再同数据库中对应的字段比较. rn ret = obj.GetCertUniqueID(strClientCertPEM,strUID)rn Response.Write("企业<em>代码</em>信息:"+strUID)rn Session("id")=strUIDrn Response.Redirect ("dl.asp")rn rnend ifrnrnobj.ClearSession()rnset obj=nothingrnrn%>rnMicrosoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft VBScript 运行时错误 错误 '800a01a8' rnrn缺少对象: '' rnrn/ca/dl.asp,行10 rnrn可第10行处什么也没有,rn当我把rnrnSession("id")=strUIDrn Response.Redirect ("dl.asp")rn这两条语句去掉又可以运行,<em>怎么回事</em>。rn
XP读文件路径问题
路径语句:rnString 路径 = @System.Environment.CurrentDirectory , 文件 = @路径 + "\\" + 文件名称 + ".txt";rn在WIN7系统中读取文件正常,软件在XP中运行时只能读第一级文件夹路径下文件,而不是原来路径如:D:\\阿\\阿\\阿.txtrn什么引起的问题,如何解决?rn难道是2个@引发问题?
XP下读4G内存
我想读取0xCB530000处的内存。rn 在ICH7(Intel 945)平台上正常读取rn 在ATI,VIA上不能正常读取rn 我<em>使用</em>了第三方软件WinIOrn
读不了光驱,是怎么回事啊?
光驱能放进光盘,rn但打不开,rn在CMOS下看到rnIDE SECONDARY MASTER [NONE]rnIDE SECONDARY SLAVE [CD-ROM DRIVE-50]rnCMOS 下这样的设置合理吗?rnrn如果合理的话,又怎么读不了光驱呢?
ajax读不到数组内容是怎么回事
php页面<em>代码</em>rn[code=php] array(rn 'uid'=>10001,rn 'vip'=>5,rn 'nickname' => 'Shine X',rn 'email'=>'979137@qq.com',rn 'qq'=>979137,rn 'gold'=>1500,rn rn ),rn 10002 => array(rn 'uid'=>10002,rn 'vip'=>50,rn 'nickname' => 'elva',rn 'email'=>'elva@ezhi.net',rn 'qq'=>NULL,rn 'gold'=>14320,rn rn ),rn 10003 => array(rn 'uid' => 10003,rn 'vip' => 5,rn 'nickname' => 'Lily',rn 'email' => 'Lily@ezhi.net',rn 'qq' => NULL,rn 'gold' => 1541,rn rn ),rn );rn rn rn?>[/code]rn以下是客户端<em>代码</em>rn[code=html]rn rn rn rn rnrnrn
help!!!hive sql求学生连续报读次数,两次报读时间在半年内算一次
例如:学生A有三条记录,三个时间分别为2017-1-1,2017-3-1,2017-10-1,rn那么连续报读次数为1;rn学生B有三条记录:三个时间分别为2017-1-1,2017-3-1,2017-8-30,rn那么连续报读次数为2;rnrnrn求help!!
我是报中程还是报高程?
我是一名大三的学生(计算机系的),我今年想考程序员,可我不知道考什么级别的,我在学校rn所学的课程还算不错,但没有学过编译原理和计算机网络.请问我这种水平的是报高程合适还是报中程合适
怎么回事?">在gridview里使用findcontro("TextBox")报空异常,是怎么回事
[code=csharp] //更新rnprotected void GridView2_RowEditing(object sender, GridViewEditEventArgs e)rn rn HiddenField h1 = this.GridView2.Rows[e.NewEditIndex].FindControl("id") as HiddenField;rn int id = int.Parse(h1.Value);rn string name = (this.GridView2.Rows[e.NewEditIndex].FindControl("name") as TextBox).Text;rn string tel = (this.GridView2.Rows[e.NewEditIndex].FindControl("tel") as TextBox).Text;rn int groupid = int.Parse((this.GridView2.Rows[e.NewEditIndex].FindControl("DropDownList1") as DropDownList).SelectedItem.Value);rn this.US.Update(name, tel, groupid, id);rn this.GridView2.EditIndex = -1;rn this.Bind();rn [/code]rn为什么这里会报这种异常?此表达式可导致副作用,将不会对它进行计算是什么意思?[img=https://img-bbs.csdn.net/upload/201506/14/1434262267_365598.png][/img]rn在gridview里TextBox的ID改名成name,为什么findcontrol("name")会找不到但是int id会找到?
eclipse中文英文
打开 eclipse.ini 文件 在最后一行加入如下<em>代码</em>,保存关闭重启 eclipse; -Duser.language=en
使用VirtualProtect时,报0XC0000005错误,请问是怎么回事
<em>代码</em>如下,运行到红色<em>代码</em>处时,报错“未处理的异常:C0000005 access violation”rn谁能解答一下为什么?rnBOOL HookApi(LPVOID ApiFun,LPVOID HookFun)rnrn BOOL IsSuccess = FALSE;rn DWORD TempProtectVar; //临时保护属性变量rn MEMORY_BASIC_INFORMATION MemInfo; //内存分页属性信息rn rn VirtualQuery(ApiFun,&MemInfo,sizeof(MEMORY_BASIC_INFORMATION));rn rn[color=#FF0000] if(VirtualProtect(MemInfo.BaseAddress,MemInfo.RegionSize,rn PAGE_READWRITE,&MemInfo.Protect)) //修改页面为可写[/color]rn rn *(BYTE*)ApiFun = FLATJMPCMD; rn *(DWORD*)((BYTE*)ApiFun + FLATJMPCMD_LENGTH) = (DWORD)HookFun -rn (DWORD)ApiFun - FLATJMPCODE_LENGTH;rn rn VirtualProtect(MemInfo.BaseAddress,MemInfo.RegionSize,rn MemInfo.Protect,&TempProtectVar); //改回原属性rn rn IsSuccess = TRUE;rn rn rn return IsSuccess;rn
中文英文
我gridview里的字全是<em>中文</em>的,在本机发布后别的机子访问也是看到的<em>中文</em>,可是放到了服务器的机器上,再访问就变成<em>英文</em>了,我很郁闷,请问有问知道这是<em>怎么回事</em>嘛?
物理读&逻辑读&即时读&一致读&读一致性
物理读 逻辑读 即时读 一致读 读一致性 这几个概念很容易混淆,下面来深入讨论。 1. 物理读(physical reads) 什么叫计算机中的物理读? 如果我们需要的数据不在内存中,那么cpu要获取该数据就必须去磁盘上读取。此时必须要经过磁盘控制器的输入输出,这就叫物理I/O. 表现在ORACLE中,就是如果一个session查询一个表,此时这个表数据没有在内存中,那
代码犹如读诗词歌赋,慢慢读,仔细读
读别人写的写<em>代码</em>就好比读一篇文章,可以看出这个人的写作风格,以后一眼就看出是谁写的<em>代码</em>。好的文章可以让你醍醐灌顶,受益匪浅;不好的文章你也能从中获取收益,因为你知道怎么修改这篇文章让它变得更加漂亮,以后自己写<em>代码</em>的时候就不会犯<em>同样</em>的问题。把读<em>代码</em>当做是读散文读诗词歌赋,当作是一种享受,在前人的思想中如沐春风,陶冶自己的情操,升华自己的境界。所以<em>代码</em>要好好的读,慢慢的品.....
这样的批处理。在win7下报语法错误
cd C:\Program Files\Common Files\System\ado\rndel msado15.dllrndel msjro.dllrncopy C:\Users\Administrator\Desktop\Win7编译\<em>win7</em>\msado15.dll C:\Program Files\Common Files\System\ado\msado15.dll
FTPClient.rename 报502错误,怎么回事
[img=https://img-bbs.csdn.net/upload/201607/03/1467530383_871081.png][/img][img=https://img-bbs.csdn.net/upload/201607/03/1467530394_9436.png][/img][img=https://img-bbs.csdn.net/upload/201607/03/1467530403_806344.png][/img]
浏览器报CSS notfound怎么回事
自己做毕设,写的CSS在jsp预览中能正确显示rn[img=https://img-bbs.csdn.net/upload/201505/21/1432200396_597274.jpg][/img]rnrn但是用IE就会显示不出来rn[img=https://img-bbs.csdn.net/upload/201505/21/1432200441_442969.jpg][/img]rnrn查看源文件 有一部分JSP标签居然根本没读 rn[img=https://img-bbs.csdn.net/upload/201505/21/1432200467_913815.jpg][/img]rn在做CSS之前 所有功能都正常 了 就是添加了样式之后 页面开始不正常rnrn换用谷歌 发现报错 说CSS获取不到 <em>怎么回事</em>啊 求大神帮忙解决 卡在这真是没办法rn[img=https://img-bbs.csdn.net/upload/201505/21/1432200528_349965.jpg][/img]rnrn[img=https://img-bbs.csdn.net/upload/201505/21/1432200536_458932.jpg][/img]
黑屏,却没有报警声,怎么回事
今中午,几个小孩子玩游戏,机子突然黑屏,什么动静也没有了,CPU和显卡的风扇还在转着,什么原因,求助各位
中文文本的问题
Imports SystemrnImports System.IOrnrnPublic Class Form1rnrn Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clickrn Dim sr As StreamReader = New StreamReader("d:\myfile.txt")rn Dim sw As StreamWriter = New StreamWriter("d:\outfile.txt")rn Dim mystr1, mystr2, mystr3, line As Stringrn Dorn line = sr.ReadLinern If line Is Nothing Thenrn Exit Dorn End Ifrn If (Not String.IsNullOrEmpty(line)) AndAlso line.Length > 4 Thenrn mystr1 = line.Substring(0, 2)rn mystr2 = line.Substring(2, 12)rn mystr3 = line.Substring(14, 8)rn sw.WriteLine(mystr1 + "," + mystr2 + "," + mystr3)rn End Ifrn Loop Until line Is Nothingrn sr.Close()rn sw.Close()rn End SubrnEnd Classrn’----------------------------------------------rnmyfile.txt的格式:rnth 伊科拉木INF 20080306rnrn结果却是:rnth, ������ľINF, 20080rn本来是mystr1读取:th,mystr2读取中间部分,mystr3读取:20080306的,结果怎么会是这个样子呢?还是乱码......-.-rn
python 读中文乱码问题
python 读取<em>中文</em>使,比如 line字符串中含有<em>中文</em>,因为<em>中文</em>是"gb2312"编码,所以先用“gb2312”解码,然后在转成另一种编码格式 line.decode("gb2312").encode("utf-8")
filestream 读中文
[code=VB.NET]rn Dim savefiledialog1 As New OpenFileDialogrn savefiledialog1.Filter = "Text Files|*.txt|All Files|*.*"rn SaveFileDialog1.FilterIndex = 0rn If SaveFileDialog1.ShowDialog = DialogResult.OK Thenrn Dim FS As FileStream = savefiledialog1.OpenFilern Dim SW As New StreamReader(FS)rn TextBox1.Text = SW.ReadToEndrn SW.Close()rn FS.Close()rn End Ifrn[/code]rnrn如果 文本里有<em>中文</em>,读出来都 是一个个小方框,<em>怎么回事</em>啊rn~~
GPRS读中文SMS
请问读<em>中文</em>的SMS怎么发AT命令啊?rn 我现在可以读英语的SMS了。譬如:rn 从我的手机向我的(带GPRS模块)开发板发送“Jay_Lee_1982”字符串,从串口显示:+CMTI: "SM",27 ,rn 然后,我发了AT+CMGF=1rn OK [color=#008000]//返回值[/color]rn 接着,我发了AT+CMGL="REC UNREAD"rn +CMGL: 27,"REC UNREAD","+8613816975XXX",,"08/07/16,09:45:15+32" [color=#008000]//返回值[/color]rn Jay_Lee_1982 [color=#008000]//返回值[/color]rnrn 但是,当我从我的手机发送“您好”到开发板上时,从串口显示:+CMTI: "SM",28 ,rn 然后,我发了AT+CMGF=1rn OK [color=#008000]//返回值[/color]rn 接着,我发了AT+CMGL="REC UNREAD"rn +CMGL: 27,"REC UNREAD","+8613816975XXX",,"08/07/16,09:46:05+32" [color=#008000]//返回值[/color]rn [color=#FF0000]`U? [/color][color=#008000]//返回值[/color]rn 读出来的是乱码。rn 请问这是为什么啊?谢谢了
SPEECH 无法读中文
装了API后,读<em>英文</em>正常rn<em>中文</em>不发音,我已经装了<em>中文</em>语言包,rn但那些个MSM文件不知道要干吗?
SpeechSDK java 读中文
SpeechSDK java 阅读<em>中文</em> java TTS 简单阅读<em>中文</em>
中文TXT文件?
VB怎么去读一个TXT文件中的<em>中文</em>字条符串?rnLine Input #2, InputD rnCTitle = Split(InputD, ":")rnCTitleTemp = StrConv(CTitle(1), vbUnicode)rn用StrConv函数转换了,但还是乱码,请高手指教啊,多谢
upload_5xsoft.inc中文文件名变成了???
我用这个上传文件。一切正常rn可是如果上传的是<em>中文</em>名文件。rnrn页面显示这个file.FilePath和 file.FileName遇到<em>中文</em>就变<em>成了</em>???rn
读Oracle数据,中文乱码问题
我用程序把oracle表中的字段逐条取出,然后写到文件里,<em>中文</em>字符全是乱码,<em>代码</em>如下:rn======================================================================rn while (rs.next()) rn System.out.print( "result="+rs.getMetaData().getColumnCount());rn for(int j=1; j;rn rn======================================================================rn导出的时候怎么转换一下编码不出乱码?请高手指点,感谢!
中文读取时乱码问题
本人在网页中列表中的<em>中文</em>,用rnString useoff_name_chi = preSealSearchForm.getPreSeal().getUseoffNameChi();rn获取时,是乱码。JSP中定义如下:language="java" pageEncoding="gbk"。rn获取部分<em>代码</em>写在java类中。rn本人怀疑是JAVA默认字符串集问题。忘各位帮忙解决下。
C#中文怎么读?
C#<em>中文</em>读音是什么?rn“C井”、“C++++”
英文怎么读?">不好意思,"C#"英文怎么读?
谢谢各位了!
C++用英文怎样读???
谢谢!!!
程序报内存不能为读的错误,百思不得其解
程序运行界面一rn[img=http://pic.kaixin001.com/pic/photo/13/15/18122934_182131534.jpg][/img]rn此界面功能:rn条件输入框中查询条件,确定后将满足条件的记录取出品名和产家信息INSERT入左下数据窗口中;rn左下数据窗口单击时,将此品名和产家信息对应的详细信息调出显示在右边的大 RichTextEdit控件中rnrn出错界面rn[img=http://pic.kaixin001.com/pic/photo/13/15/18122934_182131590.jpg][/img]rn此出错界面出在左下数据窗口的第N次单击事件时,这个N次具体多少次说不准,有时有好几百次,有时十几次就报此错误。rn求高手解答
构建一个_variant_t时老是报内存读错误?????
CString str;rn_variant_t temp = _variant_t((LPCTSTR)str);rnrn当str在几百k时正确,但str比较大1000k左右就报程序发生异常错误,内存不能读。
CStdioFile读的中文是乱码,怎么解决?
[code=C/C++] CStdioFile infile;rn if (!infile.Open(L"interpreter.txt", CStdioFile::modeRead))rn rn AfxMessageBox(L"can not open file");rn rnrn CString str;rn while (infile.ReadString(str))rnrn AfxMessageBox(str);rnrn infile.Close();rn[/code]rn我把interpreter.txt用UNICODE和ASCII保存都不行。rn消息框中显示的是乱码,达人告诉我,谢谢了
vb语音计算器,真人声的报读数字
vb语音计算器,真人声的报读数字,有兴兴趣的朋友可以下载看一看。
在线等,读串口出错!”报线程间操作无效“
如题!rnrn解决,马上给分!rnrn能否给实例<em>代码</em>!rnrn谢谢!rn
语音报时2013(能报读日期) 绿色特别版
语音报时市面上很多,但此软件优点在于简便!后台运行省心。全局报时,即在全屏的情况下,都可以报读时间!!! 更新功能有: 1.加入日期报读时间!自定义有需要的方式报读! 2.加入全局快捷键报读,当你游戏时不能看时间。又不想退出游戏,直接按快捷键,即可报读 3.加入当开机运行模式时,下次开机会后台运行(即开机不会显示主界面)按照你上次设定的报时方式报读。 4.加入图标实时报时的菜单 5.修复相关的BUG 6.修复了开机运行时,不能正常报读报错! 完全自主开发,希望大家支持下! 软件上有联系我的方式!
VFP读win7的硬盘序列号
哪位大哥能帮我解决VFP读<em>win7</em>的硬盘序列号,并将硬盘序列号存储为内存变量好被调用。谢谢!
德语助手注册机就这么简单还要写什么下载
很好的东西,解决德语助手注册问题,用这个方法可以使用德语助手100000次,如果使用时间到了反复注册就好了咯 相关下载链接:[url=//download.csdn.net/download/norman520may/936585?utm_source=bbsseo]//download.csdn.net/download/norman520may/936585?utm_source=bbsseo[/url]
数字图像处理算法源码包下载
非常不错的图像处理算法源码包,包含图像处理的常用算法:腐蚀、膨胀、傅里叶变换等等将近二十个算法。 相关下载链接:[url=//download.csdn.net/download/angel880327/3781819?utm_source=bbsseo]//download.csdn.net/download/angel880327/3781819?utm_source=bbsseo[/url]
java序列化原理与算法下载
详细讲解了java的序列化用处、原理、算法、如何实现。希望能帮到大家。 相关下载链接:[url=//download.csdn.net/download/shamingnengyong/3853151?utm_source=bbsseo]//download.csdn.net/download/shamingnengyong/3853151?utm_source=bbsseo[/url]
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数
我们是很有底线的