NEED STATIC VARCHAR IN PRO C/C++

Hello All,
I need a static VARCHAR in a C++ Base class to be used by derived classes. I'm having trouble defining the static initializer..
class MyBase {
public:
EXEC SQL BEGIN DECLARE SECTION;
static VARCHAR myBuff [ 10000  ] ;
EXEC SQL END DECLARE SECTION;
I've tried the usual, and many variations such as
VARCHAR MyBase::myBuff [10000 ] ;
main() {
I can make it non-static but then I duplicate it for each derived trx object, in which I have many.. I can simply make it a single global buffer but I really want it as a class member..
Can Pro C/C++ acheive this?
Joek

Are you getting any error in this ??
The problem may be when you use 'EXEC SQL BEGIN DECLARE SECTION' inside class .

Similar Messages

  • How much Ram do I need in a MacBook Pro for Software Engineering?

    I plan to buy a new MacBook Pro in the next month for school and hopefully for work. I would like this computer to get me at least 4 years of use. I will be majoring in software engineering. My question is how much ram would I need in a Macbook Pro for software engineering? I am currenty looking at the 15" 2.3ghz base model with 8gb of ram as well as the 15" 2.4ghz base model retina. I really like the retina but its at my max budget. Will the 8gb of ram be enough since it is not upgradable? Any help will be greatly appreciated.

    I am currenty looking at the 15" 2.3ghz base model with 8gb of ram
    The MB Pro 15" 2.3Ghz with 8GB of RAM should do the trick.
    Save your $$$ on the retina and stick to your budget 

  • What adapter do i need for my macbook pro for a presentation

    what adapter do i need for my macbook pro for a presentation

    What model/Year MBP do you have and what are you connecting it to?
    Ciao.

  • I need to install Acrobat Pro, already bought, on my new computer. Can't find a download without paying again.

    I need to install Acrobat Pro, already bought, on my new computer. Can't find a download without paying again. How can I transfer this license?
    And why won't Adobe itself talk to its customers?

    Hi Hammerwater Kate,
    Welcome to the Adobe Forums!
    You can download Acrobat XI Pro from the below mentioned link.
    https://www.acrobat.com/en_us/free-trial-download.html?promoid=KBAUF    
    Thanks
    Kapil

  • I need help identifying which Magsafe Power Adapter I need for my Macbook Pro Model A1398, EMC 2673?

    I need help identifying which Magsafe Power Adapter I need for my Macbook Pro Model A1398, EMC 2673?

    Provided the computer-end fits, you are free to use one with a HIGHER Wattage rating. No damage whatsoever will be done to any component, but it will likely run cooler (but may be slightly heavier).
    If you use one with too LOW a Wattage rating, you will not be able to charge and run at the same time, and your computer's top speed (for its most intensive computations) will be limited.

  • Why do we need static for main() .........?

    Why do we need static for main method
    class Sample
    public static void main(String args[])
    System.out.println("HI EVERYONE");
    }

    The Java virtual machine is another term for the Java interpreter, which is the code that ultimately runs Java programs by interpreting the intermediate byte-code format of the Java programming language. The Java interpreter actually comes in two popular forms: the interpreter itself (called java) that runs programs via the command line or a file manager, and the interpreter that is built into many popular Web browsers such as Netscape, HotJava, and the appletviewer that comes with the Java Developer's Kit. Both of these forms are simply implementations of the Java virtual machine, and we'll refer to the Java virtual machine when our discussion applies to both. When we use the term java interpreter, we're talking specifically about the command line, standalone version of the virtual machine; when we use the term Java-enabled browser (or, more simply, browser), we're talking specifically about the virtual machine built into these Web browsers.
    excerpts Orelly "Java Threads" Chapter 1. (If you don't believe me). Did i do any fundamental wrong by saying interpreter ? Is that a Sin ?
    That is why i told concentrate on what answer I gave regarding the question. I am not going to argue any more. If you don't like my comments then I am Sorry :(

  • CS6 Design and Web - Need to add Premiere Pro.

    My company has CS6 design and web but we need to add Premiere Pro to the mix.  We are a nonprofit.  What would be the cheapest, most effective way of adding in this feature?

    Wokkit knows that Premiere Pro is not in the Design and Web package. Premiere Pro CS6 can be purchased as a stand alone to add to their package.
    Wokkit, your problem is that it is expensive. If you did not have a CS5 or CS5.5 version of Premiere, it is $800. You can add a cloud subscription for Premiere Pro only for $20 per month (for a year contract), and if it makes a difference in your work flow, just download the CS6 version rather than the cloud. But since you don't get any dynamic link, you could use a newer version of Premiere.

  • Now i have tryied everything i need help getting premier pro trial real help pls!

    now i have tryied everything i need help getting premier pro trial real help pls!

    Hi,
    Are you facing issues installing Premiere pro trial?
    Please mention your operating system.
    Error(If you're getting any)
    Thank you,
    Mohd Naseem

  • I need to reinstall Acrobat Pro 10

    The computer, Acrobat Pro 10  was downloaded to is no longer working and I need to get Acrobat Pro installed on my new computer.  I have the software license certificate.

    You can download via : Acrobat XI, X - http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    If the original installation is accessible and was not deactivated you should contact Adobe Support thru chat and ask them to reset your activations so that you still have an extra activation if you ever need it for a backup installation.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • I need to reinstall Acrobat Pro 8

    I have the creative suite 3 Design Premium box, and serial number, but lost the disk. I need to reinstall Acrobat Pro 8 because the Patch update caussed an error. I would like to have the ability to download it if you guys could.

    You can download the trial version of the software using the link below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site.
    CS3 and CS4: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html

  • What AC adapter do I need for the Sat Pro A30?

    What AC adapter do i need for the Satellite pro A30, it will not charge and as it has a loose connection on the plug.

    Hi,
    in the specs I found this:
    up to CPU 2.8GHz PA3165U/E-1ACA Autosensing AC Adaptor - 0.52kg - 90W - 100~240V 50/60Hz (Universal) - DC 19V 4.74A -- over 2.8GHz PA3290U 120W
    Bye

  • Need help installing Adobe Pro 9 Product code [removed by moderator] to my new PC tower.

    Need help installing Adobe Pro 9 to my new PC.

    Hi albertc40027908,
    You might need to deactivate Acrobat 9 from your old machine.
    Then, install the software from a CD (if you have) and activate with the same serial number.
    If you don't have a CD, then you might install Acrobat 9 pro from the below mentioned link:
    Download Acrobat products | 9, 8
    Hope this helps.
    Regards,
    Anubha

  • Need help with premiere pro cs6 having performance issues please help

    need help with premiere pro cs6 having performance issues please help

    Welcome to the forum.
    First thing that I would do would be to look at this Adobe KB Article to see if it helps.
    Next, I would try the tips in this ARTICLE.
    If that does not help, a Repair Install would definitely be in order.
    Good luck,
    Hunt

  • Need to keep Premiere Pro open while Encore transcoding?

    So I used the Dynamic Link function to export my project from Premiere Pro CS5 to Encore and started building a Blu Ray disc. Do I need to keep Premiere Pro open while Encore is transcoding?
    Task Manager says Premiere is still using 20-40% CPU so I am scared to close it . . .

    I agree that you can close premiere, but I'd close it before starting the transcode or build. (Call it superstition.) But if you close it (or even not), adobe with run pproheadless (the premiere end of a dynamic link).
    Are you using ame to transcode for Encore? (A setting as of CS5.) Curious.

  • TS1717 This article is vague and unhelpful. My iTunes needs help from a pro. I have over 120,000 songs -- NO movies, TV, radio, or books... I have other programs which efficiently run things which are not audio-based. So why can I not get iTunes working w

    This article is vague and unhelpful. My iTunes needs help from a pro.
    I have over 120,000 songs -- NO movies, TV, radio, or books...
    I have other programs which efficiently run things which are not audio-based.
    So why can I not get iTunes working well?? It now takes at least 10 secs for any operation to be completed!
    That is just plain evil. But I am sure I could do something to help.
    All the music is on an 2T external drive.

    TS1717 as noted in the thread title...
    Brigancook, is the library database on the external or just the media? iTunes reevaluates smart playlists and rewrites its database after every action on the library. I've found this can make a library half that size, with a lot of smart playlists, quite sluggish. That said I'm aware part of my problem is aging hardware. Having the database on the internal drive may improve performance if it is currently on the external.
    I'd expect to see an exponential relationship between size and response time which may explain what you see. Cutting down on the number of smart playlists might help. If we're really lucky the long awaited iTunes 11 might have streamlined some of the background processes as well as cleaning up the front end.
    tt2

Maybe you are looking for