hello everybody
i am new to this forum. one thing that's eating me up rt now is how to add library file in Delphi (with extension .tlb) to a C program. i want to access the functions written in this Delphi written library file
thank you
Sha
hello everybody
i am new to this forum. one thing that's eating me up rt now is how to add library file in Delphi (with extension .tlb) to a C program. i want to access the functions written in this Delphi written library file
thank you
Sha
Which C compiler are you using?
If it's not made by the same people who made your delphi compiler, chances are it's going to be a lot harder to do (or impossible).
If they are made by the same people, then look in the documentation for "mixed language" programs, and how to build them.
At the very least, you need to provide a lot more detail in your questions.
And some indication of the things you've tried.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
thanx for ur reply
well let me explain the things in detail. i have a device and it connects to computer via RS2332 port. all the functions of the device are coded in Delphi language. the extension of the file is".TLB". i am successfull in adding this delphi file to my VB project. I used all the funtions written in the delphi file by creating the object and accessing the function in VB project.
Now i want to try with C/C++ programming.
I hope I am clear now.
Hoping for the response. it's kind of urgent
Sha
tlb is a typelibrary
you can access it using COM
maybe this link wiil be usefull
http://msdn2.microsoft.com/en-us/lib...sx(VS.80).aspx
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler