找回密码
 加入
搜索
查看: 3010|回复: 5

[系统综合] 编译好的网络电视程序点击调用flash的页面就该内存不能为read

[复制链接]
发表于 2011-11-3 16:25:54 | 显示全部楼层 |阅读模式
编译好的网络电视程序点击调用flash的页面就0x00000000"指令引用的"0x00000000"内存.该内存不能为"read"
代码如下
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=ico.ico
#AutoIt3Wrapper_outfile=博爱网络在线试听程序.exe
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_Comment=for venia
#AutoIt3Wrapper_Res_Description=博爱网络在线试听程序
#AutoIt3Wrapper_Res_Fileversion=1.2.0.0
#AutoIt3Wrapper_Res_LegalCopyright=博爱制作
#AutoIt3Wrapper_Res_requestedExecutionLevel=highestAvailable
#AutoIt3Wrapper_Res_Field=设计|博爱
#AutoIt3Wrapper_Res_Field=QQ|329712715
#AutoIt3Wrapper_Res_Field=E-Mail|nameboai@163.com
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
#include <WinAPI.au3>

Opt("guicloseonesc", 0)
Opt("TrayMenuMode", 1)
FileInstall("USkin.dll", @TempDir & "\USkin.Dll") ;这里是将脚本目录里面的Uskin.dll镶入到EXE文件里面,当EXE文件运行的时候自动将文件放置临时目录【@TempDir】里面运行。
FileInstall("Seven.msstyles", @TempDir & "\Seven.msstyles");这里是将脚本目录里面的【Skins\Skin.msstyles】文件镶入到EXE文件里面,当EXE文件运行的时候自动将文件放置临时目录【@TempDir】里面运行。
$skins = @TempDir & "\Seven.msstyles" ;这里设定【$skins】为皮肤路径
$Dll_ = DllOpen(@TempDir & "\USkin.dll") ;这里设定【$Dll_】为皮肤调用文件【USkin.dll】的路径
DllCall($Dll_, "int", "USkinInit", "str", "Null", "str", "NULL", "str", $skins) ;载入皮肤到DLL返回值
DllCall($Dll_, "int", "USkinLoadSkin", "str", $skins) ;启用皮肤

$Form1 = GUICreate("博爱网络在线试听程序v1.2,全心全意为您!",770, 570, 200,200)
GUICtrlSetState(-1, $GUI_CHECKED)
Global $oIE = _IECreateEmbedded()
Global $GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 770, 570)
GUISwitch($Form1)
GUISetState(@SW_SHOW)

_IENavigate($oIE, "http://tv.ba27.com")

While 1
WEnd

GUIDelete()

Exit
 楼主| 发表于 2011-11-3 16:30:13 | 显示全部楼层
请教高手在那么回事
发表于 2011-11-3 16:45:00 | 显示全部楼层
回复 1# ba27


    我帮你测试过,没有问题,当然由于你没有上传皮肤DLL文件,我只好注释掉了22-27行来编译了
 楼主| 发表于 2011-11-3 16:49:02 | 显示全部楼层
程序运行是没有问题不过点击里面的野蛮就会出现了
发表于 2011-11-4 09:40:57 | 显示全部楼层
我试过点击也没问题哈,win2003server
发表于 2011-11-4 12:49:05 | 显示全部楼层
使用的dll在退出的时候需要关闭。大概是这个原因。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-20 22:39 , Processed in 0.150983 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表