Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8704

Re: SAP B1 SDK for the uninitiated - not for SAP "beginners"?

$
0
0

Hi Sam,

 

args[1] needs to be args[0] (do the SAP developers not understand 0 based indexing?)

Which SAP sample are you following ?

I noticed that most SAP samples are using

Environment.GetCommandLineArgs.GetValue(1)

The above is correct.

 

If you are using

Public Static Void Main(string Args[])

 

Then you are correct as to using Args[0]

I have never seen SAP sample using Args[1]... (at least so far... maybe i missed out some sample..)

 

As for the x86 problem,

This would depend on which version of SBO Client is installed on your PC.

1. If you have only either one x86 or x64 installed, you can use AnyCPU or x86 as you VS Platform

2. If you have both x86 AND x64 installed.

     - When debugging with x86 client, you need to set your VS platform as x86

     - When debugging with x64 client, you need to set your VS platform as x64

 

The same will apply when you are deploying to your clients PC.

You have to know what is your target SBO client in your clients PC.

The safest is you will need to have 2 versions of x86 and x64 addon.

 

Regards

Edy


Viewing all articles
Browse latest Browse all 8704

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>