<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>25 Mar 2018 13:08:46 Z</lastBuildDate><pubDate>4 Jan 2010 21:29:00 Z</pubDate><description>Hi everybody,&#13;
&#13;
I don't have experience on COM objects, but I need to run methods of  an &#13;
interface that resides in a dll file "novapi7.dll".&#13;
I suppose that CallInterface instruction can help me but this intruction &#13;
is totally different from VB or C# code.&#13;
Where can I find an working example or a real explanation of this &#13;
instruction?&#13;
&#13;
In visual basic a slice of code for Interface access sound like this:&#13;
&#13;
' the novapiLib package must be added as a COM reference&#13;
Const PRINTER_NAME As String = "novaPDF for SDK v7"&#13;
Const PROFILE_IS_Public As Long = 0&#13;
&#13;
' The main entry point for the application.&#13;
Public Sub Main()&#13;
     On Error GoTo ErrorHandler:&#13;
&#13;
     ' create the NovaPdfOptions object&#13;
     Dim pNova As New NovaPdfOptions&#13;
     ' initialize the NovaPdfOptions object&#13;
     ' if you have an application license for novaPDF SDK,&#13;
     ' pass both the registration name and the license key to the &#13;
Initialize() function&#13;
     ' pNova.Initialize2 PRINTER_NAME, '&lt;registration name&gt;', '&lt;license &#13;
key&gt;', '&lt;application name&gt;'&#13;
&#13;
     pNova.Initialize2 PRINTER_NAME, "", "", ""&#13;
     ' get the active profile ...&#13;
     Dim activeProfile As String&#13;
     Dim bPublicProfile As Long&#13;
     pNova.GetActiveProfile2 activeProfile, bPublicProfile&#13;
..&#13;
..&#13;
..&#13;
..&#13;
..&#13;
I can understand this in VB (it isn't too hard) but how can I do this in &#13;
WLang?&#13;
&#13;
Thanks everybody in advantage.&#13;
Michele</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/23442-spam-callinterface-example/read.awp</link><title>{SPAM?} CallInterface Example</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>PETR_K</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/23442-spam-callinterface-example-65038/read.awp</comments><pubDate>25 Mar 2018 13:08:46 Z</pubDate><description>Hello Michele,&#13;
I a facing similar problem. I am trying to control Bullzip PDF via COM but I am not able to create COM object in…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/23442-spam-callinterface-example-65038/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/23442-spam-callinterface-example-65038/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/23442-spam-callinterface-example/read.awp">{SPAM?} CallInterface Example</source><title>Re: {SPAM?} CallInterface Example</title></item></channel></rss>
