Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to create a HashTable in C++? Pin
includeh1017-Jul-08 9:36
includeh1017-Jul-08 9:36 
AnswerRe: How to create a HashTable in C++? Pin
JudyL_MD17-Jul-08 10:08
JudyL_MD17-Jul-08 10:08 
AnswerRe: How to create a HashTable in C++? Pin
Budric B.17-Jul-08 10:08
Budric B.17-Jul-08 10:08 
AnswerRe: How to create a HashTable in C++? Pin
David Crow17-Jul-08 16:02
David Crow17-Jul-08 16:02 
GeneralRe: How to create a HashTable in C++? Pin
led mike17-Jul-08 18:08
led mike17-Jul-08 18:08 
GeneralRe: How to create a HashTable in C++? Pin
ThatsAlok18-Jul-08 1:47
ThatsAlok18-Jul-08 1:47 
GeneralRe: How to create a HashTable in C++? Pin
David Crow18-Jul-08 9:02
David Crow18-Jul-08 9:02 
QuestionOleRun in COleDispatchDriver::CreateDispatch returns REGDB_E_CLASSNOTREG Pin
Kevin 123341217-Jul-08 8:35
Kevin 123341217-Jul-08 8:35 
Hi all,

I'm running VC6 on 64-bit Vista, not an ideal situation I know but most things seem to be working for my app. However, I'm having one problem I can't seem to figure out.

I have two GUI programs in my app. When the first program is running I sometimes want to open the second program as a local server using Automation (e.g. both programs are .exe files). However, as outlined in the subject line, OleRun in COleDispatchDriver::CreateDispatch returns REGDB_E_CLASSNOTREG even after CoCreateInstance in the same function returns with no problem. I believe my registry settings are ok since I can pass data to the second program if it is already running. However, I just can't get it to start running if it is not already running.

I'm logged in with an administrator account and the problem happens whether or not User Account Control is enabled. I've moved all my registry keys to HKEY_CURRENT_USER but this doesn't seem to help either. I'm not all that familiar with COM/Automation so maybe the problem is related to that.

Any help for this out there?

Thanks,
Kevin
AnswerRe: OleRun in COleDispatchDriver::CreateDispatch returns REGDB_E_CLASSNOTREG Pin
led mike17-Jul-08 18:20
led mike17-Jul-08 18:20 
QuestionMSVC++ 2005, Project Dependancies and unresolved externals [modified] Pin
Budric B.17-Jul-08 6:36
Budric B.17-Jul-08 6:36 
AnswerRe: MSVC++ 2005, Project Dependancies and unresolved externals Pin
Mark Salsbery17-Jul-08 7:28
Mark Salsbery17-Jul-08 7:28 
QuestionHow to fix a window at the top? Pin
iayd17-Jul-08 5:55
iayd17-Jul-08 5:55 
AnswerRe: How to fix a window at the top? Pin
led mike17-Jul-08 6:12
led mike17-Jul-08 6:12 
GeneralRe: How to fix a window at the top? Pin
aks.17-Jul-08 20:11
aks.17-Jul-08 20:11 
GeneralRe: How to fix a window at the top? Pin
iayd17-Jul-08 20:37
iayd17-Jul-08 20:37 
AnswerRe: How to fix a window at the top? Pin
Alan Balkany17-Jul-08 7:41
Alan Balkany17-Jul-08 7:41 
GeneralRe: How to fix a window at the top? Pin
iayd17-Jul-08 10:39
iayd17-Jul-08 10:39 
GeneralRe: How to fix a window at the top? Pin
Alan Balkany17-Jul-08 10:41
Alan Balkany17-Jul-08 10:41 
QuestionTracking mouse event on a Bitmapbutton [modified] Pin
bhanu_850917-Jul-08 3:25
bhanu_850917-Jul-08 3:25 
AnswerRe: Tracking mouse event on a Bitmapbutton Pin
led mike17-Jul-08 5:13
led mike17-Jul-08 5:13 
GeneralRe: Tracking mouse event on a Bitmapbutton Pin
bhanu_850917-Jul-08 20:04
bhanu_850917-Jul-08 20:04 
GeneralRe: Tracking mouse event on a Bitmapbutton Pin
led mike17-Jul-08 20:21
led mike17-Jul-08 20:21 
GeneralRe: Tracking mouse event on a Bitmapbutton Pin
bhanu_850917-Jul-08 20:56
bhanu_850917-Jul-08 20:56 
GeneralRe: Tracking mouse event on a Bitmapbutton Pin
led mike18-Jul-08 6:33
led mike18-Jul-08 6:33 
QuestionCombobox Mouseover for Items Pin
Joschwenk66617-Jul-08 2:08
Joschwenk66617-Jul-08 2:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.