Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Convert CString to char array? Pin
TechAvtar23-May-10 19:14
TechAvtar23-May-10 19:14 
AnswerRe: How to Convert CString to char array? Pin
Yusuf23-May-10 19:28
Yusuf23-May-10 19:28 
AnswerRe: How to Convert CString to char array? Pin
MS_TJ23-May-10 19:43
MS_TJ23-May-10 19:43 
AnswerRe: How to Convert CString to char array? Pin
Iain Clarke, Warrior Programmer23-May-10 20:56
Iain Clarke, Warrior Programmer23-May-10 20:56 
AnswerRe: How to Convert CString to char array? Pin
Aescleal24-May-10 4:17
Aescleal24-May-10 4:17 
QuestionSplitter Window for MDI. Pin
janaswamy uday23-May-10 16:04
janaswamy uday23-May-10 16:04 
QuestionHow to include a dll and a lib files into a VS project Pin
Schehaider_Aymen23-May-10 11:18
Schehaider_Aymen23-May-10 11:18 
AnswerRe: How to include a dll and a lib files into a VS project Pin
Garth J Lancaster23-May-10 12:36
professionalGarth J Lancaster23-May-10 12:36 
One way is like this - its suitable for small projects I guess :-

a) go to Project Settings (ALT F7)
b) Select The Link Tab
c) Set Category to Input
d) In the Object/library modules box, put oci.lib and a space after it - put it at the front for now unless there is a 'collision' in the build/link stage
e) In the Additional Library Path box, enter in the path to the .lib module

Obviously you include the ocilib.h file with a #include "ocilib.h" ... not sure If I agree with where you put it .. I usually put 3rd party modules in a '3rdParty' Folder

Projects
   \3rdParty
      \bin      <- Libs, dlls
      \inc      <- Headers


In your case they are probably under the Ora92 (or whatever version) directory - they could be left there

To Pick up the headers from the structure above or where you have them, you could :-

a) go to (again,under project setting) C++ Tab,
b) Select Category 'Preprocessor'
c) Put the directory ie drive:\Projects\3rdParty\inc in the additional include directories

You can also change (independantly) the settings or ALL projects, by going Tools -> Options -> Directories, and using the 'Show Directories For' dropdown and adding the directories for include files, library files etc - some people prefer this approach.

For larger projects, I tend to use a modified version of the 1st approach, but I allow for different versions of components by using environment settings (that means I dont need to change the basic build within a project), but see if you can get going in 'simple mode' first

hope this helps

'g'
GeneralRe: How to include a dll and a lib files into a VS project [modified] Pin
Schehaider_Aymen23-May-10 12:43
Schehaider_Aymen23-May-10 12:43 
GeneralRe: How to include a dll and a lib files into a VS project Pin
Garth J Lancaster23-May-10 12:56
professionalGarth J Lancaster23-May-10 12:56 
GeneralRe: How to include a dll and a lib files into a VS project Pin
Schehaider_Aymen23-May-10 12:57
Schehaider_Aymen23-May-10 12:57 
QuestionStarting a password protected NT Service [modified] Pin
pubis23-May-10 9:13
pubis23-May-10 9:13 
AnswerRe: Starting a password protected NT Service Pin
Aescleal23-May-10 9:59
Aescleal23-May-10 9:59 
GeneralRe: Starting a password protected NT Service Pin
pubis23-May-10 10:15
pubis23-May-10 10:15 
GeneralRe: Starting a password protected NT Service Pin
Aescleal23-May-10 10:24
Aescleal23-May-10 10:24 
GeneralRe: Starting a password protected NT Service Pin
pubis23-May-10 10:56
pubis23-May-10 10:56 
QuestionWM_QUERYENDSESSION problem on C++ Builder 2010 Pin
Member 88968923-May-10 7:06
Member 88968923-May-10 7:06 
AnswerRe: WM_QUERYENDSESSION problem on C++ Builder 2010 Pin
ARopo24-May-10 6:26
ARopo24-May-10 6:26 
GeneralRe: WM_QUERYENDSESSION problem on C++ Builder 2010 Pin
Member 88968924-May-10 13:36
Member 88968924-May-10 13:36 
QuestionC++ String Creation Pin
sikas_Cisco23-May-10 4:57
sikas_Cisco23-May-10 4:57 
AnswerRe: C++ String Creation Pin
Dr.Walt Fair, PE23-May-10 5:18
professionalDr.Walt Fair, PE23-May-10 5:18 
AnswerRe: C++ String Creation Pin
John R. Shaw23-May-10 7:21
John R. Shaw23-May-10 7:21 
GeneralRe: C++ String Creation Pin
sikas_Cisco23-May-10 8:55
sikas_Cisco23-May-10 8:55 
AnswerRe: C++ String Creation Pin
Aescleal23-May-10 9:36
Aescleal23-May-10 9:36 
QuestionIntel Compiler IA-32 11.0.061 installation on VS 2010 question Pin
Chesnokov Yuriy23-May-10 4:07
professionalChesnokov Yuriy23-May-10 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.