Re: Any Mac c++ programmers on here?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jason (yo_at_yo.com)
Date: 12/28/04


Date: Tue, 28 Dec 2004 16:46:33 -0500


"Fredrik Wahlgren" <fredrik.p.wahlgren@mailbox.swipnet.se> wrote in message
news:Oq4VjTS7EHA.2156@TK2MSFTNGP10.phx.gbl...
>
> "Jason" <yo@yo.com> wrote in message
> news:uglAFIS7EHA.2012@TK2MSFTNGP15.phx.gbl...
>>
>> "Fredrik Wahlgren" <fredrik.p.wahlgren@mailbox.swipnet.se> wrote in
> message
>> news:O7PQDqQ7EHA.4064@TK2MSFTNGP10.phx.gbl...
>> >
>> > "Jason" <yo@yo.com> wrote in message
>> > news:OWyIwpP7EHA.3368@TK2MSFTNGP10.phx.gbl...
>> >>
>> >> "Fredrik Wahlgren" <fredrik.p.wahlgren@mailbox.swipnet.se> wrote in
>> > message
>> >> news:u5OuK8O7EHA.2608@TK2MSFTNGP10.phx.gbl...
>> >> >
>> >> > "Jason" <yo@yo.com> wrote in message
>> >> > news:u5OCd1O7EHA.3416@TK2MSFTNGP09.phx.gbl...
>> >> >> Someone contacted me regarding porting over to OSX an excel addin.
>> >> >> I
>> >> >> would
>> >> >> be using codewarrior 5 on an OSX machine. How doable is this with
>> > version
>> >> > 5?
>> >> >>
>> >> >> Thanks
>> >> >>
>> >> >>
>> >> >
>> >> > Is this an xll? It will be more complicated than the Excel 95 SDK
>> >> > suggests.
>> >> > It documented 68k code. You now have to use CFM. Excel is not a
>> >> > Cocoa
>> >> > application. I think it's doable, I managed to create a PPC version
> of
>> >> > a
>> >> > subroutine that took too long under 68k emulation. BTW. How old is
>> > version
>> >> > 5?
>> >> >
>> >> > / Fredrik
>> >> >
>> >> >
>> >>
>> >> It's an xla written in c++. I saw something from sailmaker which
> offered
>> >> a
>> >> framework for creating the addin but it required a newer version of
>> >> codewarrior and the excel 95 sdk (which I cannot seem to locate any
>> > where).
>> >>
>> >> I'm not sure of the release date of 5 but I know they're up to 9 now.
>> >> I
>> >> would guess around 2000 that it came out. I don't have it in front of
> me
>> > but
>> >> the person who has it and is offering to let me use it to attempt this
>> > says
>> >> that it does have a patch for writing OSX code which is the version
>> >> I'd
>> > like
>> >> to focus on the most.
>> >>
>> >> I'm just wondering how hard of a conversion it will be. I'm not too
>> >> concerned with learning mac programming overall just getting this to
>> >> work.
>> >>
>> >
>> > If a file has the extension xla, it's written in VBA. Are we talking
> about
>> > the same thing? What does the add-in do? I think the most problematic
> part
>> > is to understand how to make an add-in that doesn't use 68K code. I
> think
>> > it
>> > would be a good idea to make a simple add-in first that simply adds a
> menu
>> > ad possibly a few very simple UDF's.
>> >
>> > / Fredrik
>> >
>> >
>>
>> Well it's a c++ project and I opened and built it in Visual Studio.Net
>> and
>> it produced an xla file which I then "added in" to excel. It's an add in
>> that replaces some manual steps used to create charts and such. It's part
> of
>> a dissertation that this guy is writing.
>>
>> Anyway, he has a powermac running osx 10.2 and codeworks 4 (was 5 but
> found
>> it to be 4) and we're trying to determine if CW 4 can even create add
>> in's
>> for OSX or not and if so how much of a job this would be to convert it.
>>
>> Are there any empty add in projects (perhaps from a SDK or even better an
>> add in wizard or something) that codeworks can build to see if it can do
>> this?
>>
>> Thanks
>
> Does it really have the xla extension?? Does the add-in you built with
> VS.NET work? If the only purpose is for a dissertaion and it only replaces
> afew manual steps, why not use VBA? Creating an excel add-in seems like
> overkill.
>
> / fredrik
>
>

Yeah it has an xla extension and it works good. It does quite alot, there's
33 .c files. I'm not sure when it was written but I think a while ago and
this guy is now tryng to get it wrapped up and needs a mac version.

The possiblity of creating a version using vba is definately a possibilty
but before I start doing that I'd like to see if I can convert it.

So do you think CW can create add ins?



Relevant Pages

  • Downloaded PT Add-ins not showing up in VBA project tree list
    ... I use some excel add-in like XY chart labeler by A Pope (VB project ... On the other hand the PPT add-ins which I installed like work area add in by ... RnR starter set by Steve doesnt show up in the project tree. ... VBA PPT VBA as far as project tree listing is concerned? ...
    (microsoft.public.powerpoint)
  • Cant add a reference to specified file
    ... About a year ago I wrote C++ excel add-in, ... need for my VBA code to find the live ones. ... and the server replies "yes" and my function ... or the request time outs and my function returns "no". ...
    (microsoft.public.excel.programming)
  • Re: Any Mac c++ programmers on here?
    ... >> If a file has the extension xla, it's written in VBA. ... > a dissertation that this guy is writing. ... Creating an excel add-in seems like ...
    (microsoft.public.mac.office.excel)
  • Add-In
    ... In VBA how can I install an Excel Add-in from a ... public/network file and then in the same process run the ...
    (microsoft.public.excel.programming)