[TUTORIAL+KB] How to create an EML export mechanism in GW8

Hello there folks!
I'm pretty new to the topic of C3PO, GW and all the Novell stuff and one of my tasks was to "code an export mechanism for GW8 thats lats us save e-mails to our storage system". Ok, that was a hammer. But wrapping my head around it and starting to error out the things got me pretty far and I guessed it was tutorial material. So here we go:
@Moderators: Please don't delete this. I need some time to wrap it all up.
This tutorial is intendend for C# only. I don't like VB and I'm too dumb for C++ so if you need it for another dialect you need to work it out your self.
Agenda:
Needed packages
C3PO wizard
Loading to Visual Studio 2010
Needed Imports/References
Simple MessageBoxing
Get Messages and stuff them into Lists
Export single Messages
Export multiple messages
Registering and caching the .DLL
Testing (please help me with a better way here)
1. Needed packages
the novell-gwc3po-devel-2012.11.15.zip file (unzip this after downloading)
an installed version of Visual Studio 2012 C# (or if you want to work with a different dialect choose another)
cmd access to some of the registering tools:
It may be the best thing to set tose paths up in you env variables. Allthough when running the cmd with administrator privileges you can't use regasm from env variables and need to cd to the directory.
RegAsm (regasm.exe): C:\Windows\Microsoft.NET\Framework\v4.0.30319 (the version depends on the target)
GACUtil (gacutil.exe): C:\Program Files(x86)\Micrsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\ (this path is also dependent on your target framework version, I chose .NET4)
StrongName (sn.exe): C:\Program Files(x86)\Micrsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\ (this path is also dependent on your target framework version, I chose .NET4)
a good beverage :D (you should obtain multiple of these :D)
2. The C3PO wizard
Loading to Visual Studio 2010
Needed Imports/References
Simple MessageBoxing
Get Messages and stuff them into Lists
Export single Messages
Export multiple messages
Registering and caching the .DLL
Testing (please help me with a better way here)

 can see it in the screenshot8 there is a function called "_Z8AddierenddPd" instead of "Addieren". I copied this name to Labview (see screenshot9) and it worked.
