Why my occi example always crash?
I have install oracle 10g on xp. And I make a project with the sample code occilbar.cpp. Link the libs:oraocci10.lib,ociw32.lib,oci.lib. It is linked correctly, but when I run the application, it crashed here:
env = Environment::createEnvironment (Environment::DEFAULT);
conn = env->createConnection (user, passwd, db);
when it createConnection.
The main is below:
int main ( int argc, char* argv[])
string userName = "HR";
string password = "HR";
string database = "";
lobarray* h = new lobarray (userName,password,database);
try
h->test ();
catch (SQLException ea)
cout<<"Exception thrown by test Function" <<endl;
cout<<"Error number: "<< ea.getErrorCode() << endl;
cout<<ea.getMessage() << endl;
delete (h);
return 0;
}// end of main (int, char*)
I wonder what I mistake?
Thank you very much!
The default Oracle Shipped OCCI dll's are built using VS .NET 2003 (VC7.1)
If you need OCCI dlls built with VS 2005, check the following URL
http://www.oracle.com/technology/tech/oci/occi/occidownloads.html
Similar Messages
-
Why does App Store always crash when I try to open the appliction?
Why does App Store always crash when I try to open the appliction?
You don't have the typical symptoms that I associate the following issue with (normally the error kicks in just when folks visit the Store), but just in case try gn_id's suggestion from the following post:
Re: iTunes 11 crashes when opening the store - no error message -
Why does my Itunes always crash when I go to the Itunes store?
During the past couple of months I have noticed that my Itunes crashes every single time I try to go to the Itunes store. I have tried fixing the utility disk thing, and I have completely unistalled and re-installed itunes with the new version. Is there something I'm missing??
Let's try the following user tip with that one:
iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows -
Why does my firefox ALWAYS crash, and nothing works to fix it?
I have a macbook, and was using firefox for an entire year with no problems at all. Out of nowhere a few months ago, it froze. Ever since then, it freezes my entire computer when I open firefox. I have uninstalled, reinstalled, deleted every single trace of firefox on my computer, and it STILL freezes when I reinstall it. I have been trying to find an answer to this for months and no one can help me. There is nothing wrong with my computer at all. Every other browser works.
- Have you tried resetting your iPod:
Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears. -
Why do my apps always crash?
I double clicked the home button and deleted all the running apps but that doesn't help. I haven't jailbroken my phone or anything either.
Basics from the manual are restart, reset, restore.
"I double clicked the home button and deleted all the running apps"
All of those apps are not runnning. This is the recently used apps bar. Very few apps run in the background and those that do are managed by ios. You simply deleted them from the recently used list. Chances are very few or none of them were actually running at all. -
My Photoshop CS6 always crashes when I lose my Internet connection...why?
My Photoshop CS6 always crashes when I lose my Internet connection...why? This is really aggravating, particularly when I am traveling with my laptop and try to use Photoshop. As long as I have an Internet connection it is fine, but as soon as the Internet is no longer available the program stops working.
Here is the other Detail version:
System
Provider
[ Name]
Application Error
EventID
1000
[ Qualifiers]
0
Level
2
Task
100
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2013-04-16T02:34:34.000000000Z
EventRecordID
115359
Channel
Application
Computer
jrh-pc-i7
Security
EventData
Photoshop.exe
13.0.1.0
5022da9d
ntdll.dll
6.1.7601.17725
4ec4aa8e
c0000005
000000000004e8bc
2ba4
01ce39f90788eebf
C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe
C:\Windows\SYSTEM32\ntdll.dll
2c16f0a3-a63e-11e2-9bf8-406186e9c8c3 -
Why does the App Store always crash
Why does the app store always crash when I go to use the app genius on my ipod touch, it does it everytime. It even does it ocasionaly when I search for apps. Whats going on Apple. Please look into this or tell me how to turn genius off if thats what is causing the crashes, I can't find how to turn it off in the settings.
The most usual explanation would be that you need to update or you have to many things taking up your memory
-
Why does at certain times my applications always crash ?
Why does at certain times my applications always crash ?
All I can suggest is to make an appointment at the Genus Bar of an Apple store.
Apple Retail Store - Genius Bar -
Any help appreciated. ITunes always crashes (stops working and I get the message to close it) after a few minutes of playing tunes.
Hello there, TMacID14.
The following Knowledge Base article offers up some great pointers tor troubleshooting playback issues in iTunes:
iTunes and QuickTime for Windows: Audio does not play or plays incorrectly
http://support.apple.com/kb/ts1362
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
Why does Xcode4 always crash on create/open project?
Xcode4 Final, always crashes when I try to create or open a project.
some history:
did not used the proper script to remove Xcode3, I deleted /Developer and rebooted
Xcode4 installed, removed with correct script. (3+ times)
tried to remove all xcode/developer files using locate/find.
tried to make an as clean new Xcode4 install.
Now the only thing i can think of is remove xcode4, locate any developer rest files. reboot, install xcode3 : now use the xcode3 uninstaller, reboot and install xcode 4.
If that still wont work, I think I have to cleanwipe my complete MBP
this is something i hope get rid off:
Process: Xcode [887]
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.0 (99)
Build Info: IDEApplication-990000~36
Code Type: X86-64 (Native)
Parent Process: launchd [679]
Date/Time: 2011-03-16 22:02:00.645 +0100
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6
Interval Since Last Report: 47149 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 128 sec
Per-App Crashes Since Last Report: 1
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
ProductBuildVersion: 4A304a
UNCAUGHT EXCEPTION (NSInvalidArgumentException): * -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff804e4796 __exceptionPreprocess (in CoreFoundation)
1 0x00007fff84db00f3 objcexceptionthrow (in libobjc.A.dylib)
2 0x00007fff804e45d7 +[NSException raise:format:arguments:] (in CoreFoundation)
3 0x00007fff804e4564 +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff81332c47 -[NSCFDictionary setObject:forKey:] (in Foundation)
5 0x00000001005ff246 +[IDERunDestination runDestinationWithTargetDevice:architecture:SDK:] (in IDEFoundation)
6 0x0000000100539e54 +[IDERunDestination validRunDestinationsForRunContext:executionEnvironment:] (in IDEFoundation)
7 0x000000010061bc61 -[IDERunContextManager _computeAvailableRunDestinationsForRunContext:] (in IDEFoundation)
8 0x0000000100539b93 -[IDERunContextManager availableRunDestinationsForRunContext:] (in IDEFoundation)
9 0x0000000100539b1a -[IDERunContextManager availableRunDestinations] (in IDEFoundation)
10 0x000000010061ae67 -[IDERunContextManager _invalidateActiveRunDestination] (in IDEFoundation)
11 0x0000000100539a18 -[IDERunContextManager setActiveRunContext:] (in IDEFoundation)
12 0x00007fff8135d45e _NSSetObjectValueAndNotify (in Foundation)
13 0x000000010053997a -[IDERunContextManager _ensureActiveRunContext] (in IDEFoundation)
14 0x0000000100618a81 -[IDERunContextManager _addContext:specifierToRunContextMap:] (in IDEFoundation)
15 0x0000000100618e2c -[IDERunContextManager _newSchemeWithCustomDataStore:customDataSpecifier:orderHint:error:schemeCreatio nBlock:] (in IDEFoundation)
16 0x0000000100618ea1 -[IDERunContextManager newSchemeWithCustomDataStore:customDataSpecifier:orderHint:error:] (in IDEFoundation)
17 0x00000001009ff5f8 -[IDEContextAutocreationController createSchemeForBuildable:withName:] (in IDEKit)
18 0x00000001009fed99 -[IDEContextAutocreationController createDefaultSchemeForBuildable:] (in IDEKit)
19 0x00000001008a3a57 -[IDEContextAutocreationController autocreateSchemesForcingAutocreate:] (in IDEKit)
20 0x00007fff8134b046 -[NSObject(NSKeyValueObserverRegistration) _addObserver:forProperty:options:context:] (in Foundation)
21 0x00007fff81349aec -[NSObject(NSKeyValueObserverRegistration) addObserver:forKeyPath:options:context:] (in Foundation)
22 0x000000010001daa5 -[DVTObservingBlockToken _setupObservingWithOptions:] (in DVTFoundation)
23 0x000000010001d9c3 -[DVTObservingBlockToken setHandlerBlock:forKeyPath:options:] (in DVTFoundation)
24 0x000000010001d7c8 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
25 0x00000001008a3752 __53-[IDEContextAutocreationController initForWorkspace:]block_invoke045 (in IDEKit)
26 0x00007fff8134b046 -[NSObject(NSKeyValueObserverRegistration) _addObserver:forProperty:options:context:] (in Foundation)
27 0x00007fff81349aec -[NSObject(NSKeyValueObserverRegistration) addObserver:forKeyPath:options:context:] (in Foundation)
28 0x000000010001daa5 -[DVTObservingBlockToken _setupObservingWithOptions:] (in DVTFoundation)
29 0x000000010001d9c3 -[DVTObservingBlockToken setHandlerBlock:forKeyPath:options:] (in DVTFoundation)
30 0x000000010001d7c8 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
31 0x000000010001d752 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] (in DVTFoundation)
32 0x000000010085d9fa __53-[IDEContextAutocreationController initForWorkspace:]block_invoke0 (in IDEKit)
33 0x00007fff813541ae NSKeyValueDidChange (in Foundation)
34 0x00007fff81337945 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
35 0x000000010059c32d __42-[IDEWorkspace checkIfHasFinishedLoading]_block_invoke0148 (in IDEFoundation)
36 0x00007fff81379682 -[NSBlockOperation main] (in Foundation)
37 0x00007fff81369de4 -[__NSOperationInternal start] (in Foundation)
38 0x00007fff81448beb __doStart2 (in Foundation)
39 0x00007fff81448de3 ___NSOQSchedule_block_invoke1 (in Foundation)
40 0x00007fff834222c4 dispatch_call_block_andrelease (in libSystem.B.dylib)
41 0x00007fff83400e32 dispatch_queuedrain (in libSystem.B.dylib)
42 0x00007fff834016df dispatch_queue_serial_drain_tillempty (in libSystem.B.dylib)
43 0x00007fff8343447c dispatch_main_queue_callback4CF (in libSystem.B.dylib)
44 0x00007fff804800c8 __CFRunLoopRun (in CoreFoundation)
45 0x00007fff8047edbf CFRunLoopRunSpecific (in CoreFoundation)
46 0x00007fff88a4e93a RunCurrentEventLoopInMode (in HIToolbox)
47 0x00007fff88a4e69d ReceiveNextEventCommon (in HIToolbox)
48 0x00007fff88a4e5f8 BlockUntilNextEventMatchingListInMode (in HIToolbox)
49 0x00007fff86cace64 _DPSNextEvent (in AppKit)
50 0x00007fff86cac7a9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
51 0x00007fff86c7248b -[NSApplication run] (in AppKit)
52 0x00007fff86c6b1a8 NSApplicationMain (in AppKit)
53 0x0000000100000eec
abort() called
Best regard,
KaiZenkai-zen wrote:
Do I have more options then the Gutmann method?
I don't think that would be necessary. A simple erase disk should suffice
One last thing to try is check ~/Library/Application Support and /Library/Application Support for any Apple/Developer or Xcode directories and remove them - after uninstalling Xcode again. It looks like it is crashing when it tries to access the SDK for your project. Instead of reporting "missing SDK" it is just crashing. -
When ever I try to open the menu button on my Kyocera Torque 4.1.2 firefox always crashes plz help
Do you have any crash reports? Type about:crashes in the address bar. We would need the crash IDs to be able to map it to a problem.
-
Why when i try to fullscreen the flash video player on streaming it will always crash?
when i try to fullscreen the flash video player on streaming it will always crash, and then appears an exclamation mark.
Make sure you have the latest version of Flash. You can download the latest version of Flash from Adobe at http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html#main_Archived_versions
Scroll down to the "Flash Player for Android 4.0 archives" links and download the latest flash version. Currently (11.1.115.54). -
Why does my flash player always crash with Firefox?
Flash player always crashes and slows my browsing. Firefox is updated and so is flash player yet never works.
You can check for problems with current Shockwave Flash plugin versions and try this:
*check for updates for your graphics drive drivers<br>https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration
*disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
*disable hardware acceleration in the Flash plugin
See also:
*http://kb.mozillazine.org/Flash#Troubleshooting -
My silverlight always crash when I see Europlayer why??
When I see Europlayer, don´t try other side, and want to see the whole screen the silverlight always crash and I have send many, many rapport. I have take away the silverlight program and install it agiin with the same result.
Please, run the DirectX diagnostics tool.
Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
Be aware that you will have to zip this file before attaching it here. -
HT4461 Why does the Wall Street journal app always crash. Now I cannot even get on it
WWhy does the Wall Street journal app always crash. I have not been able to open the app all day
Hi there Mcmbk,
You may find the troubleshooting steps in the article below helpful.
iOS: An app you installed unexpectedly quits, stops responding, or won’t open
http://support.apple.com/kb/ts1702
-Griff W.
Maybe you are looking for
-
IMovie won't open and Library Folder is missing in Finder
A few days ago, I downloaded the recent iMovie program. I even used it to make a video. Today I wanted to make another one but iMovie won't open at all. The wheel just spins and spins and nothing opens. So, I went into Finder and noticed my Libra
-
What's the best text organizer software
I used to use a program from Lotus Notes called "Organizer". I used to be able to type notes and organize them be catagory. I was also able to do a search on a word to find the appropriate note. Does anyone know if their is a similar software for
-
Cannot create class of type 'flex.samples.factories.SpringFactory'
I have an application that is trying to use BlazeDS. I am using Flash Builder 4 Plug-in on RSA 7.5.5. Any help would be apprecialted! Here is the relevant lines in the services-config.xml: <factories> <factory id="spring" class="flex.samples.factor
-
Firefox is running very slow and keep's saying not responding for 3 seconds and then does it again repeatedly. Please even when I type words and letters from firefox it types very slow and what I am typing has to catch up with the last thing I typed.
-
Reset Password on Admin Account
Hi All, I have a server running Windows Server 2008 R2 and I have forgot the password to log into the admin account (its been a while since I have logged in!) I have been looking though the fourm and on the internet and everyone is saying the same th