Click here to Skip to main content
15,906,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
thanks for reply.

As I mentioned before, I am using a visual studio add in project the objects:

1. CBackITUp_AddinApp - the application
2. CCommands - the commands object
3. CDSAddIn - the developer studio add in object
4. ICommands - the commands interface

as you can see i am not using CMainFrame.....

I think I know what my problem is. the method GetFirstDocTemplatePosition will work only on the dev studio exe (the application which runs the add in) and not on the add in itself....
therefor when i am using

CWinApp* pApp = AfxGetApp() 


I am getting a pointer to the add in (dll) main application object and not the exe main application object.....

now can you help?

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 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 
GeneralConnect network drive Pin
AnTri16-Dec-03 21:14
AnTri16-Dec-03 21:14 
Questionhow to get the absolute path(full path) for the file which is printed ??? Pin
skpanda16-Dec-03 21:12
skpanda16-Dec-03 21:12 

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.