Click here to Skip to main content
16,010,394 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get Hard Drive Serial Number in VC++ Pin
wb15-Sep-04 21:00
wb15-Sep-04 21:00 
GeneralRe: Get Hard Drive Serial Number in VC++ Pin
Arsalan Malik15-Sep-04 21:27
Arsalan Malik15-Sep-04 21:27 
GeneralRe: Get Hard Drive Serial Number in VC++ Pin
gokings18-Sep-04 2:39
gokings18-Sep-04 2:39 
GeneralRe: Get Hard Drive Serial Number in VC++ Pin
Aamir Butt16-Sep-04 2:09
Aamir Butt16-Sep-04 2:09 
GeneralDoes MFC Supports IPv6 Pin
Alpha Siera15-Sep-04 20:13
Alpha Siera15-Sep-04 20:13 
GeneralRe: Does MFC Supports IPv6 Pin
Alexander M.,16-Sep-04 9:53
Alexander M.,16-Sep-04 9:53 
GeneralRe: Does MFC Supports IPv6 Pin
Alpha Siera16-Sep-04 18:34
Alpha Siera16-Sep-04 18:34 
GeneralConnection to COM object Pin
dudic15-Sep-04 19:37
dudic15-Sep-04 19:37 
How do I have to connect to COM object from a simple console application. The problem I have is like that:

Client.obj : error LNK2001: unresolved external symbol _CLSID_IOConverter
Client.obj : error LNK2001: unresolved external symbol _IID_IIOConverter
Debug/Client.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

Client.exe - 3 error(s), 0 warning(s)

My code:
DEFINE_GUID(CLSID_IOConverter,...)

DEFINE_GUID(CLSID_IOConverter,...)

int main(int argc, char* argv[])
{
CComPtr<iioconverter> converter = NULL;
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
CoCreateInstance(CLSID_IOConverter,NULL, CLSCTX_INPROC_SERVER,IID_IIOConverter,(void**)&converter);
CoUninitialize();
return 0;
}

What do I have to change?
GeneralRe: Connection to COM object Pin
Antti Keskinen16-Sep-04 0:58
Antti Keskinen16-Sep-04 0:58 
QuestionHow to Remove ActiveX from project VC++6 Pin
Sumit Kapoor15-Sep-04 19:20
Sumit Kapoor15-Sep-04 19:20 
AnswerRe: How to Remove ActiveX from project VC++6 Pin
Hardy_Smith15-Sep-04 21:52
Hardy_Smith15-Sep-04 21:52 
GeneralMany Fancy window style in vc++ Pin
vc-programmer-15-Sep-04 19:16
vc-programmer-15-Sep-04 19:16 
GeneralRe: Many Fancy window style in vc++ Pin
ThatsAlok6-May-05 23:35
ThatsAlok6-May-05 23:35 
GeneralSerial Comm in VC++ 6.0 Pin
vc-programmer-15-Sep-04 17:24
vc-programmer-15-Sep-04 17:24 
GeneralRe: Serial Comm in VC++ 6.0 Pin
Colin Urquhart15-Sep-04 17:36
Colin Urquhart15-Sep-04 17:36 
GeneralRe: Serial Comm in VC++ 6.0 Pin
ThatsAlok6-May-05 23:33
ThatsAlok6-May-05 23:33 
General_mkgmtime in msvcrt Pin
Anonymous15-Sep-04 17:04
Anonymous15-Sep-04 17:04 
GeneralTo emmbed Flash (*.swf) into Visual C++ Pin
utnqbao15-Sep-04 16:46
professionalutnqbao15-Sep-04 16:46 
GeneralRe: To emmbed Flash (*.swf) into Visual C++ Pin
rotu16-Sep-04 0:02
rotu16-Sep-04 0:02 
GeneralI can't enumerate my network.Help me, please!!!!!!!! Pin
utnqbao15-Sep-04 16:44
professionalutnqbao15-Sep-04 16:44 
GeneralNew to Visual C++ - Simple Program Help Pin
neoborn15-Sep-04 15:49
neoborn15-Sep-04 15:49 
GeneralRe: New to Visual C++ - Simple Program Help Pin
Christian Graus15-Sep-04 16:24
protectorChristian Graus15-Sep-04 16:24 
GeneralRe: New to Visual C++ - Simple Program Help Pin
neoborn15-Sep-04 18:05
neoborn15-Sep-04 18:05 
GeneralCould really use some suggestions Pin
Tom Wright15-Sep-04 11:49
Tom Wright15-Sep-04 11:49 
GeneralRe: Could really use some suggestions Pin
Christian Graus15-Sep-04 11:59
protectorChristian Graus15-Sep-04 11:59 

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.