Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralNeed C# sample , practical questions using control structures... Pin
MS Lee8-Jan-08 18:01
MS Lee8-Jan-08 18:01 
GeneralRe: Need C# sample , practical questions using control structures... Pin
Christian Graus8-Jan-08 18:35
protectorChristian Graus8-Jan-08 18:35 
GeneralRe: Need C# sample , practical questions using control structures... Pin
MS Lee8-Jan-08 19:15
MS Lee8-Jan-08 19:15 
GeneralRe: Need C# sample , practical questions using control structures... Pin
Christian Graus8-Jan-08 19:18
protectorChristian Graus8-Jan-08 19:18 
GeneralRe: Need C# sample , practical questions using control structures... Pin
MS Lee8-Jan-08 21:56
MS Lee8-Jan-08 21:56 
GeneralRe: Need C# sample , practical questions using control structures... Pin
Vasudevan Deepak Kumar8-Jan-08 22:13
Vasudevan Deepak Kumar8-Jan-08 22:13 
Generalto apply styles for grid control Pin
chithra.r8-Jan-08 17:52
chithra.r8-Jan-08 17:52 
QuestionLoadTypeLib() not working for C# Class Library dll Pin
Member 42194198-Jan-08 17:36
Member 42194198-Jan-08 17:36 
I have a C# class library (MyInterop.dll) with interface method for COM Interop. I have VC++ app which will load the C# library and invoke the methods at run time.

I know that if i use #import (MyInterop.dll) and then CreateInstance() to invoke the interface method it works. But my requirement is to load the dll at run time. hence i cannot use #import()

VC++ program will know only the dll name. Based on the DLL name i tried to use LoadTypeLib(), GetTypeAttr() to get the CLSID. And then based on the CLSID i want to create an IDispatch instance
CoLoadLibrary(), GetProcAddress(), ClassFactory(),
CreateInstance(, IID_IDispatch, &m_dispatch)

The call to LoadTypeLib("MyInterop.dll") returns Error loading type library/DLL

Please help
Thank you
GeneralUsing User-Defined controls Pin
Member 7816108-Jan-08 16:50
Member 7816108-Jan-08 16:50 
GeneralRe: Using User-Defined controls Pin
Christian Graus8-Jan-08 18:35
protectorChristian Graus8-Jan-08 18:35 
GeneralRe: Using User-Defined controls Pin
Member 7816108-Jan-08 18:50
Member 7816108-Jan-08 18:50 
QuestionSQL Database pictures in datagridview Pin
Jacob Dixon8-Jan-08 15:45
Jacob Dixon8-Jan-08 15:45 
GeneralRe: SQL Database pictures in datagridview Pin
cola19738-Jan-08 20:48
cola19738-Jan-08 20:48 
GeneralRe: SQL Database pictures in datagridview Pin
cola19738-Jan-08 20:50
cola19738-Jan-08 20:50 
GeneralTextBox get focus always Pin
jason_mf8-Jan-08 14:46
jason_mf8-Jan-08 14:46 
GeneralRe: TextBox get focus always Pin
Paul Conrad8-Jan-08 17:29
professionalPaul Conrad8-Jan-08 17:29 
QuestionTrace implementation for static methods. Pin
Ilia Blank8-Jan-08 10:55
Ilia Blank8-Jan-08 10:55 
GeneralWeb Browser Control Pin
A.Asif8-Jan-08 10:41
A.Asif8-Jan-08 10:41 
General[Message Deleted] Pin
Marutar8-Jan-08 10:35
Marutar8-Jan-08 10:35 
GeneralRe: WMI in C#? Pin
ekynox8-Jan-08 18:11
ekynox8-Jan-08 18:11 
GeneralRe: WMI in C#? Pin
Marutar9-Jan-08 3:30
Marutar9-Jan-08 3:30 
GeneralRe: WMI in C#? Pin
ekynox9-Jan-08 9:56
ekynox9-Jan-08 9:56 
GeneralWhy i am getting MessageBox twice Pin
netJP12L8-Jan-08 9:30
netJP12L8-Jan-08 9:30 
GeneralRe: Why i am getting MessageBox twice Pin
Christian Graus8-Jan-08 9:51
protectorChristian Graus8-Jan-08 9:51 
GeneralRe: Why i am getting MessageBox twice Pin
netJP12L8-Jan-08 10:52
netJP12L8-Jan-08 10:52 

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.