CS SDK examples
For those who are new to the CS SDK, I'd like to suggest the series of post in the CS SDK blog made by Olav Kvern in 2011 (look for them aroud page 4 and previous ones). Yes Extension Builder comes with several demo panels, but Olav articles digged much deeper in the code logic, providing many ideas for the rest of us - they're absolutely a great learning source.
I don't know him personally, but if someone of you is still in touch with Ole, please tell him that his peculiar writing skills are deeply missed!
Davide
For those who are new to the CS SDK, I'd like to suggest the series of post in the CS SDK blog made by Olav Kvern in 2011 (look for them aroud page 4 and previous ones). Yes Extension Builder comes with several demo panels, but Olav articles digged much deeper in the code logic, providing many ideas for the rest of us - they're absolutely a great learning source.
I don't know him personally, but if someone of you is still in touch with Ole, please tell him that his peculiar writing skills are deeply missed!
Davide
Similar Messages
-
AVAnnotHandlerRec GetType issue in sdk example!
Hi,
Anyone tried the Stamper api sdk example in Acrobat 10 or Acrobat 11 on windows (xp)?, well when you open a doc add a stamp to it and close acrobat without saving it crashes acrobat. (acrobat.dll error)
(if you don't add stamps then it's closes ok)
I have narrowed the problem down to the AVAnnotHandlerRec GetType which is causing the issue, problem is I don't know how to fix it.
I have used this example in Acrobat 5,6,7,8 and 9 and it works ok.
gStamperAH.GetType = ASCallbackCreateProto(AVAnnotHandlerGetTypeProc, &AnnotGetType);
Acrobat 10 SDK\Version 1\PluginSupport\Samples\Stamper
crashes acrobat on close with:-
AppName: acrobat.exe
AppVer: 10.1.4.38
ModName: acrobat.dll
ModVer: 10.1.4.38
Offset: 000bd8e7
AppName: acrobat.exe
AppVer: 11.0.0.379
ModName: acrobat.dll
ModVer: 11.0.0.379
Offset: 0003c672
Any ideas?well, I have debugged it and it's actually unloading the Stamper.api plugin ok. but has an memory access issue later which causes the crash, it seems everytime I debug the unload unloads with different results... ie.. order of plugin dll's. anyway, i'm going to contact Adobe to see if they have any ideas.
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msvcp100.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msvcr100.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\rserver30\R3GOD.DLL', Binary was not built with debug information.
'Acrobat.exe': Unloaded 'C:\WINDOWS\system32\rserver30\R3GOD.DLL'
'Acrobat.exe': Loaded 'C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork3.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
'Acrobat.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
'Acrobat.exe': Loaded 'C:\Program Files\CheckPoint\ZAForceField\Plugins\ISWSHEX.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262b86\m svcr80.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262b86\m svcp80.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ntmarta.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\samlib.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
'Acrobat.exe': Unloaded 'C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork3.dll'
'Acrobat.exe': Unloaded 'C:\WINDOWS\system32\ws2_32.dll'
'Acrobat.exe': Unloaded 'C:\WINDOWS\system32\ws2help.dll'
The thread 'Win32 Thread' (0x10a8) has exited with code 0 (0x0).
'Acrobat.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x -ww_35d4ce83\comctl32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\AGM.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\CoolType.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\BIB.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\ACE.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msctf.dll'
'Acrobat.exe': Loaded 'C:\Program Files\Common Files\Spigot\Search Settings\wth155.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\psapi.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43\m svcp90.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43\m svcr90.dll'
The thread 'Win32 Thread' (0x80c) has exited with code 0 (0x0).
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Stamper.api', Symbols loaded.
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\sqlite.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\comres.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\mslbui.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\winsta.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'
'Acrobat.exe': Unloaded 'C:\WINDOWS\system32\winsta.dll'
'Acrobat.exe': Unloaded 'C:\WINDOWS\system32\netapi32.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\amtlib.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\winhttp.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
The thread 'Win32 Thread' (0xe6c) has exited with code 1 (0x1).
ADOBE_READLOGGER_CMD:PAUSE_LOG
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\BIBUtils.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wtsapi32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\winsta.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'
The thread 'Win32 Thread' (0x9fc) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x39c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x8b4) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x106c) has exited with code 0 (0x0).
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Annots.api'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ieframe.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\iertutil.dll'
'Acrobat.exe': Unloaded 'C:\WINDOWS\system32\ieframe.dll'
'Acrobat.exe': Unloaded 'C:\WINDOWS\system32\iertutil.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\PDDom.api'
The thread 'Win32 Thread' (0x10b0) has exited with code 0 (0x0).
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\oleacc.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msvcp60.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msftedit.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemprox.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemcomn.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wbem\wbemsvc.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wbem\fastprox.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\ntdsapi.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\rsaenh.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\AXE8SharedExpat.dll'
'Acrobat.exe': Loaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\IA32.api'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wininet.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\normaliz.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\urlmon.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\iertutil.dll'
The thread 'Win32 Thread' (0x1770) has exited with code 0 (0x0).
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\hnetcfg.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\userenv.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\schannel.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\rasapi32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\rasman.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\tapi32.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\rtutils.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\msv1_0.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\sensapi.dll'
'Acrobat.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll'
'Acrobat.exe': Loaded 'C:\Program Files\Bonjour\mdnsNSP.dll'
'Acrobat.exe': Unloaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Stamper.api'
'Acrobat.exe': Unloaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Annots.api'
'Acrobat.exe': Unloaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\PDDom.api'
'Acrobat.exe': Unloaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api'
'Acrobat.exe': Unloaded 'E:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\IA32.api'
The thread 'Win32 Thread' (0x1390) has exited with code 0 (0x0).
First-chance exception at 0x6003c672 in Acrobat.exe: 0xC0000005: Access violation reading location 0x01ff36a0.
Unhandled exception at 0x6003c672 in Acrobat.exe: 0xC0000005: Access violation reading location 0x01ff36a0. -
Hello All,
I am trying to build the shake sdk example plugins for os x on a mac-pro.
Problem is that when I click on any of the newly appeared SDK->xxx icons, I only get a black screen saying "missing macro" in red.
and in my shell it says,
"error: NRiFxButton1, line 1: unknown function SFileInDialog_
SFileInDialog_()"
They compile and link went through XCode without errors.
The files look like they are installed in the right place.
When launching shake from shell it tells me that the 'plugins.bundle' and 'registerPluginsUI.h' got loaded ok.
I get new the new buttons in shake(without any icons)
Would anyone know what I might be doing wrong??
cheers
fredOh actually,
I just spotted this error message higher up in the startup text:
Error loading /Applications/Shake/shake.app/Contents/PlugIns/startup//plugins.bundle/Contents /MacOS/plugins: dlopen(/Applications/Shake/shake.app/Contents/PlugIns/startup//plugins.bundle/C ontents/MacOS/plugins, 262): Symbol not found: __ZTI10NRiMonadic
Referenced from: /Applications/Shake/shake.app/Contents/PlugIns/startup//plugins.bundle/Contents /MacOS/plugins
Expected in: /Applications/Shake/shake.app/Contents/MacOS/../../../shake.app/Contents/Framew orks/nrccmacos.framework/Versions/A/nrccmacos
Just have to figure out what that is about.
cheers
fred -
Mac SDK example plugins - none compile (Missing Base SDK)
Hi All
I'm a Windows developer, and it's been a long time since I've developed our plugin for the Mac (10 years ago using powerpc, codewarrior etc), so my Mac skills are rusty.
I thought I'd start with the SDK examples, but I can't get them to compile. When I open the Dissolve project I get an error:
'Missing Base SDK'
Project settings has Base SDK set to OSX10.6 (in a custom path that I can't read because XCode truncates it).
The minimum Base SDK I can select is 10.7, but when I do that I get a build error in DialogUtilities.h, "'Dialogs.h' not found"
Do I need to find the OSX10.6 Base SDK and use that? Where and how? Or is there an alternative to Dialogs.h that OSX10.7 onwards uses? This is probably an elementary question, but I can't find the answer!
I'm using:
OS X - Mountain Lion (running in VirtualBox, but I can't see how this would upset the compiler)
XCode - 4.5.2
Photoshop SDK 13.0 - CS6
Thanks
JamieYou should be able to just comment out those header includes. I believe this is the list of files to comment out.
1. SDK common/includes/PIUFile.h
a. #include <Folders.h>
2. SDK common/includes/PIUtilities.h
a. #include <LowMem.h>
b. #include <ToolUtils.h>
c. #include <FixMath.h>
3. SDK common/includes/DialogUtilities.h
a. #include <Diaglos.h>
b. #include <Types.h>
c. #include <Gestalt.h>
d. #include <TextUtils.h>
e. #include <OSUtils.h>
f. #include <Menus.h> -
FileShare SDK example and FileShare Pod
Hello CocoWorld,
I am after a pod just like fileShare except for the User
interface which needs to be internationalise (in french).
That is where i naturaly looked at the FileShare model used
in the SDK example.
The problem i encountered is that the example gives me some
errors on uploading file, it starts by updating its size then an
error is thrown.
Error #2044: Unhandled ioError:. text=Error #2038: File I/O
Error. URL:
https://na2.connect.acrobat.com//app/content/accounts/oie/na2-sdk-31fd66ad-d575-452b-8ad8 -d0d5a82033a8/meetings/fooe/FileManager/?mst=amr97e9856wm
uploadFileUrl:
https://na2.connect.acrobat.com//app/content/accounts/oie/na2-sdk-31fd66ad-d575-452b-8ad8 -d0d5a82033a8/meetings/fooe/FileManager/?mst=amr97e9856wm
filename: BasicCompositionMAX.zip (BasicCompositionMAX.zip)
Error #2044: Unhandled ioError:. text=Error #2038: File I/O
Error. URL:
https://na2.connect.acrobat.com//app/content/accounts/oie/na2-sdk-31fd66ad-d575-452b-8ad8 -d0d5a82033a8/meetings/fooe/FileManager/?mst=amr97e9856wm
uploadFileUrl:
https://na2.connect.acrobat.com//app/content/accounts/oie/na2-sdk-31fd66ad-d575-452b-8ad8 -d0d5a82033a8/meetings/fooe/FileManager/?mst=amr97e9856wm
filename: edoboard_test.png (edoboard_test.png)
However the FileShare pod works perfectly.
Is the example faulty somehow ?
Any other way to use FileShare pod with a custom gui ?
Thanks again.yes it is just , actually there is no error but , but there
nothing
when i click in my button , there is nothing , why ?
<mx:Button id="upload_btn" label="Upload File"
click="onUploadClick()"/>
<mx:Button id="download_btn" label="Download File"
click="onDownloadClick()"/>
<mx:Button id="delete_btn" label="Delete File"
click="onDeleteClick()"/>
it is my source :
* This application shows how to upload, download, delete,
and display files
* via AFCS's FileManager API, FilePublisher, and
FileSubscriber components.
* Completes initialization and adds session listeners to
catch session connected events.
private function init():void
// we are interested in both SYNCHRONIZATION_CHANGE
(connection success) and Error events
sessionManager.addEventListener(SessionEvent.SYNCHRONIZATION_CHANGE,
onSessionEventNotification);
sessionManager.addEventListener(SessionEvent.ERROR,
onSessionEventNotification);
// small status indicator
notificationMessage.text = "Login to the AFC Service...";
* Handles sessionEvents such as synchronization, errors, and
so on.
* @see SessionEvent
private function
onSessionEventNotification(p_evt:SessionEvent):void
//The type of event emitted when the session gains or loses
synchronization with its source.
if (p_evt.type == SessionEvent.SYNCHRONIZATION_CHANGE) {
//if we are successfully connected
if (sessionManager.isSynchronized) {
notificationMessage.text = "Connected";
// Get the file manager from our connectSession.
if (!_fileManager) {
_fileManager = sessionManager.fileManager;
// Get the user manager from connectSession for later use.
if (!_userManager) {
_userManager = sessionManager.userManager;
// create new file publisher to upload/delete files
if(!_filePublisher){
_filePublisher = new FilePublisher();
_filePublisher.initialize();
//Only a room owner can create the new file group (a group
is like folder).
if(!_fileManager.isGroupDefined(_groupid) &&
_fileManager.getUserRole(_userManager.myUserID,_groupid) ==
UserRoles.OWNER) {
//Create a new node with a new groupid.
var nodeConfig:NodeConfiguration = new NodeConfiguration;
nodeConfig.sessionDependentItems = false; //Specifies
whether files in the pod should be deleted as the session ends.
_filePublisher.createAndUseGroup(_groupid, nodeConfig);
}else {
//otherwise, use assigned groupid
_filePublisher.groupName = _groupid;
// Create a file subscriber to download file.
if(!_fileSubscriber){
_fileSubscriber = new FileSubscriber();
_fileSubscriber.initialize();
// Bind to the file manager's file descriptors array
collection to display the datagrid user interface.
_fileDescriptors =
_fileManager.getFileDescriptors(_groupid);
else if (p_evt.type == SessionEvent.ERROR) {
// we get an error from connect session
notificationMessage.text = "Error: " + p_evt.error;
* Handle the upload button click.
private function onUploadClick():void
var filterArray:Array = [new FileFilter("*.*", "*.*")];
_filePublisher.browse(UIDUtil.createUID(), filterArray);
* Handle the download button click.
private function onDownloadClick():void
if(_fileGrid.selectedItem) {
try{
_fileSubscriber.download(_fileGrid.selectedItem as
FileDescriptor);
}catch(e:Error) {
trace("Error download: " + e.message);
* Handle the delete button click.
private function onDeleteClick():void
if(_fileGrid.selectedItem) {
_filePublisher.remove(_fileGrid.selectedItem as
FileDescriptor);
Lionceau, -
Goods Receipt for Production Order SDK example
Hi all,
Is it possible to do a goods receipt for a Production Order with the SDK?
(I've tried but have no ideia hoe to fill the Documents & Document_Lines objects)
If somebody could help me by providing an example, it will be great!
Thanks all!
mdiasOk, I've found the solution.
I only need to set BaseType = 202 of my Documents object.
Thanks anyway,
mdias -
Example Order and Invoice in the SDK examples
hi all,
i am programming with the DI API in VB6 and i want to perform a normal order and invoice transaction! The example which comes with the SDK is in .NET! How can i do this in VB6, because at the moment i have certain problems to combine the business partners with the corresponding items, they are selling!
Thanks for your help!Hi
Here is an example of how to add a sales order. The invoice is very similar, just change the document type.
Dim oBP As SAPbobsCOM.BusinessPartners
Dim BPCodeStr As String
oBP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
Dim oOrderDoc As SAPbobsCOM.Documents
oOrderDoc = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
BPCodeStr = BPCode.Text
If oBP.GetByKey(BPCodeStr) Then
oOrderDoc.CardCode = BPCodeStr
oOrderDoc.DocDueDate = Now
oOrderDoc.Lines.ItemCode = Item1.Text
oOrderDoc.Lines.Quantity = Qty1.Text
oOrderDoc.Lines.Add()
oOrderDoc.Lines.ItemCode = Item2.Text
oOrderDoc.Lines.Quantity = Qty2.Text
lRetCode = oOrderDoc.Add
If lRetCode <> 0 Then
MessageBox.Show("Not Added")
ElseIf lRetCode = 0 Then
oCompany.GetNewObjectCode(OrderStr)
MsgBox(OrderStr)
End If
End If
Hope this helps -
HelloWorld, nor any SDK examples work for Me. :(
Hi there.
Feebly trying work with the Illustrator CS3 SDK. I wanted to develop an Illustrator plugin, but for now will settle on a simple HelloWorld example. I am hoping someone can just point me in the right direction. Feel I am ready to give up before I even get started. Here are the dilemmas...
In the SDK docs, none of the tutorials or examples work for me. For the most part, nothing compiles, I get one error after another. The times code actually does compile, Illustrator will not load the plugin.
I've spent a week or two simply trying to get one of the examples to work, any one of them, or to simply get the HelloWorld example to work, no luck. Spent hours tracking down where things could be breaking, but found no results. I cannot tell if I am getting closer to finding the cause of the problem(s) or if I am working in circles.
I ask this to anyone so kind to assist. Please step me through a simple HelloWorld example, which actually works on my system. I am happy to, and would provide details of various error messages I get, but I think seeing a simple working example would be the best help.
Here's are the details.
Trying to get the HelloWorld example, from the SDK CS3 docs, to work on either the mac or pc. I prefer the pc though.
- On the mac, using xcode. OSX, the latest. Tried compiling with all minor versions of OSX.xxx too.
I was able to get the helloWorld example to sort of compile, but it created a folder instead of a plugin, which didn't work.
- On the pc, using winXP Pro, win32. Computer is up-to-date, service pack 3, a gig of ram, Pentium 4 3.00GHz.
Using Visual C++ Express 2008, also tried with 2005.
Here are a few things I tried, in attempt to get the HelloWorld example to work.
-> Tried addressing all the "gotcha" tips from this site:
http://www.graphicscode.com/Articles/VCExpressGotchas.html#RC1015
-> Tried every which way to point the includes to the correct locations. Tried even copying the common library files into the same folder as the project.
-> Tried saving the resource files in different formats, eg. UTF8, ANSI. Tried different line terminators eg. CR/LF.
Not only the correct code, but I think what I need most are the correct project settings for Visual C++ Express. Also, there might be something funny going on with how VC++ creates resource files too.
Appreciate any help.
Thank you,
-JustinNobody??
Hello WORLD << Anybody out there.... :) -
None of the SDK Examples are Compiling in Xcode ???
Hi....
I have just downloaded the PPRO CC SDK - I am trying the examples but NONE of them are compiling...
REZ Error 3 etc etc etc - Missing Headers and what not
Is this for real ????
-- Best
MortenHi Morten,
So you are compiling using XCode 5 on 10.9, right?
You have two options:
1) From an older version of XCode, copy across the 10.7 SDK, which is what the sample projects expect (since Premiere Pro CC runs on Mac OS 10.7 and later)
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOS X10.7.sdk
or
2) In the Build Settings, change the Base SDK to OS X 10.8. This means the plug-ins you build will not work on 10.7. -
I'm working on a project to create an air application which will have a chat area, webcam, and open videos in real time. This should also work on iOS.
Can I use the same examples in the SDK to create this app by using flash builder 4.5? Is there any tutorials will help me in this topic?
One more Question, by using LCCS, can I open a loaded videos/YouTube videos in a real time? Is there is any tutorial or example? In the adobe LiveCicle Collaboration web site, there is an example for The Video Livingroom. Is there a tutorial/code for this example?
Your help is really appreciated.
Thank you
SuhaI think these guys had success on the iOS:
http://forums.adobe.com/thread/855200?tstart=60 -
Problem with Photoshop SDK example plugins
Hi,
I would like to write a filter plugin. So I have downloaded the Photoshop CS2 SDK and I have compiled all the example filter plugins from it. Now when I use an additional directory for loading the plugins to the Photoshop CS2. Only 3 of 7 show up. I am using Windows Vista.
Does somebody know what I am doing wrong?
Thanks
LucieApart from the obvious, no.
Vista brings a bunch of new headaches for people using plugins, including "entry point not found" and memory bugs which XP/OS X users don't encounter.
An upgrade to a different operating system is recommended. -
SAP SDK example is unable to build in eclipse
Hi All,
I am trying to install the standard SAP Example SDK application.
I imported the com.sap.sample.audio and com.sap.sample.click in Eclipse workspace but getting build errors.
Bundle com.sap.ip.bi.zen.rt.components.sdk.eclipse cannot be resolved and
Unknown extension point 'com.sap.ip.bi.zen.sdk'.
my DS is on
c:\Design Studio folder and I did try to setthe plugins to this path but still not able to build.
Pls help me to resolve the issue.
Thanks,
ManjuHi Manjula,
Did you install the Design Studio SDK XML Schema Definition?
If not:
1. Choose WindowPreferences.
2. In the Preferences dialog box, choose XML catalog.
3. Choose Add....
4. In the Add XML Catalog Element dialog box, choose File System....
5. Navigate to file sdk.xsd in your SDK Templates and Samples folder, for example C:\ds_sdk\sdk.xsd.
6. Choose OK twice.
Br
Max -
Source of PDF SDK examples and documentation.
I am creating PDF documents from scratch using the Adobe PDF SDK using the "Acrobat and PDF Library API Reference" but find it's lack of examples and detail frustrating. Is there any addition documentation or third-party books that would be helpful?
It appears most of the examples relate to creating plugins rather generating new PDF as I am doing. For example I also wish the use the PDEPatternCreate library function. A text search of the V8 and V9 SDK reveals only a few references in header files. No actual examples on how to construct the raw CosObjP which I assume must be based on the format from the PDF language specification. I can't see any practical examples on how to create such objects. I always find example code is a great learning tool because you can see functions and structures used in context with each other and thus more easily understand how they fit together.
-
How to run oracle cm sdk examples in a standalone mode?
I encountered some difficulty on how to run the examples provided by CM SDK Developer's Guide,such as SimpleConnection.I deployed my develop enviroment in two computers,installed only oracle JDeveloper in one computer,while installed Oracle10g,Oracle AS and Oracle CM SDK on the other computer.But when I tried to run the example on the computer which was only installed Oracle JDeveloper,I always failed.I have no idea of how to run the example in a standalone mode.I hope someone who familiar with Oracle CM SDK can help me solve the problem or give me some advice.Now I list the errors which appeared when I ran the example,SimpleConnection.
C:\Oracel JDeveloper904\jdk\bin\javaw.exe -ojvm -classpath C:\Oracel JDeveloper904\jdev\mywork\Workspace2\Project1\classes;C:\Oracel JDeveloper904\jdev\lib\jdev-rt.jar;C:\ias\cmsdk.jar;C:\ias\uix2.jar;C:\ias\classes12.jar;C:\ias\emPid.jar -DIFS.DOMAIN.Name=ifs://zhao:1521:zyh:IFSSYS -DIFS.STANDALONE.Mode=true -DIFS.SCHEMA.PASSWORD=manage oracle.ifs.examples.devdoc.connection.SimpleConnection
Connecting...
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefaultService)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (SmallServiceConfiguration)
java.sql.SQLException: Io Òì³£: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:431)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:515)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:618)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:503)
at oracle.ifs.beans.LibraryService.startService(LibraryService.java:366)
at oracle.ifs.examples.devdoc.connection.SimpleConnection.main(SimpleConnection.java:17)
Process exited with exit code 0.The CMSDK uses the oci8 interface to connect to the database. The classes12.jar file has to correspond to the appropriate ocijdbc9.dll file; and the ocijdbc9.dll file is dependent on about 26 other DLLs beginning with oci*.dll and ora*.dll.
I've found that the 10.1.0 and 9.2.0 database client releases contain the wrong oci*.dll family (at least for JDeveloper) and I use the 9.0.4 AS Client tree in my path when I work with CMSDK.
My quick test is to see if I can connect to my database using JDeveloper Connect DBMS with the oci8 connection method. This seems to put out some reasonable error messages explaining why it failed, e.g. it tells you that it couldn't find the right DLL dependency. -
Photoshop CS4 CRASH on using Flash Panel from SDK examples
Hi!
I'm trying to create a panel using Flex, flash and javascript. But I cannot finish tutorials - they all CRASH photoshop with almost the same code in init() function when using CSXSInterface.** functions.
When I comment those ones, it's all ok (the script loses functionality, but panels don't crash).
For example this code
CSXSInterface.instance.evalScript("PhotoshopRegisterEvent", charToInteger("setd").toString());
crashes my Photoshop CS4.
What's wrong? AIR logger doesn' say anything.
Thank you!
Anastasiy SafariI have exactly the same problem. Can anybody put some light on this issue?
Regards
Bartek -
Required classes for CM SDK example application
hello everyone .
I am trying to run the sample application of CM SDK that is webstarterappII.
But unable to get the required jars that include these files.
oracle.cabo.share.util.CaboHttpUtils
oracle.gss.util.NLSLocale
oracle.cabo.share.util.MultipartFormHandler;
oracle.cabo.share.util.MultipartFormItem
and more ....
Any body can suggest me from where i can get the jar for these classes or can get the class file or source any hint.
every suggestion will be highly appreciable
regards
saleem khanThese are found in the uix jar file. See the readme for WSA II for futher details.
Maybe you are looking for
-
New iPod touch won't play songs or videos from iTunes!
Hello, I purchased a 64gb iPod touch for my niece for Christmas. We set it up and synced her library this afternoon. None of the songs synced from iTunes will play (cover art appears but the song never plays - we have tried pressing pause and resta
-
IPhoto not included in Mac OS X
I have a MacBook currently running OS X 10.6. It had a previous version when I bought it last year, but the hard drive failed recently and when I took it to the Apple store, they installed a new hard drive with 10.6. For some reason, iPhoto is not on
-
After updating to iOS 8.2 on the iPhone 4S, iMessage and FaceTime no longer work properly. constant hovering and disconnect from the service. Also, I noticed that going to the settings section is disabled service "Find iPhone". To get to the point ti
-
Hi friends, when hitting a f4 help on a field. SAP is restricting to first 5000 hits and i would like to get the max no. of hits. and i'm using a FM for f4 help. thanks , kat
-
How to create dynamic object in painter screen.
hi one case need to display some object in screen,but these object just be determined when program is running. some one can give me simple demo code and how to find to detail information from sap douc! thank you advance!