<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>宝峰科技 - FreeBasic</title>
    <link>https://www.wgbcw.com/forum-88-1.html</link>
    <description>Latest 20 threads of FreeBasic</description>
    <copyright>Copyright(C) 宝峰科技</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Tue, 12 May 2026 20:18:36 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.wgbcw.com/static/image/common/logo_88_31.gif</url>
      <title>宝峰科技</title>
      <link>https://www.wgbcw.com/</link>
    </image>
    <item>
      <title>【叶子出品】FreeBasic 根据文件路径获取 目录、文件名、后缀</title>
      <link>https://www.wgbcw.com/thread-3974-1-1.html</link>
      <description><![CDATA[本代码采用 crt 实现，为什么呢？因为FB的标准库太坑了，除了混乱的类型以外，也会明显增量程序，并且性能很差。

上代码~

[mw_shl_code=vb,true]Function GetPathFloder(sInPath As ZString Ptr, sOutPath As ZString Ptr) As Integer
]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Sun, 30 Aug 2015 06:40:52 +0000</pubDate>
    </item>
    <item>
      <title>xywh Game Engine 0.8 开源发布【2D游戏引擎，支持多种开发语言】</title>
      <link>https://www.wgbcw.com/thread-3973-1-1.html</link>
      <description><![CDATA[XGE(简称)是我利用闲暇时间撸出来的一套 2D游戏引擎，功能完善，性能卓越……（好吧，我实在编不下去了……）其实对比已有的2D引擎这个引擎算是比较优秀的（毕竟2D技术停滞很久了）




特点：

[*]易学易用：操作简单直观，更具象化，API命名简短易懂。
[*]资料齐全： ...]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Sun, 30 Aug 2015 06:08:05 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】星月运行库-xywhLog(日志模块)【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3922-1-1.html</link>
      <description><![CDATA[是一个类，功能只有日志输出，就不列表了。
说一下特色：

预申请内存优化【自动增量】，速度非常快。
日志级别【可以方便组成树状日志查看】
自动换行
两种写出方式【覆盖式、增量式】



另外需要注意的是，这个日志模块是依赖[星月运行库-文件模块]的
 ...]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Mon, 12 Jan 2015 05:42:15 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】星月运行库-File(文件模块)【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3921-1-1.html</link>
      <description><![CDATA[提供功能如下：

PutFile【写入数据到文件】
GetFile【从文件读取数据】
NewFile【新建文件】
FileExists【判断文件是否存在】
FileLen【获取文件大小】
SetFileSize【直接设置文件大小】
GetRandomFileName【获取不重复的临时文件名】
Open_File【打开文件】
Put_File ...]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Mon, 12 Jan 2015 05:35:35 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】星月运行库-xywhSDK(基础功能模块)【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3920-1-1.html</link>
      <description><![CDATA[提供功能如下：

rtl.Shell【运行程序，等待准备完毕(与VB同名函数相同)，不会出现控制台窗口】
rtl.Run【运行程序，立即返回，不会出现控制台窗口】
rtl.Chain【运行程序，等待其结束后返回，不会出现控制台窗口】
rtl.DoEvents【执行一轮GUI消息，与VB同名函数相同】
 ...]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Mon, 12 Jan 2015 05:26:00 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】FreeBasic争抢式多线程的简单范例</title>
      <link>https://www.wgbcw.com/thread-3919-1-1.html</link>
      <description><![CDATA[这个东西是一开始学FB时做的一个小测试代码
本身没什么参考价值，但对于从VB转到FB的人来说这东西可以解除一些迷惑。

另外多线程属于负优化功能，多用并不会使程序效率提升，反而会导致效率变差，尤其是争抢式，请慎用。

[mw_shl_code=vbnet,true]#Include \&quot;Windows.b ...]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Thu, 08 Jan 2015 10:10:20 +0000</pubDate>
    </item>
    <item>
      <title>FreeBasic创建System用户进程【提供静态库】</title>
      <link>https://www.wgbcw.com/thread-3918-1-1.html</link>
      <description><![CDATA[作者是谁已经无法考察了，当初在cnbasic搜集到的资料，是一个静态链接库
提供了 CreateSystemProcess 函数，使用这个函数就可以创建一个System用户的进程了

因为东西比较简单，就不放图了，直接下载了运行一下就知道怎么回事。
 ...]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Thu, 08 Jan 2015 10:05:06 +0000</pubDate>
    </item>
    <item>
      <title>使用FreeBasic编写的连连看游戏【作者：KingBaker】</title>
      <link>https://www.wgbcw.com/thread-3917-1-1.html</link>
      <description><![CDATA[代码不是我写的，都放在一个文件中，500多行。
作者是KingBaker，游戏使用FBGFX实现图形部分，声音部分使用sndPlaySound函数播放。

代码注释很全，作为学习资料来讲是非常不错的。]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Thu, 08 Jan 2015 09:58:02 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】窗口标题修改工具【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3774-1-1.html</link>
      <description><![CDATA[可以作为学习FB的一个简单入门范例来看，代码很简单，是个GUI程序。]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Mon, 17 Nov 2014 05:14:55 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】根据文本信息动态调用API【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3773-1-1.html</link>
      <description><![CDATA[[mw_shl_code=vbnet,true]#Include Once \&quot;windows.bi\&quot;


Function CallAPI Cdecl (ByVal LibPath As ZString Ptr,ByVal FuncName As ZString Ptr,ByVal ParamNum As Integer,...) As Integer
]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
<enclosure url="http://wgbcw.zxq.net/attachment/forum/Dim As Integer RetInt
" length="hins = LoadL" type="image/jpeg" />      <pubDate>Mon, 17 Nov 2014 05:06:55 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】FreeBasic实现的一个更换壁纸程序【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3772-1-1.html</link>
      <description><![CDATA[通过命令行方式更换，源代码加一起就十几行，没什么技术含量，就不截图了

下载地址：]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Mon, 17 Nov 2014 04:40:20 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】FreeBasic实现通过域名获取IP地址【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3771-1-1.html</link>
      <description><![CDATA[效果我就不贴图了，因为是控制台程序，代码也非常简单。

下载地址：]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Mon, 17 Nov 2014 04:37:25 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】FreeBasic实现的摄像头拍照软件【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3770-1-1.html</link>
      <description><![CDATA[另外压缩包内还有一份VFW的开发手册，本程序就是参考这份手册开发的，算是一个范例吧。
不过稍微修改就可以制作一个非常完善的摄像头照相或录像软件了。

截图的台式机没有安装摄像头，故而黑屏。


 ...]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Mon, 17 Nov 2014 03:54:37 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】锁定文件夹使其他程序不能访问【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3760-1-1.html</link>
      <description><![CDATA[[mw_shl_code=vb,true]#Include Once \&quot;windows.bi\&quot;

Dim Shared File_Share_Flag As Long
Dim Shared hDir As HANDLE

Extern \&quot;Windows-MS\&quot;
]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Tue, 04 Nov 2014 08:06:57 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】FreeBasic载入jpg等格式图片为HBitmap【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3759-1-1.html</link>
      <description><![CDATA[MASM中提供的代码，之前网络中有流传，但不知为什么，少编译了memcopy模块，所以我重新编译了一下，把模块加上了，现在静态库FB可以很方便的使用。]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Tue, 04 Nov 2014 07:32:15 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】一段非常简单的多线程演示代码</title>
      <link>https://www.wgbcw.com/thread-3758-1-1.html</link>
      <description><![CDATA[[mw_shl_code=vb,true]#Include \&quot;Windows.bi\&quot;

Dim Shared i As Long
Dim Shared MeMutex As Any Ptr


Sub Thread1(Param As DWORD)
]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Tue, 04 Nov 2014 07:20:46 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】多年前闲的蛋疼写的字符串翻转</title>
      <link>https://www.wgbcw.com/thread-3757-1-1.html</link>
      <description><![CDATA[[mw_shl_code=vb,true]#Include \&quot;Windows.bi\&quot;
#Include \&quot;crt/string.bi\&quot;




Sub swstr(BufferStr As ZString Ptr)
]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
<enclosure url="http://wgbcw.zxq.net/attachment/forum/Dim RetStr As UByte Ptr = Allocate(nInLen)
" length="For i As Integer = 0 To nInLen-1
" type="image/jpeg" />      <pubDate>Tue, 04 Nov 2014 07:17:53 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】FB使用迅雷开放引擎加速下载文件【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3756-1-1.html</link>
      <description><![CDATA[迅雷开放引擎最大的好处就是稳定，最大的缺点嘛……万一点错了，会安装迅雷。
看需求吧，如果真要下载什么大东西，那迅雷开放引擎自然是极好的。]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Tue, 04 Nov 2014 06:53:35 +0000</pubDate>
    </item>
    <item>
      <title>【叶子出品】带进度条下载文件的简单演示【提供源码】</title>
      <link>https://www.wgbcw.com/thread-3755-1-1.html</link>
      <description><![CDATA[核心代码只有几十行，非常精炼，出于演示目的，不插入任何代码垃圾。]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Tue, 04 Nov 2014 06:19:46 +0000</pubDate>
    </item>
    <item>
      <title>【参考资料】COM技术初探，一份非常Nice的用SDK开发COM的资料</title>
      <link>https://www.wgbcw.com/thread-3754-1-1.html</link>
      <description><![CDATA[比起其他作者自己都没摸清楚COM内在就草率出教程，这篇教程我认为是经典中的经典，经典在他并非跟你讲一大堆道理，而是直接用最基本的SDK把COM实实在在的给做出来了，
这样非常有助于快速理解吸收COM的本质，唯有理解本质的东西，才能保证使用起来得心应手。


 ...]]></description>
      <category>FreeBasic</category>
      <author>叶子的离开</author>
      <pubDate>Tue, 04 Nov 2014 06:12:33 +0000</pubDate>
    </item>
  </channel>
</rss>