我程序是在win2000sever下写的刻录在光盘上,现在在win98下运行刚开始几次没事,多运行几次后,按钮上的字体没了,如果重新装vc,运行有字体的程序,过一阵子又是这样!以前在win2000从来不会出现这种情况!我该怎么办,急!(我按钮是使用一个类,重画其颜色和边框)
解决方案 »
- 关于程序自动运行的问题
- VC++定义全局数组
- 关于CSerialPort在win98上的错误!
- 有个关于上网的问题??
- 那位大虾 指点一下,,就是 UTF-8 如何实现到 UNICODE 或者到 ANSI的 转化啊,,,在线等候。。。。
- 求像Window“画图”程序中的文字输入框那样的Edit源代码
- 我该问老板要多少钱?熟悉行情的哥们请进.100分给最佳建议者
- <<Windows核心编程>>的示例程序为什么编译总通不过? up有分.
- 大虾们:请问vector是什么东西,怎么使用,欢迎多多指教,在线.....
- 散点分,欢迎朋友们进来聊聊天
- 线程问题,回答者都有分
- 请求Win32 SDK 高手救我一命!
好象正如laiyling(最熟悉的陌生人)所说!
当我按F7出现下面情况:
RC : fatal error RC1109 : error creating Debug/FMXL1.res
Error executing rc.exe.:fmxl1\ascill.cpp(4) : fatal error C1033: cannot open program database '
d:\fmxl1\debug\vc60.pdb'
当我按运行程序出现下面情况:
FMXL1.cpp
d:\fmxl1\fmxl1.cpp(4) : fatal error C1033: cannot open program database '
d:\fmxl1\debug\vc60.pdb'
FMXL1Dlg.cpp
d:\fmxl1\fmxl1dlg.cpp(4) : fatal error C1033: cannot open program database '
d:\fmxl1\debug\vc60.pdb'
LOOKDATA.cpp
d:\fmxl1\lookdata.cpp(4) : fatal error C1033: cannot open program database '
d:\fmxl1\debug\vc60.pdb'
Splash.cpp
d:\fmxl1\splash.cpp(5) : fatal error C1033: cannot open program database '
d:\fmxl1\debug\vc60.pdb'
USER.cpp
d:\fmxl1\user.cpp(4) : fatal error C1033: cannot open program database '
d:\fmxl1\debug\vc60.pdb'
XPButton.cpp
d:\fmxl1\xpbutton.cpp(4) : fatal error C1033: cannot open program database '
d:\fmxl1\debug\vc60.pdb'
Generating Code...
Error executing cl.exe.FMXL1.exe - 7 error(s), 1 warning(s)
但如果我直接按F5则会弹出询问please enter the path for mfcsd42.pdb.按取消,则程序运行都正常但就是button的字体没有,其它控件字体都有!是不是跟我控件继承的类有关?我该怎么办!
在响应WM_PAINT的绘制函数中,千万不要试图动态创建资源,即使在出函数时匹配地释放了所有资源,也会引发资源耗尽,只是Win98来得更快,Win2000迟早也会发生,对这种情况,本人也曾吃尽苦头,如有类似情况,请诸位及早回头,绕道而行。