OCX's/windows regsvr32
来源:互联网 发布:汽车之家的团购 知乎 编辑:程序博客网 时间:2024/06/06 07:24
I am new to writing OCX's/windows programming but have managed to modify an existing OCX with new functionality. But when I build the OCX in release mode and try to add this OCX with a simple visual basic project, it crashes upon exiting the project. But if I build the OCX in debug mode and do the same, it does not crash. Do you have any idea, why?? Also the debug version of the OCX is having problem registering on a machine other than it was built on with an error "Debug Assertion Failed. File: oletyplb.cpp line 32". But if we build the OCX on that machine and then register it, then it's okay. I don't know if both the above problems are related or different. Any help will be appreciated. Thanks, kshah
<script type="text/javascript"><!--google_ad_client = "pub-8682474657542641";google_alternate_ad_url = "http://www.eggheadcafe.com/alternateads.asp";google_ad_width = 300;google_ad_height = 250;google_ad_format = "300x250_as";google_ad_channel ="2428473602";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "008000";google_color_url = "666666";google_color_text = "000000";//--></script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> <iframe name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-8682474657542641&dt=1152516796023&lmt=1152516796&alternate_ad_url=http%3A%2F%2Fwww.eggheadcafe.com%2Falternateads.asp&format=300x250_as&output=html&channel=2428473602&url=http%3A%2F%2Fwww.eggheadcafe.com%2Faspnet_answers%2Fvcactivextemplatelib%2FJun2006%2Fpost27052727.asp&color_bg=FFFFFF&color_text=000000&color_link=008000&color_url=666666&color_border=FFFFFF&cc=100&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=16&u_tz=480&u_java=true" frameborder="0" width="300" scrolling="no" height="250" allowtransparency="allowtransparency"></iframe>
6/8/2006 8:59:32 AM Re: Error in OCX
<mail2kinashah@yahoo.com> wrote in message news:1149772543.120727.198670@j55g2000cwa.googlegroups.com... Debug mode will automatically zero uninitialized variables for you. Release mode won't. This is one of the common reasons Release mode will crash when Debug mode won't. The bottom line is, you have a bug that you need to track down. It's probably not related, but you need to get rid of your bugs first. Before moving your OCX to a target machine, make sure that any dependent DLL's are also moved. See http://www.dependencywalker.com for a tool to help identify dependent DLL's. Brian
- OCX's/windows regsvr32
- regsvr32 /s c:\windows\system32\shell32.dll
- 注册控件regsvr32 ocxname.ocx....
- regsvr32/s mqrt.dll
- regsvr32注册OCX控件及其他用途
- regsvr32 注册 ocx 时卡死,不退出
- Windows Regsvr32 命令
- regsvr32 命令小集注册OCX控件,注册控件
- Regsvr32用法及解决不能注册DLL/OCX
- 不能注册dll ocx, regsvr32失败,退出代码0x3
- regsvr32注册与反注册 ActiveX EXE ocx dll
- 解决 “regsvr32 注册ocx 找不到指定的模块”的问题
- Regsvr32
- Regsvr32
- Regsvr32
- regsvr32
- regsvr32
- regsvr32
- 澳洲—适合中国学生的实用大学排名
- j2me里面读取txt文本的方法(支持中文)
- 索引
- 线程
- m4v文件播放程序
- OCX's/windows regsvr32
- 包含汉字的字符串的字节数
- 业务系统(“增量迭代”)开发流程管理
- 美国人日常生活中常用的五星级句子
- 网站设计与开发流程管理
- 给中国学生的第五封信 – 你有选择的权利
- 给中国学生的第四封信:大学四年应是这样度过
- 使用C++模板和不使用C++模板两种情况中的执行代码大小近似估计
- 莹子...