Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Building a C++ 64-bit UDF for InterBase


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Dec 4, 2016 3:25 AM Last Post By: Rea Berryman Threads: [ Previous | Next ]
Rea Berryman

Posts: 10
Registered: 8/12/09
Building a C++ 64-bit UDF for InterBase  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 2, 2016 4:00 AM
Is the source code available for the following tutorial (on Code Central)?

ID: 29310, January 28, 2013 - Building a C++ 64-bit UDF for InterBase

I created some source from the video but the compiler gets stuck at:
char* EXPORT fn_lower_c (ARG(char*, s));

I'm guessing EXPORT & ARG are defines that I have wrong.

I'm using C++Builder XE6.

Thanks.
Rea
Jeff Overcash (...

Posts: 1,529
Registered: 9/23/99
Re: Building a C++ 64-bit UDF for InterBase  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 3, 2016 1:04 AM   in response to: Rea Berryman in response to: Rea Berryman
Rea Berryman wrote:
Is the source code available for the following tutorial (on Code Central)?

ID: 29310, January 28, 2013 - Building a C++ 64-bit UDF for InterBase

I created some source from the video but the compiler gets stuck at:
char* EXPORT fn_lower_c (ARG(char*, s));

I'm guessing EXPORT & ARG are defines that I have wrong.

I'm using C++Builder XE6.

Thanks.
Rea

Did you look in the samples directory, there sample C UDF is located there.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Learning is finding out what you already know. Doing is demonstrating that you
know it. Teaching is reminding others that they know it as well as you. We are
all leaners, doers, teachers. (R Bach)
Rea Berryman

Posts: 10
Registered: 8/12/09
Re: Building a C++ 64-bit UDF for InterBase  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 3, 2016 11:53 AM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
Jeff Overcash (TeamB) wrote:
Rea Berryman wrote:
Is the source code available for the following tutorial (on Code Central)?

ID: 29310, January 28, 2013 - Building a C++ 64-bit UDF for InterBase

I created some source from the video but the compiler gets stuck at:
char* EXPORT fn_lower_c (ARG(char*, s));

I'm guessing EXPORT & ARG are defines that I have wrong.

I'm using C++Builder XE6.

Thanks.
Rea

Did you look in the samples directory, there sample C UDF is located there.

--
Jeff Overcash (TeamB)

Long story short I removed IB XE3 and installed XE7 and no longer see samples, examples, etc.
I'm guessing the original C++Builder XE6 installation must have included the samples you mention. I think I'm missing the "example.h" file shown in the code central video.

Thanks Jeff.
Rea
Jeff Overcash (...

Posts: 1,529
Registered: 9/23/99
Re: Building a C++ 64-bit UDF for InterBase  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 3, 2016 5:25 PM   in response to: Rea Berryman in response to: Rea Berryman
Rea Berryman wrote:
Jeff Overcash (TeamB) wrote:
Rea Berryman wrote:
Is the source code available for the following tutorial (on Code Central)?

ID: 29310, January 28, 2013 - Building a C++ 64-bit UDF for InterBase

I created some source from the video but the compiler gets stuck at:
char* EXPORT fn_lower_c (ARG(char*, s));

I'm guessing EXPORT & ARG are defines that I have wrong.

I'm using C++Builder XE6.

Thanks.
Rea
Did you look in the samples directory, there sample C UDF is located there.

--
Jeff Overcash (TeamB)

Long story short I removed IB XE3 and installed XE7 and no longer see samples, examples, etc.
I'm guessing the original C++Builder XE6 installation must have included the samples you mention. I think I'm missing the "example.h" file shown in the code central video.

Thanks Jeff.
Rea

No those examples are part of the InterBase install. There are in th InterBase
samples directory, not the BCB directory.

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Learning is finding out what you already know. Doing is demonstrating that you
know it. Teaching is reminding others that they know it as well as you. We are
all leaners, doers, teachers. (R Bach)
Rea Berryman

Posts: 10
Registered: 8/12/09
Re: Building a C++ 64-bit UDF for InterBase  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 4, 2016 3:25 AM   in response to: Jeff Overcash (... in response to: Jeff Overcash (...
Jeff Overcash (TeamB) wrote:
Rea Berryman wrote:
Jeff Overcash (TeamB) wrote:
Rea Berryman wrote:
Is the source code available for the following tutorial (on Code Central)?

ID: 29310, January 28, 2013 - Building a C++ 64-bit UDF for InterBase

I created some source from the video but the compiler gets stuck at:
char* EXPORT fn_lower_c (ARG(char*, s));

I'm guessing EXPORT & ARG are defines that I have wrong.

I'm using C++Builder XE6.

Thanks.
Rea
Did you look in the samples directory, there sample C UDF is located there.

--
Jeff Overcash (TeamB)

Long story short I removed IB XE3 and installed XE7 and no longer see samples, examples, etc.
I'm guessing the original C++Builder XE6 installation must have included the samples you mention. I think I'm missing the "example.h" file shown in the code central video.

Thanks Jeff.
Rea

No those examples are part of the InterBase install. There are in th InterBase
samples directory, not the BCB directory.

--
Jeff Overcash (TeamB)

Okay, found them. Also got my x64 udf working.

Thanks Jeff!
Rea
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02