Ginny
Tue Feb 06 16:15:58 CST 2007
Alex,
I wasn't clear if the sample you were working from was targetting a mobile
device or if you were modifying a desktop sample.
Joao checks these newsgroups as he's able to, but we all have day jobs and
some days are a lot busier than others. His website is www.primeworks.pt so
you may find a link there as well as information about his nice products.
--
Ginny Caughey
Device Application Development MVP
"Alex" <Alex@discussions.microsoft.com> wrote in message
news:08E0CA04-F0D6-4C36-AA6C-9CAA5227E43E@microsoft.com...
> Hello again
>
> 1) My app is intended for a mobile device, not sure what you mean by
> "Desktop app"
> 2) Not sure how to trigger Joao response on this, I just posted the
> message
> here, is he likely to pick it? Or maybe you have an email address for me
> to
> direct it to him?
>
> Cheers
> Alex
>
> "Ginny Caughey [MVP]" wrote:
>
>> Alex,
>>
>> Joao will probably be your best resource for native apps. I assume you've
>> double checked the values you're passing to CoCreateInstance? If the
>> sample
>> is a desktop app I wouldn't be too surprised if it doesn't work as is.
>>
>> --
>> Ginny Caughey
>> Device Application Development MVP
>>
>>
>> "Alex" <Alex@discussions.microsoft.com> wrote in message
>> news:F9C12E9E-ED35-4447-8B79-557C51A4B06D@microsoft.com...
>> > Hello Ginny
>> >
>> > Well, as I said on a previous message, I got the Nortwind sample to
>> > work
>> > after Joao's help of a repl CAB missing on my device.
>> >
>> > BUT - the Microsoft Northwind sample is a WIN32 application. When I
>> > tried
>> > creating in VS 2005 a smart device MFC application, and added the
>> > support
>> > header files required, my application builds OK, but the first step of
>> > attempting to initialize the process fails on the following call :
>> >
>> > CoCreateInstance(
>> > CLSID_SQLSERVERCE_3_0,0,CLSCTX_INPROC_SERVER,IID_IDBInitialize,(void**)&pIDBInitialize);
>> >
>> > There is no explanation why, but of course from this point onwards,
>> > nothing
>> > else can work.
>> >
>> > I really need to be able and use MFC and not be restricted back to a
>> > 1990
>> > technology...
>> >
>> > Hope you can help
>> >
>> > Thanks
>> > Alex
>> >
>> > "Ginny Caughey [MVP]" wrote:
>> >
>> >> Alex,
>> >>
>> >> The OleDb samples for SQL Mobile should still work for you.
>> >>
>> >> --
>> >> Ginny Caughey
>> >> Device Application Development MVP
>> >>
>> >>
>> >> "Alex" <Alex@discussions.microsoft.com> wrote in message
>> >> news:BD184801-F9C1-4187-AFE4-3922A0CF7AC0@microsoft.com...
>> >> > Hello there
>> >> >
>> >> > It seems - we the C++/MFC guys should go jump on another wagon...
>> >> > otherwise
>> >> > - all that I can see is C# and VB samples
>> >> >
>> >> > So, where should I go from here?
>> >> >
>> >> > Cheers
>> >> > Alex
>> >> >
>> >> > "Ginny Caughey [MVP]" wrote:
>> >> >
>> >> >>
http://www.microsoft.com/sql/editions/compact/default.mspx
>> >> >>
>> >> >> --
>> >> >> Ginny Caughey
>> >> >> Device Application Development MVP
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>