I'm sure that there is a way to compile the shared folder with gcc without decorations (mangling). But I don't know how. If someone has a recommendation I would be very glad!
Prepend each function declaration that you want to be available without name decoration with
extern "C" <your function declaration>
Or if you have multiple functions you want to export you can in the header file where you declare your functions simply use:
#ifdef __cplusplus
extern "C" {
#endif
<all your function declarations>
#ifdef __cplusplus
#endif
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Tutorial on how to create an Ajax-enabled JSF component in Creator?

    Is there a tutorial on how to create (not use/import existing) an Ajax-enabled JSF component using Creator 2? I read somewhere that it was done during a presentation in 3 minutes! Now that I really want to see ;-
    thanks,
    -nikita

    As far as I remeber, Edwin Goei's examples are the
    closest thing to the info you are looking. He has an
    example component, but don't remember if they're
    AJAX enabled. Check it on
    http://wiki.java.net/bin/view/Javatools/CustomCompone
    tLibraries.
    Best regards
    Antonio.Thanks for the plug. I've been meaning to update that article. Writing an AJAX component is similar to writing other kinds of components but the developer uses AJAX techniques. The latest version of the popup calendar which is checked into the bpcatalog project of java.net uses Dojo which also has some support for AJAX. I haven't yet had time to update the article yet, unfortunately.
    -Edwin
    http://blogs.sun.com/edwingo/

  • How to create new SVG export option

    I need to create a new SVG option to work with exportFile(). The new option will allow me to place a tag on in my exported SVG file. I'm not finding hints in the delivered documentation on how to do this. Could someone with experience in such, please point me to a resource that will help me.
    Thanks in advance.
    Steve

    Hi..
    Its continuous to earlier query, creation of new search help in Personnel Administration, we created elementary search help from SE11, now need to integrate this back end customization to front end screen,
    How to do this.,
    Welcome to all sharing minds.
    Regards.
    Kanuku.

  • Tutorial How to Create a Driver

    Anyone knows where I can find a tutorial about how to create a driver and how to deploy in sensor edge ?
    Thanks.

    For a start, have a look here:
    http://www.oracle.com/technology/products/sensor_edge_server/Oracle_Sensor_Edge_Server_Guide.pdf Chapter 3
    http://www.oracle.com/technology/products/sensor_edge_server/sample_code.html
    There´s also a beta developer´s guide for 10.1.3. Send me a mail for that...

  • How to create a web browser tutorial

    Is there a tutorial on how to create a flash web browser?
    Harley

    i don't see a problem with your code.
    but i know not every browser lets you (the popup creator) control those aspects of the browser unless the user has settings that allow you to control them.  so, for example, the fact that you have a browser that continues to show the location field in your popup is not surprising.

  • Need tutorial on how to insert charts in Pages document

    Can someone tell me where to find a tutorial on how to create a chart within a Pages document?

    Pages (dropdown menu)>insert>chart
    if you enter "char"t into the pages help menu,  you will find tutorials.

  • How to Create Roaming Profile(s) For Windows Workgroups

    This Tutorial Shows how to create roaming profile(s) for Windows Workgroups.
    Here are the steps in order to do this:
    On the host PC:
    1. Goto 'Folder Options'>'View' and un-tick 'Use Simple File Sharing'.
    2. Goto Network Connections and right click on the 'Local Area Connection' (Ethernet recommended)
    3. Goto Properties>General, and tick 'File and Printer Sharing'.
    Click Apply + Ok.
    4. Goto Control Panel>User Accounts, add a new user.
    5. Logon to this user, and open the profile folder properties.
    5b. Share this folder.
    6. Make the Share permissions so that 'everyone' has: Full Control, Read, Change.
    Click Apply + Ok.
    7. Click on 'Caching' and disable Caching for this Share.
    Click Ok.
    8. Now goto the 'Security' tab and give 'Administrator' and 'SYSTEM' 'Full Control'.
    Click Apply + Ok.
    On the remote PC(s):
    1. Make the same User as on the Host.
    1b.Logon to the account and log back out again. Delete the profile folder from 'Documents and Settings'.
    3. Give 'SYSTEM': 'Read','Read and Execute','List Folder Contents' to the 'Administrators' Profile
    4. Type 'lusrmgr.msc' into run, goto: 'Users', double click on the new user and goto the 'Profile' tab.
    4b. In the 'Profile Path' box, type \\hostPCname\ProfileName.
    Click Apply + Ok
    *Note* Replace the \\path\ accordingly to what names are on your Host PC.
    5. Goto regedit>HKLM\Software\Microsoft\Windows NT\CurrentVersion. Double click
    on 'ProfileList'.
    Find which key is for the new user. (Example S-1-5-21-58435627-18431725-18026167-1003)
    6. Right click that key and goto: 'Permissions' and give 'SYSTEM' 'read'.
    *Note* Once you logon to the roaming profile from the remote PC for the first time you can undo this step.
    7. goto GPEdit>Computer Configuration/Administrative Templates/System/User Profiles:
    Enable these settings:
    'Do not check for user ownership of roaming profile folders'
    'Delete cached copies of roaming profiles'
    'Log users off when roaming profile fails'
    "Add the Administrators security group to roaming profiles'
    'Prevent roaming profile changes from propagating to the server'
    7b. Make 'Timeout for dialog boxes' '1' (seconds)
    8. goto: Computer Configuration/Security Settings/Local Policies/Security Options:
    Make 'Number of previous logons to cache (if server is unavailable) '0'
    Now you're ready to login to the Profile on the remote PC.
    *Note* Sometimes, when windows loads it takes a minute for the profile folder to become shared again.
    Thanks for reading.

    Hi,
    I have replied to the below thread mentioning the FM's to create Profile sets, profiles and also target groups. This may be helpful to you.
    Re: target group creation
    Regards,
    Priyanka

  • How to create Video Podcasts?

    I Have heard that Garage band can create video podcast. Is there some tutorial on how to create them?

    Search GB's Help for "video".

  • How to create a facebook "likes" counter in adobe after effects?

    I was wondering if anyone could guide me to a tutorial on how to create a small icon that updates for example, the number of steps a person has taken or how many likes a video has got. For an example, I want to shoot a video where someone is running and I use a device which monitors my steps. The device shows the steps as 2 running shoes and in my video I would like to have this icon with the steps being counted beside it in my video.

    My approach would be to take a screen grab of the look you want, in the highest resolution possible.  Rebuild and adjust what you need, either in Photoshop or After Effects.
    To create a counter that steps up numerically, you can either use a text layer with an expression to keyframe the numbers, or create a solid and apply the Numbers plugin, which also allows you to keyframe the numbers.
    Here's some options straight from a Google search: after effects number counter
    If you're seeking a tool that will automatically count the steps of the person walking/running, that's a very complex proposition.

  • I need a COMPLETE tutorial on how to make a smart playlist with 'conditions'

    Ok, I have read discussions in the Support Communities, looked on iTunes Help and I think my brain is going to explode. I need a simple (for dummies) tutorial on how to create a smart playlist with 'conditions' and Live Updating. For example: instead of going through my Library music list and unchecking all my Christmas music and all my Comedy stuff so it won't play year round and at innapropriate times and having to skip them manually when playing on my ipod touch or my iphone4 in my car or through headphones or home sharing and using my AppleTV.
    Also, if my comedy is individually all unchecked (in my iTunes Library), and I have a regular playlist in my ipod and one in my iphone (titled Comedy), when I go to the playlist list in my ipod or phone (when not connected to my Mac), and select shuffle: will that playlist play all the way through even though they are all unchecked?
    AND, if I have 'sync only checked songs and video' box UNCHECKED in my summary page for a device what exactly does that do? Or more precisely, WHY would I want or not want that box to be checked?
    I really hope someone can help me as I am a complete idiot when it comes to understanding long explanations.

    katinak67 wrote:
    AND, if I have 'sync only checked songs and video' box UNCHECKED in my summary page for a device what exactly does that do? Or more precisely, WHY would I want or not want that box to be checked?
    If the box is unchecked, it won't do anything. It will sync everything.
    If it is checked, songs that are unchecked will nto get sync'd to the iPod.
    katinak67 wrote:
    For example: instead of going through my Library music list and unchecking all my Christmas music and all my Comedy stuff so it won't play year round and at innapropriate times and having to skip them manually when playing on my ipod touch or my iphone4 in my car or through headphones or home sharing and using my AppleTV.
    Select all the Christmas stuff, right click - get info.
    Set the sure the Genre is Christmas.
    Go to the Info tab and set Skip when Shuffling to Yes.
    Do the same for Comedy.
    Create a new smart playlist (named My Music or something similar).
    Match all rules;
    Genre is not Christmas.
    Genre is not Comedy.
    Play this playlist on the iPod/iTunes to listen to everything except Christmas & Comedy.
    Or if you have Shuffle turned on, just listen to anything and Christmas & Comedy will get skipped.
    Also, if my comedy is individually all unchecked (in my iTunes Library), and I have a regular playlist in my ipod and one in my iphone (titled Comedy), when I go to the playlist list in my ipod or phone (when not connected to my Mac), and select shuffle: will that playlist play all the way through even though they are all unchecked?
    It depends.
    In iTunes, unchecked items will get skipped.
    If unchecekd items get sync'd to the iPod (you do NOT have Sync only cheked items ticked), they will play unless you have them set to Skip when shuffling.

  • How to create explosions?

    hey all!
    Just wondering if any of you know of a plug-in/tutorial on how to create explosions in After Effects CS3? And, are there any random, free or not free, plug-ins you recommend (this question doesn't have anything to do with explosions!)?
    Thanks for your help!!!
    Brad

    Explosions are typically created with particle generation systems, stock footage, or a combination of both.
    Trapcode Particular has preset explosions built into it, but it's not a cheap plugin:
    http://www.trapcode.com/products_particular.html
    The existing Cycore particle systems in AE, CC Particle Systems II and CC Particle World, are good places to start for free.
    You can buy stock footage of explosions from many sources. Artbeats is great but expensive.
    http://www.artbeats.com/collections/206
    Andrew Kramer has a great package called Action Movie Essentials which includes explosions, and its only 60 bucks, including tutorials:
    http://www.videocopilot.net/action.html
    Detonation Films sell stock footage of fire and explosions, but there are lots of freebies on their site. It's mostly DV footage, so not up to the standard of Artbeats, but its cheap and/or free, so who's complaining?
    http://www.detonationfilms.com

  • How to create a database for sample code from Tutorial/Book?

    I want to try out the sample code from [http://shop.oreilly.com/product/0636920013471.do] for the book SQL Pocket Guide 3rd Ed.
    I have downloaded the oracle vm/appliance for oracle 11g2 and I have started sqlplus as sysdba.
    I'm feeling overwhelmed with these links describing how to create a database:
    [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
    [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html]
    [http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html]
    (1) What is the command to list the existing databases?
    (2) What is the command to delete an existing database?
    (3) When creating a new database with the create database command, is it necessary to specify the logfile, character set, national character set, datafile, sysaux datafile, undo tablespace, temp table space? Do these have reasonable defaults? I'm not sure what proper directories are to specify for Linux and the examples are for windows.
    Can someone give me a simplified create database command to create a database called 3rdEdPocketGuide? Should I follow the example at [http://tldp.org/HOWTO/Oracle-7-HOWTO-3.html] and instead of orcl use 3rdEdPocketGuide?
    (4) What command do I use to execute the script that comes with the book SQL Pocket Guide 3rd Ed? This is the script that has all the drop table, create table and insert commands in it.
    (5) What command do I use in sqlplus to set the current default database prior to running this script? Perhaps this is the connect command? I don't want my script to create tables in the system database.
    (6) I tried the command "connect 3rdEdPocketGuide" and it prompted for a password! Yikes! What password? Do I need to specify a password when I create a database? I cannot tell if I have successfully created such a database or it is just prompting me for a password to thwart malicious users. Is it is possible to create databases which don't require a password or maybe a zero length password?
    Thanks
    Siegfried
    Edited by: user8816970 on Sep 26, 2012 12:01 PM
    Edited by: user8816970 on Sep 26, 2012 12:18 PM

    user8816970 wrote:
    Paul,
    Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
    Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
    When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
    username=sysdba
    password=
    I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
    So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
    OK, sqlplus let me in with out a password, why does not this work?
    So I try checking the box for "OS Authentication" and I get the same error!
    Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
    Everyone:
    Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
    OK, so I run sqlplus and issue these commands
    create user siegfried identified by abc ;
    grant connect to siegfried ;
    connect siegfried/abc;
    Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
    Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
    So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
    I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
    So now I am connected in the "Oracle SQL Developer" and I see no list of databases.
    Thanks!
    Siegfried
    >Paul,
    Thanks! I tried changing my profile name to siegfried but I'm not seeing the change...
    Anyway, I'm trying your suggestion to use SQL Developer which was already installed in the virtual box appliance and I cannot figure out how to get a connection.
    When I use the defaults of sid=xe, port=1521, hostname=localhost and specify
    username=sysdba
    password=
    I get status: failure - test failed: listener refursed connection with the following error: ORA 12505, TNS: listener does not current know of sid given.
    So I try sid=orcl and that works better: status: failure - test failed: ORA-01017: invalid username/passowrd; login denied
    OK, sqlplus let me in with out a password, why does not this work?
    So I try checking the box for "OS Authentication" and I get the same error!
    Hoek: I tried searching the documentation and found "3 Exploring Oracle Database with SQL Developer" at http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm but following those directions did not help. Can you be more specific? The directions were for a tutorial and I need to know what the passwords are for the database set up with [http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html|http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html] . I also found [http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG|http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/tdddg_connecting.htm#CEGHFHIG] but that did not help either.
    Everyone:
    Do I need to create a user using SQL*Plus first so I can login with "Oracle SQL Developer" so I create my database called? What would be the "create user" command I would execute?
    OK, so I run sqlplus and issue these commands
    create user siegfried identified by abc ;
    grant connect to siegfried ;
    connect siegfried/abc;
    above does NOT use SQL*Net to connect to the instance
    >
    Now, how do I create a database? In Microsoft SQL Server one has to create a database first and if you just start creating tables without creating a database first, the tables will be created in the system database and this is usually undesirable.
    Sometimes a database is known in the java connection string as the catalog. Is there any such analog in oracle SQL plus?
    So now what do I do? I want to create a bunch of tables using my script I downloaded from 3rd Ed SQL Pocket Guide. Does my new user "siegfried" have the right to create tables? I guess I could try but I don't want to create tables in the system database.
    I noticed I can also use "Oracle SQL Developer" to connect with my new "siegfried" account. It seems that I should have been able to connect with sysdba... strange.
    So now I am connected in the "Oracle SQL Developer" and I see no list of databases.SQL Developer can only connect to the instance via SQL*Net
    >
    Thanks!
    Siegfrieda database in SQL Server is same as schema/user in Oracle

  • How to create and export a sharepoint list connection file to excel connection file library from power pivot?

    Hi All,
    I'm new to SharePoint and Power BI.
    I've to use  share point 2013 lists to create power view reports. For that, I need to create Power Pivot in Excel 2013.
    I'm fine with the above. We normally take a data feed of a list and create connection to that. We need to create a connection file (.odc) and export it into a excel file connection library of Share point. The connection to be made to share point list. The
    power pivot will be having multiple related lists.
    How can I create a connection file which is referring to share point list
    Please suggest.
    Regards,
    Julie

    Hi All,
    Finally, I could find the answer for this question after a long search.
    First of all, open a new excel file in server.
    Data-->From other connection-->From data connection wizard-->data feed-->Location of the data feed-->
    http://sharepointsite/sitename/_vti_bin/ListData.svc
    -->next-->select the lists which you need-->next-->only create connection-->properties--->export connection file
    -->ok
    The connection file has been created and .odc file exported to the specified location.
    Open power pivot and check the connection in existing connections.
    Exported file has to be uploaded in Excel file connection library of share point 2013. So that you can refer the same in this excel file when you upload it into share point.
    Regards,
    Julie

  • Tutorial Announcement .:: How to Create a Dynamic RSS Feeds  ::.

    .:: How to Create a Dynamic RSS Feeds ::.
    Using Adobe Dreamweaver 8 and InterAKT Rss Reader Writer Extension.
    Hello everyone...
    RSS feeds are very useful within sites, as they allow integrating for you website content in an automatic manner. Just share the source for the RSS feed, and when the original content changes, it will reflect in the content you share with any one who subscribed in this feeds on your site.
    In this tutorial i`ll help you integrate a RSS feed into one of your pages. This will display the content of your website to feeds subscribers with up to date content.
    The main purpose of this tutorial is to create a page that allows visitors subscribe to the RSS Feed that they want to see from your website content, or even enter their own in a text box by searching through feeds. also you can define feeds categories if your website is online store, merchant etc...
    :: Online Demo ::
    :: Go to tutorials ::
    Best Regards
    Waleed Barakat
    Developer-Online Creator and programmer
    http://www.developer-online.com

    Hey Waleed,
    thanks again for this great stuff -- and thanks for removing the login protection :-)
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How to create an export of APEX application with DB?

    How to create the common script of Application an Data Base?
    What is the best way to make an update of my application on host machine, if I develope my application in personal one?
    Regards, Kostya

    Thanx for your reply's
    If I understand the tutorial correctly I should do
    something like this to start the map:
    Map<String, myClass> myMAP = new HashMap<String,
    MyClass>();
    and something like this to add a new instance of the
    class every time:
    myMAP.put(myString, new myClass());
    So this would result a link between the Strings and
    the instance of the Class?
    Thanks
    Message was edited by:
    JasperLevinkyep. the String is the key, and the MyClass instance is the value. to get the value out of the map, use map.get(key)

Maybe you are looking for