1.C#ä¸çusing.system
2.QT中 error: ‘CHAR’ was not declared in this scope,还有就是UpdateData();也出现错误
C#ä¸çusing.system
AccessViolationException å¨è¯å¾è¯»ååä¿æ¤å åæ¶å¼åçå¼å¸¸ã
ActivationContext æ è¯å½ååºç¨ç¨åºçæ¿æ´»ä¸ä¸æãæ æ³ç»§æ¿æ¤ç±»ã
Activator å å«ç¹å®çæ¹æ³ï¼ç¨ä»¥å¨æ¬å°æä»è¿ç¨å建对象类åï¼æè·å对ç°æè¿ç¨å¯¹è±¡çå¼ç¨ãæ æ³ç»§æ¿æ¤ç±»ã
AppDomain 表示åºç¨ç¨åºåï¼å®æ¯ä¸ä¸ªåºç¨ç¨åºå¨å ¶ä¸æ§è¡çç¬ç«ç¯å¢ãæ æ³ç»§æ¿æ¤ç±»ã
AppDomainManager æä¾éæ管宿主ççææ管宿主ã
AppDomainSetup 表示å¯ä»¥æ·»å å° AppDomain çå®ä¾çç¨åºéç»å®ä¿¡æ¯ã
AppDomainUnloadedException å¨å°è¯è®¿é®å·²å¸è½½çåºç¨ç¨åºåæ¶å¼åçå¼å¸¸ã
ApplicationException åçéè´å½åºç¨ç¨åºé误æ¶å¼åçå¼å¸¸ã
ApplicationId æå«ä¿¡æ¯ç¨äºå¯ä¸æ è¯åºäºæ¸ åçåºç¨ç¨åºãæ æ³ç»§æ¿æ¤ç±»ã
ApplicationIdentity æä¾å¯ä¸æ è¯æ¸ åæ¿æ´»çåºç¨ç¨åºçè½åãæ æ³ç»§æ¿æ¤ç±»ã
ArgumentException å¨åæ¹æ³æä¾çå ¶ä¸ä¸ä¸ªåæ°æ ææ¶å¼åçå¼å¸¸ã
ArgumentNullException å½å°ç©ºå¼ç¨ï¼å¨ Visual Basic ä¸ä¸º Nothingï¼ä¼ éç»ä¸æ¥åå®ä½ä¸ºææåæ°çæ¹æ³æ¶å¼åçå¼å¸¸ã
ArgumentOutOfRangeException å½åæ°å¼è¶ åºè°ç¨çæ¹æ³æå®ä¹çå 许åå¼èå´æ¶å¼åçå¼å¸¸ã
ArithmeticException å ç®æ¯è¿ç®ãç±»å转æ¢æ转æ¢æä½ä¸çé误èå¼åçå¼å¸¸ã
Array æä¾å建ãæä½ãæç´¢åæåºæ°ç»çæ¹æ³ï¼å èå¨å ¬å ±è¯è¨è¿è¡åºä¸ç¨ä½æææ°ç»çåºç±»ã
ArrayTypeMismatchException å½è¯å¾å¨æ°ç»ä¸åå¨ç±»åä¸æ£ç¡®çå ç´ æ¶å¼åçå¼å¸¸ã
AssemblyLoadEventArgs 为 AssemblyLoad äºä»¶æä¾æ°æ®ã
Attribute 表示èªå®ä¹å±æ§çåºç±»ã
AttributeUsageAttribute æå®å¦ä¸å±æ§ç±»çç¨æ³ãæ æ³ç»§æ¿æ¤ç±»ã
BadImageFormatException å½ DLL æå¯æ§è¡ç¨åºçæ件å¾åæ ææ¶å¼åçå¼å¸¸ã
BitConverter å°åºç¡æ°æ®ç±»åä¸åèæ°ç»ç¸äºè½¬æ¢ã
Buffer æä½åºå ç±»åçæ°ç»ã
CannotUnloadAppDomainException å¸è½½åºç¨ç¨åºåçå°è¯å¤±è´¥æ¶å¼åçå¼å¸¸ã
CharEnumerator æ¯æ循ç¯è®¿é® String 对象并读åå®çå个å符ãæ æ³ç»§æ¿æ¤ç±»ã
CLSCompliantAttribute æ示ç¨åºå ç´ æ¯å¦ç¬¦åå ¬å ±è¯è¨è§è (CLS)ãæ æ³ç»§æ¿æ¤ç±»ã
Console 表示æ§å¶å°åºç¨ç¨åºçæ åè¾å ¥æµãè¾åºæµåé误æµãæ æ³ç»§æ¿æ¤ç±»ã
ConsoleCancelEventArgs 为 Console..::.CancelKeyPress äºä»¶æä¾æ°æ®ãæ æ³ç»§æ¿æ¤ç±»ã
ContextBoundObject å®ä¹ææä¸ä¸æç»å®ç±»çåºç±»ã
ContextMarshalException å·²è¿æ¶ãå¨å°è¯å°å¯¹è±¡å°éè¿ä¸ä¸æè¾¹ç失败æ¶å¼åçå¼å¸¸ã
ContextStaticAttribute æ示éæå段çå¼æ¯ç¹å®ä¸ä¸æçå¯ä¸å¼ã
Convert å°ä¸ä¸ªåºæ¬æ°æ®ç±»å转æ¢ä¸ºå¦ä¸ä¸ªåºæ¬æ°æ®ç±»åã
DataMisalignedException å¨ä»ä¸æ¯æ°æ®å¤§å°åæ°çå°å读åæ°æ®åå æå°æ°æ®åå åå ¥æ¤ç±»å°åæ¶å¼åçå¼å¸¸ãæ æ³ç»§æ¿æ¤ç±»ã
DBNull 表示ä¸åå¨çå¼ãæ æ³ç»§æ¿æ¤ç±»ã
Delegate 表示å§æï¼å§ææ¯ä¸ç§æ°æ®ç»æï¼å®å¼ç¨éææ¹æ³æå¼ç¨ç±»å®ä¾å该类çå®ä¾æ¹æ³ã
DivideByZeroException è¯å¾ç¨é¶é¤æ´æ°å¼æåè¿å¶æ°å¼æ¶å¼åçå¼å¸¸ã
DllNotFoundException å½æªæ¾å°å¨ DLL å¯¼å ¥ä¸æå®ç DLL æ¶æå¼åçå¼å¸¸ã
DuplicateWaitObjectException å½å¯¹è±¡å¨åæ¥å¯¹è±¡æ°ç»ä¸ä¸æ¢ä¸æ¬¡åºç°æ¶å¼åçå¼å¸¸ã
EntryPointNotFoundException å ä¸åå¨é¡¹æ¹æ³è导è´å 载类çå°è¯å¤±è´¥æ¶å¼åçå¼å¸¸ã
Enum 为æ举æä¾åºç±»ã
Environment æä¾æå ³å½åç¯å¢åå¹³å°çä¿¡æ¯ä»¥åæä½å®ä»¬çæ¹æ³ãæ æ³ç»§æ¿æ¤ç±»ã
EventArgs EventArgs æ¯å å«äºä»¶æ°æ®çç±»çåºç±»ã
Exception 表示å¨åºç¨ç¨åºæ§è¡æé´åççé误ã
ExecutionEngineException å½å ¬å ±è¯è¨è¿è¡åºçæ§è¡å¼æä¸åçå é¨é误æ¶å¼åçå¼å¸¸ãæ æ³ç»§æ¿æ¤ç±»ã
FieldAccessException å½è¯å¾éæ³è®¿é®ç±»ä¸çç§æå段æåä¿æ¤å段æ¶å¼åçå¼å¸¸ã
FileStyleUriParser åºäº File æ¹æ¡çå¯èªå®ä¹åæå¨ã
FlagsAttribute æ示å¯ä»¥å°æ举ä½ä¸ºä½åï¼å³ä¸ç»æ å¿ï¼å¤çã
FormatException å½åæ°æ ¼å¼ä¸ç¬¦åè°ç¨çæ¹æ³çåæ°è§èæ¶å¼åçå¼å¸¸ã
FtpStyleUriParser åºäºæä»¶ä¼ è¾åè®® (FTP) æ¹æ¡çå¯èªå®ä¹åæå¨ã
GC æ§å¶ç³»ç»åå¾åæ¶å¨ï¼ä¸ç§èªå¨åæ¶æªä½¿ç¨å åçæå¡ï¼ã
GenericUriParser ç¨äºåå± URI çå¯èªå®ä¹åæå¨ã
GopherStyleUriParser åºäº Gopher æ¹æ¡çå¯èªå®ä¹åæå¨ã
HttpStyleUriParser åºäº HTTP æ¹æ¡çå¯èªå®ä¹åæå¨ã
IndexOutOfRangeException è¯å¾è®¿é®ç´¢å¼è¶ åºæ°ç»çéçæ°ç»å ç´ æ¶å¼åçå¼å¸¸ãæ æ³ç»§æ¿æ¤ç±»ã
InsufficientMemoryException å½æ£æµå°æ²¡æ足å¤çå¯ç¨å åæ¶å¼åçå¼å¸¸ãæ æ³ç»§æ¿æ¤ç±»ã
InvalidCastException å æ æç±»å转æ¢ææ¾å¼è½¬æ¢å¼åçå¼å¸¸ã
InvalidOperationException å½æ¹æ³è°ç¨å¯¹äºå¯¹è±¡çå½åç¶ææ ææ¶å¼åçå¼å¸¸ã
InvalidProgramException å½ç¨åºå å«æ æ Microsoft ä¸é´è¯è¨ (MSIL) æå æ°æ®æ¶å°å¼åçå¼å¸¸ãè¿é常表示çæç¨åºçç¼è¯å¨ä¸æ bugã
InvalidTimeZoneException æ¶åºä¿¡æ¯æ ææ¶å¼åçå¼å¸¸ã
LdapStyleUriParser åºäº è½»åç®å½è®¿é®åè®® (LDAP) æ¹æ¡çå¯èªå®ä¹åæå¨ã
LoaderOptimizationAttribute ç¨äºä¸ºå¯æ§è¡åºç¨ç¨åºç主æ¹æ³è®¾ç½®é»è®¤çå è½½ç¨åºä¼åçç¥ã
LocalDataStoreSlot å°è£ å å槽以åå¨æ¬å°æ°æ®ãæ æ³ç»§æ¿æ¤ç±»ã
MarshalByRefObject å 许å¨æ¯æè¿ç¨å¤ççåºç¨ç¨åºä¸è·¨åºç¨ç¨åºåè¾¹ç访é®å¯¹è±¡ã
Math 为ä¸è§å½æ°ã对æ°å½æ°åå ¶ä»éç¨æ°å¦å½æ°æä¾å¸¸æ°åéææ¹æ³ã
MemberAccessException 访é®ç±»æåçå°è¯å¤±è´¥æ¶å¼åçå¼å¸¸ã
MethodAccessException éæ³å°è¯è®¿é®ç±»ä¸çç§ææ¹æ³æåä¿æ¤çæ¹æ³æ¶å¼åçå¼å¸¸ã
MissingFieldException è¯å¾å¨æ访é®ä¸åå¨çå段æ¶å¼åçå¼å¸¸ã
MissingMemberException è¯å¾å¨æ访é®ä¸åå¨çç±»æåæ¶å¼åçå¼å¸¸ã
MissingMethodException è¯å¾å¨æ访é®ä¸åå¨çæ¹æ³æ¶å¼åçå¼å¸¸ã
MTAThreadAttribute æ示åºç¨ç¨åºç COM 线ç¨æ¨¡å为å¤çº¿ç¨åå (MTA)ã
MulticastDelegate 表示å¤è·¯å¹¿æå§æï¼å³ï¼å ¶è°ç¨å表ä¸å¯ä»¥æ¥æå¤ä¸ªå ç´ çå§æã
MulticastNotSupportedException å°è¯ç»å两个åºäº Delegate ç±»åèé MulticastDelegate ç±»åçå§ææ¶å¼åçå¼å¸¸ãæ æ³ç»§æ¿æ¤ç±»ã
NetPipeStyleUriParser åºäºâIndigoâç³»ç»ç NetPipe æ¹æ¡çåæå¨ã
NetTcpStyleUriParser åºäºâIndigoâç³»ç»ç NetTcp æ¹æ¡çåæå¨ã
NewsStyleUriParser åºäºä½¿ç¨ç½ç»æ°é»ä¼ è¾åè®® (NNTP) çæ°é»æ¹æ¡çå¯èªå®ä¹åæå¨ã
NonSerializedAttribute æ示å¯åºååç±»çæ个å段ä¸åºè¢«åºååãæ æ³ç»§æ¿æ¤ç±»ã
NotFiniteNumberException å½æµ®ç¹å¼ä¸ºæ£æ 穷大ãè´æ 穷大æéæ°å (NaN) æ¶å¼åçå¼å¸¸ã
NotImplementedException å¨æ æ³å®ç°è¯·æ±çæ¹æ³ææä½æ¶å¼åçå¼å¸¸ã
NotSupportedException å½è°ç¨çæ¹æ³ä¸åæ¯æï¼æè¯å¾è¯»åãæ¥æ¾æåå ¥ä¸æ¯æè°ç¨åè½çæµæ¶å¼åçå¼å¸¸ã
Nullable æ¯æå¯ä¸ºå ¶åé nullNothingnullptrnull å¼ç¨ï¼å¨ Visual Basic ä¸ä¸º Nothingï¼ çå¼ç±»åï¼å¦å¼ç¨ç±»åãæ æ³ç»§æ¿æ¤ç±»ã
NullReferenceException å°è¯åæ¶å¼ç¨ç©ºå¯¹è±¡å¼ç¨æ¶å¼åçå¼å¸¸ã
Object æ¯æ .NET Framework ç±»å±æ¬¡ç»æä¸çææç±»ï¼å¹¶ä¸ºæ´¾çç±»æä¾ä½çº§å«æå¡ãè¿æ¯ .NET Framework ä¸ææç±»çæç»åºç±»ï¼å®æ¯ç±»åå±æ¬¡ç»æçæ ¹ã
ObjectDisposedException 对已éæ¾ç对象æ§è¡æä½æ¶æå¼åçå¼å¸¸ã
ObsoleteAttribute æ è®°ä¸å使ç¨çç¨åºå ç´ ãæ æ³ç»§æ¿æ¤ç±»ã
OperatingSystem 表示æå ³æä½ç³»ç»çä¿¡æ¯ï¼å¦çæ¬åå¹³å°æ è¯ç¬¦ãæ æ³ç»§æ¿æ¤ç±»ã
OperationCanceledException åæ¶çº¿ç¨æ£å¨æ§è¡çæä½æ¶å¨çº¿ç¨ä¸å¼åçå¼å¸¸ã
OutOfMemoryException 没æ足å¤çå å继ç»æ§è¡ç¨åºæ¶å¼åçå¼å¸¸ã
OverflowException å¨éä¸çä¸ä¸æä¸æè¿è¡çç®æ¯è¿ç®ãç±»å转æ¢æ转æ¢æä½å¯¼è´æº¢åºæ¶å¼åçå¼å¸¸ã
ParamArrayAttribute æ示æ¹æ³å¨è°ç¨ä¸å°å 许åæ°çæ°ç®å¯åãæ æ³ç»§æ¿æ¤ç±»ã
PlatformNotSupportedException å½åè½æªå¨ç¹å®å¹³å°ä¸è¿è¡æ¶æå¼åçå¼å¸¸ã
Random 表示伪éæºæ°çæå¨ï¼ä¸ç§è½å¤äº§ç满足æäºéæºæ§ç»è®¡è¦æ±çæ°ååºåç设å¤ã
RankException å°ç»´æ°é误çæ°ç»ä¼ éç»æ¹æ³æ¶å¼åçå¼å¸¸ã
ResolveEventArgs 为 TypeResolveãResourceResolve å AssemblyResolve äºä»¶æä¾æ°æ®ã
SerializableAttribute æ示ä¸ä¸ªç±»å¯ä»¥åºååãæ æ³ç»§æ¿æ¤ç±»ã
StackOverflowException å å å«çåµå¥æ¹æ³è°ç¨è¿å¤è导è´æ§è¡å æ 溢åºæ¶å¼åçå¼å¸¸ãæ æ³ç»§æ¿æ¤ç±»ã
STAThreadAttribute æ示åºç¨ç¨åºç COM 线ç¨æ¨¡åæ¯å线ç¨åå (STA)ã
String 表示ææ¬ï¼å³ä¸ç³»å Unicode å符ã
StringComparer 表示ä¸ç§å符串æ¯è¾æä½ï¼è¯¥æä½ä½¿ç¨ç¹å®ç大å°å以ååºäºåºåæ§çæ¯è¾è§åæåºå·æ¯è¾è§åã
SystemException 为 System å½å空é´ä¸çé¢å®ä¹å¼å¸¸å®ä¹åºç±»ã
ThreadStaticAttribute æ示éæå段çå¼å¯¹äºæ¯ä¸ªçº¿ç¨é½æ¯å¯ä¸çã
TimeoutException ç»è¿ç¨ææä½åé çæ¶é´è¿ææ¶å¼åçå¼å¸¸ã
TimeZone 表示æ¶åºã
TimeZoneInfo 表示ä¸çä¸çä»»ä½æ¶åºã
TimeZoneInfo..::.AdjustmentRule æä¾æå ³æ¶åºè°æ´ï¼å¦ä¸å¤æ¶å¶ä¹é´ç转æ¢ï¼çä¿¡æ¯ã
TimeZoneNotFoundException æ¾ä¸å°æ¶åºæ¶å¼åçå¼å¸¸ã
Type 表示类å声æï¼ç±»ç±»åãæ¥å£ç±»åãæ°ç»ç±»åãå¼ç±»åãæ举类åãç±»ååæ°ãæ³åç±»åå®ä¹ï¼ä»¥åå¼æ¾æå°éæé çæ³åç±»åã
TypeInitializationException ä½ä¸ºç±ç±»åå§å¼è®¾å®é¡¹å¼åçå¼å¸¸å¨å´çå è£ å¼åçå¼å¸¸ãæ æ³ç»§æ¿æ¤ç±»ã
TypeLoadException ç±»åå 载失败åçæ¶å¼åçå¼å¸¸ã
TypeUnloadedException è¯å¾è®¿é®å·²å¸è½½çç±»æ¶å¼åçå¼å¸¸ã
UnauthorizedAccessException å½æä½ç³»ç»å I/O é误ææå®ç±»åçå®å ¨é误èæç»è®¿é®æ¶æå¼åçå¼å¸¸ã
UnhandledExceptionEventArgs 为以ä¸æ åµä¸å¼åçäºä»¶æä¾æ°æ®ï¼åå¨ä¸ä¸ªä¸æ¯å¨ä»»ä½åºç¨ç¨åºåä¸å¤ççå¼å¸¸ã
Uri æä¾ç»ä¸èµæºæ è¯ç¬¦ (URI) ç对象表示形å¼å对 URI åé¨åçè½»æ¾è®¿é®ã
UriBuilder 为ç»ä¸èµæºæ è¯ç¬¦ (URI) æä¾èªå®ä¹æé å½æ°ï¼å¹¶ä¿®æ¹ Uri ç±»ç URIã
UriFormatException å½æ£æµå°æ æçç»ä¸èµæºæ è¯ç¬¦ (URI) æ¶å¼åçå¼å¸¸ã
UriParser åææ°ç URI æ¹æ¡ãè¿æ¯ä¸ä¸ªæ½è±¡ç±»ã
UriTemplate ä¸ä¸ªè¡¨ç¤ºç»ä¸èµæºæ è¯ç¬¦ (URI) 模æ¿çç±»ã
UriTemplateEquivalenceComparer ä¸ä¸ªç¨äºæ¯è¾ UriTemplate å®ä¾ä»¥ç¡®å®ç»æï¼èéå¼ç¨ï¼çææ§çç±»ã
UriTemplateMatch ä¸ä¸ªç±»ï¼è¡¨ç¤ºå¯¹ UriTemplate å®ä¾æ§è¡å¹é æä½çç»æã
UriTemplateMatchException è¡¨ç¤ºå° Uri ä¸ UriTemplateTable å¹é æ¶åççé误ã
UriTemplateTable ä¸ä¸ªè¡¨ç¤ºä¸ç»å ³è UriTemplate 对象çç±»ã
UriTypeConverter å° String ç±»å转æ¢ä¸º Uri ç±»åï¼åä¹äº¦ç¶ã
ValueType æä¾å¼ç±»åçåºç±»ã
Version è¡¨ç¤ºå ¬å ±è¯è¨è¿è¡åºç¨åºéççæ¬å·ãæ æ³ç»§æ¿æ¤ç±»ã
WeakReference 表示弱å¼ç¨ï¼å³å¨å¼ç¨å¯¹è±¡çåæ¶ä»ç¶å 许åå¾åæ¶æ¥åæ¶è¯¥å¯¹è±¡ã
--------------------------------------------
å ·ä½å¯ä»¥å»msdnçã
QT中 error: ‘CHAR’ was not declared in this scope,还有就是js call 源码解析UpdateData();也出现错误
Qt中没有默认的CHAR,你说你是从MFC转来的,那么在MFC里CHAR就是ps网站图片源码char,所以你把CHAR改成char吧。抢红包外挂软件源码
你追问楼上的问题:error: cannot convert ‘QString’ to ‘const char*’ for argument ‘2’ to ‘char* strcpy(char*, const char*)’
上面这个错误是第7行 strcpy(filename,QString(m_NameValue));
strcpy是对char*操作的,你的第二个参数是QString啊,所以要改成
strcpy(filename,QString(m_NameValue).toLatin1());
其中QString(m_NameValue).toLatin1()的作用是:以参数 m_NameValue 构造QString对象,然后调用函数 QString::toLatin1() 将构造的对象转换为C风格字符串,也就是char *的类型,以符合strcpy函数。
QString 类似于C++的睡觉挣钱公式指标源码string 非常好用,你可以多看帮助文档。
建议你将QT写成Qt以免误解。溯源码防伪的原理