请大神解答为什么我的电脑,开机会黑屏,丢失了detour.dll软件但是这些功能还能用,就是黑屏,

请大神解答为什么我的电脑,开机会黑屏,丢失了detour.dll软件但是这些功能还能用,就是黑屏,,第1张

重装系统就可以解决了,系统U盘制作及重装系统的 *** 作步骤为:

1.制作启动U盘:到实体店买个4-8G的U盘(可以要求老板帮忙制作成系统U盘即可省略以下步骤),上网搜索下载装机员U盘启动PE制作工具,将U盘插入电脑运行此软件制作成启动U盘。

2.复制系统文件:上网到装机员论坛下载WINXP或WIN7等 *** 作系统的GHO文件,复制到U盘或启动工具指定的U盘文件夹下。

3.设置U盘为第一启动磁盘:开机按DEL键(笔记本一般为F2或其它)进入BIOS设置界面,进入BOOT选项卡设置USB磁盘为第一启动项(注:部分电脑需要在此时插入U盘进行识别才能设置)。

4.U盘启动并重装系统:插入U盘启动电脑,进入U盘启动界面按提示利用下载来的GHO文件进行克隆安装。

5.如果有系统光盘(没有也可以去电脑商店购买),则将系统光盘插入光驱,开机后按DEL键(笔记本一般为F2或根据屏幕底行提示字符)进入CMOS,并在BOOT选项卡中设置光驱(CD-ROM或DVD-ROM)为第一启动项。重启进入光盘启动菜单,选择将系统安装到C区,再按提示 *** 作即可。

用Detours吧。这个比较简单。给你写个例子。Hook了删除文件API DeleteFile。

#include "stdafx.h"

#include <io.h>

#include <stdio.h>

#include "detours.h"#pragma data_seg("MySec")

HWND g_hMain=NULL //主窗体句柄

#pragma data_seg()#pragma comment(linker,"/section:MySec,RWS")

#pragma comment(lib,"detours.lib")HHOOK g_MessageHook=NULL //消息HOOK

HINSTANCE hInst=NULL //dll实例

HWND g_hWnd=NULL //目标句柄void Intercept()

void UnIntercept()DETOUR_TRAMPOLINE(BOOL WINAPI Real_DeleteFileW(

LPCWSTR lpFileName),DeleteFileW)LRESULT CALLBACK MessageProc(

int code, // hook code

WPARAM wParam, // not used

LPARAM lParam // message data

)

{

Intercept()

return CallNextHookEx(g_MessageHook,code,wParam,lParam)

}

BOOL SetAPIHook()

{ g_MessageHook=SetWindowsHookEx(WH_GETMESSAGE,(HOOKPROC)MessageProc,hInst,0)

if(g_MessageHook!=NULL)

{

return true

}

else

{

return false

}

}void UnAPIHook()

{

if(g_MessageHook!=NULL)

{

UnhookWindowsHookEx(g_MessageHook)

g_MessageHook=NULL

}

}

BOOL WINAPI DllMain(

HINSTANCE hinstDLL, // handle to the DLL module

DWORD fdwReason, // reason for calling function

LPVOID lpvReserved // reserved

)

{

switch(fdwReason)

{

case DLL_PROCESS_ATTACH:

hInst=hinstDLL

g_hMain =FindWindowEx(NULL,NULL, NULL,"myexe")

if(g_hMain!=NULL)

{

SetAPIHook()

} break

case DLL_PROCESS_DETACH:

UnIntercept()

break

}

return true

}

BOOL WINAPI Replace_DeleteFileW(LPCWSTR lpFileName)

{

BOOL bRet

//加入你的代码

bRet= Real_DeleteFileW(lpFileName)

return bRet

}void Intercept()

{

DetourFunctionWithTrampoline((PBYTE)Real_DeleteFileW, (PBYTE)Replace_DeleteFileW)

}

void UnIntercept()

{

DetourRemove( (PBYTE)Real_DeleteFileW,(PBYTE)Replace_DeleteFileW)

}

谚语内容包括极广,有的属于生活上各方面的常识谚语,下面是我为大家收集的关于健康的英语谚语,供大家参考,希望可以帮到你,欢迎大家一起来阅读!

有关健康的英语谚语

1、饭前一碗汤,气死好药方。

A bowl of soup before dinner is a good prescription for breathlessness.

2、甜言夺志、甜食坏龄。

Sweet words win ambition, sweet food bad age.

3、尽量少喝酒,病魔绕道走。

Drink as little as possible and take a detour.

4、食五谷杂粮,保身体强壮。

Eat five grains to keep your body strong.

5、狂饮伤身,暴食伤胃。

Drinking hurts the body and eating hurts the stomach.

6、蔬菜是个宝,餐餐不可少。

Vegetables are a treasure and meals are indispensable.

7、笑口常开,青春常在。

Laughter is always open, youth is always there.

8、小孩不蹦,必定有病。

If a child does not jump, he must be ill.

9、饭后散步,不进药铺

Walk after meals, not at the pharmacy.

10、入厨先洗手,上灶莫多言。

Wash your hands before entering the kitchen.

11、一碗姜糖汤,去风去寒赛仙方。

