The MASM Forum

General => The Campus => Topic started by: digelo on September 29, 2013, 09:07:40 PM

Title: How to call functions of this COM DLL
Post by: digelo 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:

Public Function Miladi2Shamsi(mdate as string) as String

dim shms as New ClassShamsi

Miladi2Shamsi= shms.Miladi2Shamsi(mdate)i
End Function
Title: Re: How to call functions of this COM DLL
Post by: Vortex on September 29, 2013, 09:26:17 PM
Here is a quick example :

http://www.masmforum.com/board/index.php?topic=14289.msg113911#msg113911
Title: Re: How to call functions of this COM DLL
Post by: jj2007 on September 29, 2013, 09:49:31 PM
You can also go to the old forum (http://www.masmforum.com/board/index.php#1) and search for dllgetclassobject.