Re: Newbie
From: Robert W Hand (rwhand_at_NOSPAMoperamail.com)
Date: 03/29/05
- Next message: ursus.kirk: "Re: Newbie"
- Previous message: wwwolf: "Re: [THANX!] Why is my C++ timer stuck in infinite loop?"
- In reply to: ursus.kirk: "Newbie"
- Next in thread: ursus.kirk: "Re: Newbie"
- Reply: ursus.kirk: "Re: Newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Mar 2005 09:41:38 -0500
On Mon, 28 Mar 2005 22:22:42 +0200, "ursus.kirk" <secret@nowhere.com>
wrote:
>Hi all,
>
>I am an absolute newbie on C++. Have done VisualBasic premarily and some
>pascal (but that was in 1986). I want to adapt an almost ready plug-in.
>
>I have all the source code for the plug in and all the sourcecode for the
>function I want to add. When I look at the sourcecode for the function (or
>sub, what do you call it here?) there is no entry point. The code starts
>with some define's. What I need to figure out is how to interpret the new
>function so I can insert it into the first source code.
I'm a little confused by your request. The second "function" is in
C#.
>>The function will get a name (surname) and must return a DoubleMetaphone
>string.
>
>The wrapper looks like this and must be adapted somewhat to hold the call to
>the new function. The dataVect comes from an other program (Filemaker Pro)
>that will call this plug-in and pass parameter, which is cought by dataVect.
>
>FMX_PROC(fmx::errcode) Do_XMpl_CommonFormatNumber(short funcId, const
>fmx::ExprEnv& environment, const fmx::DataVect& dataVect, fmx::Data&
>results)
>{
> fmx::errcode errorResult = -1;
>
> errorResult = Do_MyNewFunc(dataVect);
>
>return(errorResult);
Why not just
return Do_MyNewFunc(dataVect);
for the body?
>}
>
>Then comes the function I want to implement, which is quite large, but I
>will post all of it. Thanks for your time and trouble.
>
>/**
> * ShortDoubleMetaphone.cs
A c# file. It is stricly off limits here.
> public class ShortDoubleMetaphone : DoubleMetaphone
This is a C# class. Are you trying to convert it to C++?
-- Best wishes, Bob
- Next message: ursus.kirk: "Re: Newbie"
- Previous message: wwwolf: "Re: [THANX!] Why is my C++ timer stuck in infinite loop?"
- In reply to: ursus.kirk: "Newbie"
- Next in thread: ursus.kirk: "Re: Newbie"
- Reply: ursus.kirk: "Re: Newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|