1 2 3 4 5 ··· 9 下一页
摘要: Linux: nm -D test.soobjdump -tT test.so Android:readelf --dyn-syms test.so 阅读全文
posted @ 2023-10-19 15:49 george_cw 阅读(62) 评论(0) 推荐(0) 编辑
摘要: /* * @lc app=leetcode.cn id=4 lang=cpp * @lcpr version=21917 * * [4] 寻找两个正序数组的中位数 */ // @lc code=start class Solution { public: double findMedianSorte 阅读全文
posted @ 2023-10-09 14:01 george_cw 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 离线安装.net 0x8024402c 报错,原来是版本不对导致 参考:Windows 10 离线安装.NET Framework 3.5(包括.NET 2.0和3.0)_不联网安装framework_车轮滚滚向西行的博客-CSDN博客 需要安装对应版本的安装包 执行安装命令 dism /onlin 阅读全文
posted @ 2023-08-22 14:21 george_cw 阅读(1069) 评论(0) 推荐(0) 编辑
摘要: 发现一个奇怪的问题,某个VerticalLayout添加多个控件,滚动条能正常显示 但是滚动的时候,绘制出错,如下图: 后来发现 xml 添加属性 bkcolor="#FF0F1415" 后正常,应该是缺少bkcolor属性导致绘制异常 记录一下~ 阅读全文
posted @ 2023-08-16 11:03 george_cw 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 记录一个堆栈被破坏的问题 debug 版本正常,release版本概率出现崩溃, release模式调试提示错误:critical error detected c0000374 问题不好跟,崩溃地方实际是没问题的,出问题的是在其他堆栈被破坏的地方 可能是:strcpy 拷贝字符串长度过长导致内存越 阅读全文
posted @ 2023-08-14 20:08 george_cw 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 打开 .vcproj 文件一般会看到 ProjectType="typeDynamicLibrary"这个表示dll工程 exe工程可能不存在ProjectType这个属性,不同的VS版本有不同的表示形式,但是万变不离其宗。 如:存在以下关键字,表示控制台工程。Keyword="Console Ap 阅读全文
posted @ 2021-12-25 16:48 george_cw 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 1. 一般来说会自定义一个窗口类继承UIBase.h中定义的CWindowWnd类。 1 class CMainFrameUI: 2 public CBasicWnd,public INotifyUI,public IDialogBuilderCallback 3 { 4 ... 5 }; CWin 阅读全文
posted @ 2021-01-16 16:16 george_cw 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 使用esyhook去hook系统api,可以抓取一些想要的信息 先创建一个dll工程 1 #include "easyhook.h" 2 3 #if _WIN64 4 #pragma comment(lib, "EasyHook64.lib") 5 #else 6 #pragma comment(l 阅读全文
posted @ 2020-09-07 14:09 george_cw 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: /*++ BUILD Version: 0005 // Increment this if a change has global effects Copyright (c) Microsoft Corporation. All rights reserved. Module Name: ntsta 阅读全文
posted @ 2020-04-01 15:53 george_cw 阅读(1998) 评论(0) 推荐(0) 编辑
摘要: Android Q 之后,都不能使用 startActivity 在后台启动了。 详情见:https://developer.android.google.cn/guide/components/activities/background-starts?hl=zh-cn 可以使用fullscreen 阅读全文
posted @ 2020-03-16 14:12 george_cw 阅读(6068) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 9 下一页