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

C#

 
AnswerRe: Use C# dll in C. Pin
Shameel9-Jan-14 0:49
professionalShameel9-Jan-14 0:49 
The .tlb file is typically created by the MIDL.exe from the .idl source file. It has an option to generate .c/.h file to be used by C programs. But since you did not create the .tlb file (I assume it was auto-created by a tool), I don't think you can do much about it.

Here's a workaround. I'm not sure if it will work. You can use OleView.exe to reverse engineer the .tlb to .idl and then use MIDL.exe to compile the .idl back to .tlb with the option to generate .c/.h files. You can then use these files in your C program.
AnswerRe: Use C# dll in C. Pin
David Knechtges9-Jan-14 3:19
David Knechtges9-Jan-14 3:19 
GeneralRe: Use C# dll in C. Pin
sagar15899-Jan-14 21:07
sagar15899-Jan-14 21:07 
AnswerMessage Removed Pin
9-Jan-14 10:05
professionalN_tro_P9-Jan-14 10:05 
GeneralRe: Use C# dll in C. Pin
sagar15899-Jan-14 19:09
sagar15899-Jan-14 19:09 
QuestionMessage Closed Pin
8-Jan-14 20:14
Member 105127088-Jan-14 20:14 
AnswerRe: vochancer program PinPopular
Mycroft Holmes8-Jan-14 20:24
professionalMycroft Holmes8-Jan-14 20:24 
AnswerRe: vochancer program PinPopular
OriginalGriff8-Jan-14 21:16
mveOriginalGriff8-Jan-14 21:16 
GeneralRe: vochancer program Pin
Rahul VB31-Jan-14 6:59
professionalRahul VB31-Jan-14 6:59 
QuestionIf else statemant Pin
manoj s sherje8-Jan-14 19:00
manoj s sherje8-Jan-14 19:00 
AnswerRe: If else statemant Pin
Wayne Gaylard8-Jan-14 19:20
professionalWayne Gaylard8-Jan-14 19:20 
AnswerRe: If else statemant Pin
Bernhard Hiller8-Jan-14 20:29
Bernhard Hiller8-Jan-14 20:29 
AnswerRe: If else statemant Pin
BillWoodruff8-Jan-14 20:35
professionalBillWoodruff8-Jan-14 20:35 
GeneralRe: If else statemant Pin
manoj s sherje8-Jan-14 22:03
manoj s sherje8-Jan-14 22:03 
GeneralRe: If else statemant Pin
OriginalGriff8-Jan-14 22:12
mveOriginalGriff8-Jan-14 22:12 
GeneralRe: If else statemant Pin
V.8-Jan-14 23:50
professionalV.8-Jan-14 23:50 
GeneralRe: If else statemant Pin
manoj s sherje13-Jan-14 18:10
manoj s sherje13-Jan-14 18:10 
AnswerRe: If else statemant Pin
CPallini8-Jan-14 21:10
mveCPallini8-Jan-14 21:10 
AnswerRe: If else statemant Pin
Rahul VB31-Jan-14 7:06
professionalRahul VB31-Jan-14 7:06 
QuestionSprite Animation and Movement in XNA Pin
incxx8-Jan-14 11:04
incxx8-Jan-14 11:04 
AnswerRe: Sprite Animation and Movement in XNA Pin
Bernhard Hiller8-Jan-14 20:34
Bernhard Hiller8-Jan-14 20:34 
GeneralRe: Sprite Animation and Movement in XNA Pin
incxx10-Jan-14 5:55
incxx10-Jan-14 5:55 
QuestionRFID read and write on sql server using c# Pin
sandsip7-Jan-14 20:50
sandsip7-Jan-14 20:50 
AnswerRe: RFID read and write on sql server using c# Pin
Peter Leow7-Jan-14 21:05
professionalPeter Leow7-Jan-14 21:05 
AnswerRe: RFID read and write on sql server using c# Pin
Eddy Vluggen7-Jan-14 22:32
professionalEddy Vluggen7-Jan-14 22:32 

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.