ShellExecute与组件的注册
摘要:        
每一个小COM程序都往注册表里写了一堆东西,而没有反注册,所以觉得在main函数里每次手动注册与反注册比较好。void RegisterDll(){	char exeFileName[256];	::GetModuleFileNameA(NULL, exeFileName, sizeof(exeFileName) / sizeof(char));	string str(exeFileName);	string::size_type index = str.rfind('//');	assert(string::npos != index);	string::iterator s    阅读全文
        
            posted @ 2011-02-07 10:33
zengqh
阅读(363)
评论(0)
推荐(0)
        
     
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号