A bowl of ginger soup, go to the wind to Hansai Xianfang.

12、饭后一支烟,害处大无边。

A cigarette after a meal can do great harm.

13、粥里加山楂,双眼不会花。

Hawthorn in porridge, eyes will not flower.

14、刷牙用温水,牙齿笑咧嘴。

Brush your teeth with warm water and grin your teeth.

15、冬不蒙头,春不露背。

Winter does not cover its head, spring does not show its back.

16、心胸宽大能撑船,健康长寿过百年。

Wide-minded can support a boat, healthy and longevity over a hundred years.

17、饮了空腹茶,疾病身上爬。

Drinking fasting tea, the disease climbed.

18、要健脑,把绳跳。

Brain-building, jump rope.

19、小小黄瓜是个宝,减肥美容少不了。

Small cucumber is a treasure, weight loss beauty is indispensable.

20、小病不治,大病难医。

A minor illness is incurable, but a serious one is difficult to cure.

21、锻炼要趁小,别等老时恼。

Exercise while young, don't wait for old age.

22、治理血小板,花生衣煮饭。

Treat platelets and cook peanut clothes.

23、血压高发昏,胡罗卜粥灵。

High blood pressure, coma, carrot porridge.

24、五谷加红枣,胜似灵芝草。

Five grains and red dates are better than Ganoderma lucidum.

25、夏令防中暑,荷叶同粥煮。

Summer heat stroke prevention, lotus leaves with porridge boiled.

26、晚上吃少,饮食节制身体好。

Eat less in the evening, eat moderately and keep fit.

27、要得腿不废,走路往后退。

Keep your legs clean and walk backwards.

28、防止脚气病,米糠煮粥饮。

To prevent beriberi, rice bran boiled porridge.

29、预防肠胃病,饮食要干净。

Prevent gastrointestinal diseases and keep your diet clean.

30、吃药不忌嘴,跑断医生腿。

Take medicine without fear of mouth, break the doctor's leg.

关于健康的英文谚语

1、心虚气不足,桂圆米煮粥。

Heart deficiency and Qi deficiency, longan rice porridge.

2、常洗衣服常洗澡,常晒被褥疾病少。

Often wash clothes often bathe, often sun bedding disease less.

3、主粮掺杂粮,蒸饭喷喷香。

The main grain is mixed with grain, and the steamed rice smells good.

4、竹从叶上枯,人从脚上老天天跑步走,药铺不用找。

Bamboo withered from the leaves, people aged from the feetrunning every day, pharmacies need not be found.

5、若要皮肤好,粥里加红枣。

If you want good skin, add jujube in porridge.

6、吃馍喝凉水,瘦成干棒槌。

Eat steamed bread and drink cold water, thin into dry mallets.

7、常喝茶,少烂牙。

Drink tea often and have fewer rotten teeth.

8、欲得长生,肠中常清。

If you want to live forever, your intestines will always be clear.

9、吃面多喝汤,免得开药方。

Eat more noodles and drink more soup to avoid prescribing.

10、养生在动,动过则损。

Keep your health alive, but move too much will damage you.

11、谷贱伤农,饭多伤胃。

Grain hurts farmers, but food hurts stomach.

12、饭后一百步,强如上药铺。

A hundred steps after a meal is better than going to a pharmacy.

13、少吃多餐,益寿延年。

Eat less, eat more, and live longer.

14、人想长寿安,要减夜来餐。

People want to live a long life. They need to eat less at night.

15、赤豆利脏腑,祛毒又滋补。

Chidou benefits the viscera, eliminating poison and nourishing.

16、人说苦瓜苦,我说苦瓜甜。

People say bitter melon is bitter, I say bitter melon is sweet.

17、脱即着,胜于服药。

It's better to take off than take medicine.

18、感冒不是病,不治要了命。

A cold is not a disease. It kills you if you don't cure it.

19、吃洋参,不如睡五更。

Eating ginseng is better than sleeping five times.

20、西红柿,营养好,貌美年轻疾病少。

Tomatoes, good nutrition, beautiful young and less disease.

21、人勤病就懒,人懒病就勤。

People are lazy when they are sick and lazy when they are sick.

22、祸从口出,病由心生。

Misfortunes come from the mouth and diseases from the heart.

23、饭前一口汤,胜过良药方。

A soup before a meal is better than a good prescription.

24、大蒜是个宝,抗癌效果好。

Garlic is a treasure with good anti-cancer effect.

25、一日不吃姜,身体不安康。

Don't eat ginger for a day, you're not healthy.

26、饭前喝口汤,永远没灾殃。

Take a soup before dinner and never suffer.

27、大蒜不值钱,能防脑膜炎。

Garlic is not valuable, it can prevent meningitis.

28、心灵手巧,动指健脑。

Hand and soul, finger and brain.

29、剃头常洗澡,身体自然好。

Shaving often takes a bath and is naturally in good health.

30、白菜萝卜汤,益寿又健康。

Chinese cabbage and radish soup is good for life and health.


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/tougao/7757363.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-09
下一篇 2023-04-09

发表评论

登录后才能评论

评论列表(0条)

保存