Click here to Skip to main content
15,900,553 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to set CTabCtrl background color? Pin
alma5-Jul-04 22:41
alma5-Jul-04 22:41 
Generalinitailize parallel port Pin
Member 12191245-Jul-04 22:12
Member 12191245-Jul-04 22:12 
GeneralRe: initailize parallel port Pin
Rory Solley5-Jul-04 23:06
Rory Solley5-Jul-04 23:06 
GeneralRe: initailize parallel port Pin
Ryan Binns5-Jul-04 23:11
Ryan Binns5-Jul-04 23:11 
General#import for COM Dll Pin
Vaibhav Sanghavi5-Jul-04 21:44
Vaibhav Sanghavi5-Jul-04 21:44 
GeneralRe: #import for COM Dll Pin
Roger Stoltz5-Jul-04 22:13
Roger Stoltz5-Jul-04 22:13 
GeneralRe: #import for COM Dll Pin
Vaibhav...5-Jul-04 22:28
sussVaibhav...5-Jul-04 22:28 
GeneralRe: #import for COM Dll Pin
Roger Stoltz6-Jul-04 0:27
Roger Stoltz6-Jul-04 0:27 
Five alternatives:

1. Verify that you are using IID_IMyInterface in the call to CoCreateInstance, or
2. you are using __uuidof( IMyInterface ) in the call to CoCreateInstance.
3. Check your spelling.
4. Search the .tlh file for the identifier that is undeclared and verify that it exists.
5. Do the import in stdafx.h to make the identifiers "globally" declared.

If this doesn't help I suggest you post some code showing how you are calling CoCreateInstance and the declarations of the identifiers you are trying to use from your imported library, i.e. snippets of the .tlh file.

--
Roger
GeneralRe: #import for COM Dll Pin
Vaibhav Sanghavi11-Jul-04 23:39
Vaibhav Sanghavi11-Jul-04 23:39 
GeneralRe: #import for COM Dll Pin
Roger Stoltz12-Jul-04 14:52
Roger Stoltz12-Jul-04 14:52 
GeneralRe: #import for COM Dll Pin
Vaibhav Sanghavi12-Jul-04 18:55
Vaibhav Sanghavi12-Jul-04 18:55 
GeneralRe: #import for COM Dll Pin
Michael P Butler6-Jul-04 1:17
Michael P Butler6-Jul-04 1:17 
GeneralMSHFlexgrid ~ custom Autoresize Pin
V.5-Jul-04 21:27
professionalV.5-Jul-04 21:27 
Generalinheritance Pin
xcavin5-Jul-04 21:11
xcavin5-Jul-04 21:11 
GeneralRe: inheritance Pin
bneacetp5-Jul-04 21:45
bneacetp5-Jul-04 21:45 
GeneralRe: inheritance Pin
Vaibhav Sanghavi5-Jul-04 21:54
Vaibhav Sanghavi5-Jul-04 21:54 
Generalregistry handling in my software Pin
ask_you5-Jul-04 18:22
ask_you5-Jul-04 18:22 
GeneralRe: registry handling in my software Pin
Jose Cezar S. Ynion5-Jul-04 19:09
Jose Cezar S. Ynion5-Jul-04 19:09 
GeneralRe: registry handling in my software Pin
ask_you5-Jul-04 19:27
ask_you5-Jul-04 19:27 
GeneralReading Cookies Pin
Liger_Zero_X5-Jul-04 16:26
Liger_Zero_X5-Jul-04 16:26 
GeneralRe: Reading Cookies Pin
Jose Cezar S. Ynion5-Jul-04 17:18
Jose Cezar S. Ynion5-Jul-04 17:18 
GeneralRe: Reading Cookies Pin
Michael Dunn5-Jul-04 17:28
sitebuilderMichael Dunn5-Jul-04 17:28 
GeneralRe: Reading Cookies Pin
Liger_Zero_X5-Jul-04 19:55
Liger_Zero_X5-Jul-04 19:55 
GeneralRe: Reading Cookies Pin
Michael Dunn5-Jul-04 20:06
sitebuilderMichael Dunn5-Jul-04 20:06 
GeneralHelp with inheritance Pin
Sirrius5-Jul-04 16:16
Sirrius5-Jul-04 16:16 

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.