Can I execute the file in buffer ? (executable binary file, CMemFile)

bitmny_dot_com 2003-08-20 03:44:55
Hi,

I have generate the executable binary file of class CMemFile in the memory, I want to know how to execute it?

thks in advance!

Note: I don't want to create any disk file, so the method writing the file to the disk and then execute is not I need !
...全文
28 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
farfh 2003-08-22
  • 打赏
  • 举报
回复
gz
bitmny_dot_com 2003-08-22
  • 打赏
  • 举报
回复
二位能否说得具体一点?我给分的,呵呵
NowCan 2003-08-21
  • 打赏
  • 举报
回复
哪有那么容易,文件要重定位杂拌?
xhzhang6 2003-08-20
  • 打赏
  • 举报
回复
直接把内存地址强制转换为函数指针,然后调用它
或者通过内嵌汇编也行
NowCan 2003-08-20
  • 打赏
  • 举报
回复
A process runs in a process?

15,472

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 进程/线程/DLL
社区管理员
  • 进程/线程/DLL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