开机提示c:WINDOWSrdpcilp找不到应用程序

开机提示c:WINDOWSrdpcilp找不到应用程序,第1张

分类: 电脑/网络 >>反病毒

问题描述:

请问为什么会这样,请问怎么解决呢``谢谢

解析:

注册表友激残留了无用的DLL文件。

解决方法。“单击“开始--运行” 在里面输入“regedit”打开注册表。

再依次找到"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"

在右段告源侧的键值项窗口中找到“c:\WINDOWS\rdpcilp”的项,将它删除就可以了!

如果上面的方法不可以

你就要使用第三方软件清理注册表握态了

建议使用超级兔子清理注册表垃圾

超级兔子魔法设置 V7.9

----------------------------------

pctutu/news?id=88

需要些SDK的知识,windows的实现中基本上都是用的C语言,其各种接口基本上都是原生C语言函数,具体比如SDK用的windows API。

使用纯C语言编写windows程序,工作量将会相当大,下面是一个小例子:

/雹橡稿*

* This is a simple windows program, it does nothing but draw an ellipse.

* Windows SDK, Win32 API ,Pure C, (Not C++ or MFC !!)

* Suxpert at gmail dot com, 2008/8/24

* */

#include <windows.h>

LONG WINAPI WndProc( HWND, UINT, WPARAM, LPARAM )

int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,

LPSTR lpszCmdLine, int nCmdShow ){

/* The Entry for windows program, just like main() in dos */

WNDCLASS wc

HWND hwnd

MSG msg

wc.style = 0 // Class style

wc.lpfnWndProc = (WNDPROC)WndProc // Window procedure address

wc.cbClsExtra = 0 // Class extra bytes

wc.cbWndExtra = 0 // Window extra bytes

wc.hInstance = hInstance // Instance handle

wc.hIcon = LoadIcon( NULL, IDI_WINLOGO ) // Icon handle

wc.hCursor = LoadCursor( NULL, IDC_ARROW ) //源孝 Cursor handle

wc.hbrBackground = (HBRUSH)( COLOR_WINDOW + 1 )// Background color

wc.lpszMenuName = NULL // Menu name

如前wc.lpszClassName = "WinSDKtest" // WNDCLASS name

RegisterClass( &wc )

hwnd = CreateWindow (

"WinSDKtest", // WNDCLASS name

"SDK Application", // Window title

WS_OVERLAPPEDWINDOW,// Window style

CW_USEDEFAULT, // Horizontal position

CW_USEDEFAULT, // Vertical position

CW_USEDEFAULT, // Initial width

CW_USEDEFAULT, // Initial height

HWND_DESKTOP, // Handle of parent window

NULL, // Menu handle

hInstance, // Application's instance handle

NULL// Window-creation data

)

ShowWindow( hwnd, nCmdShow )

UpdateWindow( hwnd )

while ( GetMessage( &msg, NULL, 0, 0 ) ) {

TranslateMessage(&msg)

DispatchMessage(&msg)

}

return msg.wParam

}

LRESULT CALLBACK WndProc( HWND hwnd, UINT message, WPARAM wParam,

LPARAM lParam )

{

/* Windows will call this function anytime... */

PAINTSTRUCT ps

HDC hdc

switch(message){

case WM_PAINT:

hdc = BeginPaint( hwnd, &ps )

Ellipse( hdc, 0, 0, 800, 600 )

// Here we Draw an ellipse in the window of our program

EndPaint( hwnd, &ps )

break// Someone like to write return here.

case WM_DESTROY:

PostQuitMessage(0)

break

default:

return DefWindowProc( hwnd, message, wParam, lParam )

}

return 0

}

基本过程就是直接调用windows提供的API函数,完成从窗口创建,显示等界面功能到深层的文件 *** 作,注册表等甚至windows内核调试等高级功能。


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

原文地址: https://outofmemory.cn/yw/12327666.html

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

发表评论

登录后才能评论

评论列表(0条)

保存