LotusScript to C API Programming Guide

rtLib Domino Rich Text Management template
Home
Hide details for ContentContent
Getting started
Basic declaration conversion
Data and reference types
Editing reference type items
Purchase
Ready-to-use samples
Show details for Online resourcesOnline resources
Forum
Links
Happy readers

Anonymous

login


 

Hosted by Prominic.NET, Inc.
Main topic: Compiling an @Formula in Visual Basic

I think I got it ! (by Kenneth Haggman, 03/07/2007 04:51:55 AM)

Tried this:

Private Declare Function NSFFormulaCompile Lib "nnotes" (ByVal N As Long, ByVal nN As Integer, ByVal F As String, ByVal nF As Integer, hFL As Long, nFL As Integer, eE As Integer, eL As Integer, eC As Integer, eO As Integer, eN As Integer) As Integer

Dim hF As Long

irc = NSFFormulaCompile(0, 0, strFormula, Len(strFormula), hF, nF%, eE%, eL%, eC%, eO%, eN%)

And it seems to work!

Note that I am not allocating/locking/releasing/freeing any memory buffers, this is all it is.

Am I eating memory here?