Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calling C++ code from C Pin
John M. Drescher17-Dec-03 4:21
John M. Drescher17-Dec-03 4:21 
GeneralRe: Calling C++ code from C Pin
Prakash Nadar17-Dec-03 16:03
Prakash Nadar17-Dec-03 16:03 
GeneralRe: Calling C++ code from C Pin
Dinesh Ahuja17-Dec-03 16:45
Dinesh Ahuja17-Dec-03 16:45 
Generalid3 tag for wma file Pin
qdping16-Dec-03 22:01
qdping16-Dec-03 22:01 
GeneralDerived CFrameWnd and attaching a View with it. Pin
Dinesh Ahuja16-Dec-03 21:59
Dinesh Ahuja16-Dec-03 21:59 
GeneralI really need help here! guru plz help Pin
YaronNir16-Dec-03 21:48
YaronNir16-Dec-03 21:48 
GeneralRe: I really need help here! guru plz help Pin
sam India16-Dec-03 22:06
sam India16-Dec-03 22:06 
GeneralRe: I really need help here! guru plz help Pin
YaronNir16-Dec-03 22:13
YaronNir16-Dec-03 22:13 
thanks for the response, that didn't work!

here is what i wrote and i got still a null:

CWinApp* pApp = AfxGetApp();
CString szWorkspace;
//POSITION posdt = pApp->GetFirstDocTemplatePosition();
POSITION posdt = ((CBackITUp_AddinApp*)pApp)->GetFirstDocTemplatePosition(); 


i even try the extern thing:

extern CBackITUp_AddinApp theApp;
.
.
POSITION posdt = theApp.GetFirstDocTemplatePosition(); 

that didn't work as well!!!

please please i need help

(try to create a new visual studio add in project in VC6, then try the lines above, you will get the same result.....i am doing something wrong, but i can't figure out what is wrong....



thanks again
Yaron

Ask not what your application can do for you,
Ask what you can do for your application
GeneralRe: I really need help here! guru plz help Pin
sam India16-Dec-03 22:48
sam India16-Dec-03 22:48 
GeneralRe: I really need help here! guru plz help Pin
YaronNir16-Dec-03 22:54
YaronNir16-Dec-03 22:54 
GeneralRe: I really need help here! guru plz help Pin
sam India16-Dec-03 23:58
sam India16-Dec-03 23:58 
GeneralRe: I really need help here! guru plz help Pin
YaronNir17-Dec-03 1:10
YaronNir17-Dec-03 1:10 
GeneralProblems recompiling under VC.Net Pin
James Spibey16-Dec-03 21:32
James Spibey16-Dec-03 21:32 
GeneralRe: Problems recompiling under VC.Net Pin
Prakash Nadar16-Dec-03 21:42
Prakash Nadar16-Dec-03 21:42 
Generalmany if else if Pin
Jerome Conus16-Dec-03 21:23
Jerome Conus16-Dec-03 21:23 
GeneralRe: many if else if Pin
jhwurmbach16-Dec-03 21:32
jhwurmbach16-Dec-03 21:32 
GeneralRe: many if else if Pin
Prakash Nadar16-Dec-03 21:35
Prakash Nadar16-Dec-03 21:35 
GeneralRe: many if else if [modified] Pin
Marek Grzenkowicz16-Dec-03 23:44
Marek Grzenkowicz16-Dec-03 23:44 
GeneralRe: many if else if Pin
Ian Darling17-Dec-03 0:17
Ian Darling17-Dec-03 0:17 
GeneralRe: many if else if Pin
Ian Darling17-Dec-03 0:16
Ian Darling17-Dec-03 0:16 
General"sys/ioctl.h" Pin
zhaopzhi16-Dec-03 21:20
zhaopzhi16-Dec-03 21:20 
GeneralRe: "sys/ioctl.h" Pin
forjer16-Dec-03 22:21
forjer16-Dec-03 22:21 
GeneralCMemDc help Pin
satadru16-Dec-03 21:17
satadru16-Dec-03 21:17 
GeneralRe: CMemDc help Pin
Monty216-Dec-03 21:46
Monty216-Dec-03 21:46 
GeneralRe: CMemDc help Pin
satadru17-Dec-03 21:27
satadru17-Dec-03 21:27 

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.