Author Topic: How to call functions of this COM DLL  (Read 1243 times)

digelo

  • Regular Member
  • *
  • Posts: 24
  • I HATE C!!!
How to call functions of this COM DLL
« on: September 29, 2013, 09:07:40 PM »
Hi :D

How can i use shamsi.dll in my masm project ?
this Shamsi.dll contains a function for converting the Gregorian date to Jalali(shamsi) date, this function is in a class named "ClassShamsi".
in vb6 it can be used like this:
Code: [Select]
Public Function Miladi2Shamsi(mdate as string) as String

dim shms as New ClassShamsi

Miladi2Shamsi= shms.Miladi2Shamsi(mdate)i
End Function

Vortex

  • Member
  • *****
  • Posts: 1704
Re: How to call functions of this COM DLL
« Reply #1 on: September 29, 2013, 09:26:17 PM »

jj2007

  • Member
  • *****
  • Posts: 7559
  • Assembler is fun ;-)
    • MasmBasic
Re: How to call functions of this COM DLL
« Reply #2 on: September 29, 2013, 09:49:31 PM »
You can also go to the old forum and search for dllgetclassobject.