Hi Anyone of you here have used Oracle to develop Database programming using
Codewarrior 7.0.
If so i do have one problem in using the shared library odbc.prc ported
along with the oracle lite 9i.
For using it,one has toinclude odbc_stub.lib in project and use the
functionality of the odbc. but its giving me runtime error

Pls can anyone guide me how to use this shared library odbc.prc or else can
anyone inform me how to load this shared library into the memory while
runtime..

Thanks in Advance

Syed



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben
Combee
Sent: Tuesday, February 12, 2002 11:51 AM
To: Palm Developer Forum
Subject: Re: Expanded Mode Kills CodeWarrior IDE


"Jeremy Neal Kelly" <[EMAIL PROTECTED]> wrote in message
news:76277@palm-dev-forum...
>
> I'm working on a medium-sized multi-segment C++ app in CodeWarrior
8.1. For
> various reasons (see previous post: 'The Mystery of the Near Data
Segment'),
> I decided to try expanded mode. I replaced 'PalmOSRuntime_2i_A5.lib'
with
> 'PalmOSRuntime_2i_A4A5.lib', and tried to compile. The result: the
> CodeWarrior IDE crashes when it reaches the linker, with a message
saying
> 'The instruction at 0x03eb3c2c referenced memory at 0x00000000...'. I
> rebooted my NT4 system several times, but the problem persists.
Restoring
> the original runtime immediately fixes it.
>
> Now, I know it's necessary to write callback thunks to run in expanded
mode,
> but right now I'm just trying to see if expanded mode will allow me to
link
> my app. Surely I don't need them just to compile?

Very interesting.  I see you're using the 8.1 update -- good.  I'm not
sure what is causing the crash; it is a NULL pointer reference, but
without a test case here, I can't tell what is causing it.  If you
contact Metrowerks technical support, we can try a few different things
to try to find out what is happening.

You did the right thing by replacing the library.  You might want to try
rebuilding the libraries using the "Palm OS Runtime.mcp" project in the
CW for Palm OS Support folder.  If the library was bad, this should fix
it.  Also, if you use the A4/A5 runtime and your project isn't set to
expanded mode (see the 68K Project panel), this could cause an error --
I'll have to check to see how the linker handles that.

Thunks shouldn't affect anything at the link phase, only at runtime.



--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to