SDK? (Full Version)

All Forums >> [Current Games From Matrix.] >> [Sports] >> PureSim Baseball



Message


rwmorey71 -> SDK? (8/5/2009 5:00:54 AM)

Hi --

How do I get a copy of the SDK and any documentation available with it? I would love to start making some "mods" for PureSim!

Rich




puresimmer -> RE: SDK? (8/5/2009 1:06:58 PM)

In the \SDK folder where you installed PureSim.

Note, the docs are a little out of date, I will be updating soon.

That said, the samples in the \SDK\Samples folder should all work just fine.




rwmorey71 -> RE: SDK? (8/15/2009 10:43:03 PM)

Hey Shaun --

I just downloaded Microsoft Visual C# Express and loaded up one PureSharp sample project and it all looks pretty straight forward. One question I have - you note in the release notes for v1.80 that IPureSim4 interface now returns a live connection to the database. Is there a document about what tables and fields are in the live DB?

Thanks

Rich





puresimmer -> RE: SDK? (8/16/2009 1:40:03 AM)


quote:

ORIGINAL: rwmorey71

Hey Shaun --

I just downloaded Microsoft Visual C# Express and loaded up one PureSharp sample project and it all looks pretty straight forward. One question I have - you note in the release notes for v1.80 that IPureSim4 interface now returns a live connection to the database. Is there a document about what tables and fields are in the live DB?

Thanks

Rich




No, but if you have Microsoft Access 2007 you can open up all the *.dat files. They are wide open and pretty well commented.

Shaun




rwmorey71 -> RE: SDK? (8/16/2009 6:45:00 PM)

Hey Shaun -

I am new to C# and thought I would learn more about C# by trying to create an add-in for PureSim. Can you provide a quick instruction on accessing the DB. I changed this line:

IPureSim _pureSim;

to

IPureSim4 _pureSim;

but it doesn't work.

Thanks

Rich





rwmorey71 -> RE: SDK? (8/18/2009 8:21:39 PM)

Hi --

I've tried to "get" the Association DB a few different ways but I'm having no luck. This is my latest attempt:

        public void InitializeAddIn(ref PureSim2005Interfaces.IPureSim4 oPureSim, double dPureSimVersion) {
            Object db;
            String sFileName;
            oPureSim.AssnAccessDatabase(db, "");
        }


But this code won't compile. It appears that AssnAccessDatabase does not return anything so I'm not sure if the parameters are supposed to be passed TO the function or if those are variables that get updated by the call.

Any help (from anyone!) would be greatly appreciated.

Rich




puresimmer -> RE: SDK? (8/19/2009 2:25:54 AM)

Yea, I updated the sample for 1.81, it was out of date.

When 1.81 comes out have a look and you'll be good to go.




rwmorey71 -> RE: SDK? (8/19/2009 2:35:43 AM)

Cool! Thanks.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.625