|
[求助]如何定位CRC32算法代码位置
这个程序是用E语言写的,CRC的算法实现貌似是封装在它的模块中. 找一个E语言的工具可以很容易的定位到那个 按钮的响应函数. PS: EDB88320 这个值是用来动态生成CRC32表的Key,但对于不同实现的CRC算法,这个值可能不太一样. |
|
|
|
|
|
[招聘]招聘逆向工程师~!
应该是运行着Win平台的街机. |
|
[求助]练手程序求破
在这个地址下断试试,00492B45 |
|
根据英文,组合出程序,我英语太烂了!
1. 创建一个基于对话框的应用程序,并且在向导中选中"automation"筛选框. 2. 添加如下按钮 "Start", "Run", "Close", "First Slide", "Last Slide", Previous Slide" "Next Slide"及相应的响应函数命名见下面的 3. 在InitInstance函数添加如下代码 // Initialize OLE libraries if (!AfxOleInit()) { AfxMessageBox("Failed to initialize OLE"); return FALSE; } 4. 在对话框中-->Class wizard-->Automation Tab--> Add Class...-->From a type library 定位到Office安装目录下选择msppt8.olb 5.在对话框头文件中添加如下代码: #include "msppt8.h" 6.在对话框头文件中添加如下变量 _Application app; // app is the PowerPoint _Application object Presentations Presentations; _Presentation Presentation; SlideShowView View; SlideShowWindow SlideShowWindow; SlideShowSettings slideshow; Slides slides; _Slide slide; 下面就是在各按钮的响应函数中添加相应代码,注意:多了一个Open按钮. 7.To start PowerPoint, you have to write this code in the Start button's function. void CPowerPntDlg::OnBtnStart() { // Start PowerPoint and get Application object... if(!app.CreateDispatch("Powerpoint.Application")) { AfxMessageBox("Couldn't start PowerPoint."); } else // Make PowerPoint visible and display a message { app.SetVisible(TRUE); TRACE("PowerPoint is Running!"); } } 8.To open a presentation from the hard disk, add this code in the Open button's function call. void CPowerPntDlg::OnBtnOpen() { static char BASED_CODE szFilter[] = "PowerPoint Files (*.ppt)|*.ppt||"; CFileDialog FileDlg(TRUE,"PPT",NULL,OFN_FILEMUSTEXIST|OFN_NONETWORKBUTTON |OFN_PATHMUSTEXIST,szFilter); FileDlg.DoModal(); // To get the selected file's path and name CString strFileName; strFileName = FileDlg.GetPathName(); if(!strFileName.IsEmpty()) { Presentations = app.GetPresentations(); Presentation = Presentations.Open(strFileName,0,0,1); } } 9.To close PowerPoint add this code in the Close button's function call. void CPowerPntDlg::OnBtnClose() { if (CanExit()) app.Quit(); } 10.To run the slideshow use this code in the Run button's function call void CPowerPntDlg::OnBtnRun() { Presentations = app.GetActivePresentation(); slides = Presentation.GetSlides(); // Show the first slide of the presentation slide = slides.Item(COleVariant((long)1)); //Run the show slideshow = Presentation.GetSlideShowSettings(); slideshow.Run(); } 11.Sometimes, you might want to start all over from the first slide. To go to the first slide you can use this code. void CPowerPntDlg::OnBtnFirst() { Presentation = app.GetActivePresentation(); SlideShowWindow = Presentation.GetSlideShowWindow(); View = SlideShowWindow.GetView(); View.First(); } 12.And similarly, to go to the last slide void CPowerPntDlg::OnBtnLast() { Presentation = app.GetActivePresentation(); SlideShowWindow = Presentation.GetSlideShowWindow(); View = SlideShowWindow.GetView(); View.Last(); } 13.Now that you have the slideshow running, you would obviously want to go to the previous slide at some point of time. To do just that, you can use this code. void CPowerPntDlg::OnBtnPrevious() { Presentation = app.GetActivePresentation(); SlideShowWindow = Presentation.GetSlideShowWindow(); View = SlideShowWindow.GetView(); View.Previous(); } 14.Interested to go to the next slide now ? In that case, this function will help you. void CPowerPntDlg::OnBtnNext() { Presentation = app.GetActivePresentation(); SlideShowWindow = Presentation.GetSlideShowWindow(); View = SlideShowWindow.GetView(); View.Next(); } |
|
[原创]VIM IDE开发环境-全自动的哦
谢谢,下来试下如何. |
|
[招聘]上海北斗天钰软件招聘--软件开发工程师及渗透测试工程师
顶下合肥的招聘~ |
|
[原创]一次艰难的渗透纪实
多谢LZ分享~ |
|
[招聘]合肥中新软件公司
支持一下合肥的安全公司。 |
|
[活动结束]Kx币换QQ公仔,限量30只
LS的真多啊~ |
|
[诚聘]VC研发工程师
合肥的公司,有兴趣,就是简介少了点, |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值