I would suspect that the malloc/free errors have more to do with mixing debug 
and release builds of libraries than in the version of the C library.  I’ve 
never seen issues with libraries built with different version of the C 
compiler, but I have seen exactly these kinds of issues if I use a library 
built with the Release version of the C library and a program built using the 
Debug version or vice-versa.

Lyle

From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Tim Widowfield
Sent: Friday, March 20, 2009 3:37 PM
To: arslist@ARSLIST.ORG
Subject: Re: Anyone using the Remedy C-API on windows?

**
I'll second your motion, Ben.  For the ARS API programming, I've used msys with 
the gcc compiler on Windows, and the resulting executables worked just fine.  
Visual Studio is OK, and even more tolerable for me now that I bought a vi 
emulator for the code editor.  However, I can't help but think a lot of people 
who think they know how to program would be totally lost if their IDE weren't 
there to hold them by the hand every step of the way.

To all junior programmers out there, if all you've ever used is Eclipse, VS 
2005/2008, NetBeans, or whatever for development, I strongly encourage you to 
try to build something in a text editor (a real text editor, not Notepad) and 
compile your source code on the command line.  Learn Make.  Learn how the 
preprocessor works.  If the compiler generates errors, try to figure out what 
they mean and learn from them.  I admit that for most of my Java work today, I 
use MyEclipse, but for many years I used vi and ant exclusively, and I think 
that has helped give me a better perspective on Java.

As far as utilities goes, Cygwin is one of the first things I add to any 
Windows machine I have to work on.  xcopy?  I guess it's OK.  But lemme tell 
you about grep....

Long live the command line!

--Tim

________________________________
From: Ben Chernys <ben.cher...@softwaretoolhouse.com>
To: arslist@ARSLIST.ORG
Sent: Friday, March 20, 2009 4:21:18 AM
Subject: Re: [ARSLIST] Anyone using the Remedy C-API on windows?

**
If you're new to c, learn java!

I have a few "taught c classes" entries in my cv.  I say I use the VC IDE and 
indeed, Windows is my primary development platform, partly because of the noise 
and heat and electricity price of firing up my Sun, but certainly also because 
of the VCIDE Debugging facilities.

I am often enough in gdb - the GNU Debugger, in fact having thrown together a 
simple arx splitter utility only on Solaris to avoid building a "VC project" - 
and will defend the use of line mode any day.  I have Windows Command line 
utilities that I use daily in the course of normal ARS / ITSM Consulting to 
inspect ARS structures, workflow, data. and Meta-Update to do more 
sophisticated reports or to make changes.  I prefer an xcopy over Windows 
Explorer.  I never save files with VCC, instead preferring my 30+ year old 
editor, my first, non-line mode editor, way back from IBM Mainframe days.

Take the above with a grain of salt.  Danny's advise is bang on.

Cheers
Ben

________________________________
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Danny Kellett
Sent: March 20, 2009 12:01 PM
To: arslist@ARSLIST.ORG
Subject: Re: Anyone using the Remedy C-API on windows?
**
From the posters original email I would say they are new to C. So I would stay 
away from non ide compilers e.g. gcc etc. Reason being is that most ide’s such 
as VC or kdevelop will help you highlight the area of code that may not be 
correct visually, rather than try and read verbose output from a command line.

There are plenty of learn C for free sites on the net. Have a go at those 
first. Learn about strings, arrays, pointers, structs and then compiling and 
linking. Then the AR Api will be easier to understand. Its not rocket science 
and can actually be fun. (Danny puts on his geek hat, with a stupid grin on his 
face ☺)

Regards
Danny
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Ben Chernys
Sent: 20 March 2009 08:55
To: arslist@ARSLIST.ORG
Subject: Re: Anyone using the Remedy C-API on windows?

**
I use an older VCC compiler.  Don't know how it is possible to have these 
malloc/free problems as they are also across platforms.  I also develop on Sun 
Solaris, Intel Linux etc - but they are easy to get around.  Am considering 
changing the VCC stuff for gcc on Windows as well.  Just haven't gotten around 
to it yet.

Meta-Update is an API scripting facility.  With Meta-Update you write simple 
scripts in a few lines that would take you days and weeks of API programming.  
Results are immediate.

As an example, because of bugs and restrictions with the Workflow Execution 
rules or Reconciliation, we use a Meta-Update script to determine if CIs across 
datasets are "equal" in a set of configured fields.  It took an hour to add a 
(useful) message and a CSV to delineate the differences.

Cheers
Ben
www.softwaretoolhouse.com<http://www.softwaretoolhouse.com/>


________________________________
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Axton
Sent: March 20, 2009 12:26 AM
To: arslist@ARSLIST.ORG
Subject: Re: Anyone using the Remedy C-API on windows?
** Maybe arswiki.org<http://arswiki.org/>?

http://arswiki.org/wiki/Category:Programming
http://arswiki.org/projects

The site is starting to get outdated and I may shut it down if people continue 
to not show an interest in contributing content.  It's an extra bill to carry 
with no community support.  Volunteers?

Axton Grams
On Thu, Mar 19, 2009 at 6:05 PM, Danny Kellett 
<danny.kell...@strategicworkflow.com<mailto:danny.kell...@strategicworkflow.com>>
 wrote:
Hi Dan,

Yep, been using them for years and used to teach the api course sometimes when 
I worked at BMC. If you are using AR Version > 7 then use VS2003. If you use 
lower then you will have malloc and free issues.

I have used other 3rd party stuff but thats only when I need to support linux 
etc. Then I use kdevelop.

My advice, get hold of vmware, install MSSQL 2003 and get a copy of the AR 
server 7+ and you will find examples within the server package if you choose to 
install the api.

Also there are some examples on the wiki that is maintained. Cant remember the 
url but put ars and wiki in google.

Regards
Danny

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG>] On Behalf Of Dan Bikle
Sent: 19 March 2009 22:42
To: arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG>
Subject: Anyone using the Remedy C-API on windows?

People,

Are you currently writing any C programs on windows which make C-API
calls to Remedy?

If yes, how do you describe your development environment?

My eventual goal is to use Ruby scripts to connect to Remedy.

I see this as a 3 step process:
 - Learn how to write C programs on windows
 - Learn how to link my windows-C-programs with the Remedy C-API
 - Learn how to link my windows-C-programs with the Ruby C-API

Currently, though, I want to focus on learning about making C-API
calls on windows.

Are you currently writing any C programs on windows which make C-API
calls to Remedy?

If yes, how do you describe your development environment?

Are you using Microsoft Visual Studio?

Are you using any opensource or 3rd party development tools?

I did a search of ARSLIST@ARSLIST.ORG<mailto:ARSLIST@ARSLIST.ORG> and found 
some useful
information about obtaining windows dll files:
 - http://listserv.rbugs.com/cgi-bin/wa.exe?S1=arslist

Thanks,

--Dan

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at 
www.arslist.org<http://www.arslist.org/>
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 3949 (20090319) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at 
www.arslist.org<http://www.arslist.org/>
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___
__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___
__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ 
__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___
__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___


 NOTICE: This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.


Reply via email to