Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGraphics in Visual C++ Pin
chadell5-Feb-04 23:01
chadell5-Feb-04 23:01 
GeneralRetriving User Login Logoff time from Domain Server Pin
bilal785-Feb-04 22:46
bilal785-Feb-04 22:46 
GeneralDo You Like C/C++ Pin
Anonymous5-Feb-04 22:43
Anonymous5-Feb-04 22:43 
GeneralRe: Do You Like C/C++ Pin
Taka Muraoka6-Feb-04 1:14
Taka Muraoka6-Feb-04 1:14 
GeneralRe: Do You Like C/C++ Pin
AORD7-Feb-04 17:11
AORD7-Feb-04 17:11 
Questionhow can i develop a parser which is like .......? Pin
cyberiafreak5-Feb-04 22:40
cyberiafreak5-Feb-04 22:40 
AnswerRe: how can i develop a parser which is like .......? Pin
Jim Crafton6-Feb-04 4:43
Jim Crafton6-Feb-04 4:43 
GeneralContext Menu Handlers - Problems with M. Dunns Examples Pin
Sebastian Schneider5-Feb-04 22:31
Sebastian Schneider5-Feb-04 22:31 
Hello everyone,

I've got quite some problems with programming a Context Menu Handler in
Visual C++ (6.0, SP5) under Windows 2000.

I am German and an apprentice, which means I am spending half the time in school and half the time in the company that hired me as an apprentice.

I am studying to become an application developer.

Until now, I only wrote basic C and some more advanced Java Code. A few
days ago, I received a new project:

I should create a context menu entry (submenu with 2 or more menu items). Selecting one of these entries should start the corresponding application.

I read several "Context Menu"-Pages until I found out that, in order to have a sub-menu, I would have to write a COM-DLL, a "context menu handler".

Reading on that topic in the MSDN did not help me much, as I have not programmed (in the?!) COM yet.

I then stumbled upon Michael Dunns "The Complete Idiot's Guide To Writing Shell Extensions" and downloaded his example projects.

Well, it did not work. The example projects were compiled (0 errors, 0 warnings), registered (regsvr32 dllname -> Registration Successful) and written into the registry (shellex->ContextMenuHandlers), mostly as scripted in the RGS-File of the project.

I tried several of the example projects, none worked. The context menu - even though the handler is registered for the filetype - does not change or give the desired new options.

I am a local administrator, but I even wrote the GUIDs to the APPROVED section as described in M. Dunn's first chapter. Well, they still dont work, and I am pretty much *censored* since I can not get it to work.

I do have absolutely no idea what causes the failure, I did not change any of the example projects.

Can someone please help me?

Greetings from Germany
Sebastian
Generalmemory leak problem Pin
zhangxinghai5-Feb-04 22:02
zhangxinghai5-Feb-04 22:02 
GeneralRe: memory leak problem Pin
Robert A. T. Káldy7-Feb-04 22:08
Robert A. T. Káldy7-Feb-04 22:08 
GeneralChange Font Size Pin
Best Friend5-Feb-04 21:26
Best Friend5-Feb-04 21:26 
GeneralRe: Change Font Size Pin
Selvam R5-Feb-04 22:48
professionalSelvam R5-Feb-04 22:48 
QuestionHow to have a mutli column list box ?? Pin
Md Saleem Navalur5-Feb-04 21:24
Md Saleem Navalur5-Feb-04 21:24 
AnswerRe: How to have a mutli column list box ?? Pin
Johann Gerell5-Feb-04 22:13
Johann Gerell5-Feb-04 22:13 
GeneralRe: Question on assigning a IP address Pin
toxcct5-Feb-04 22:18
toxcct5-Feb-04 22:18 
GeneralRe: Question on assigning a IP address Pin
5-Feb-04 23:50
suss5-Feb-04 23:50 
GeneralRe: Question on assigning a IP address Pin
toxcct6-Feb-04 5:06
toxcct6-Feb-04 5:06 
GeneralRe: Question on assigning a IP address Pin
6-Feb-04 14:56
suss6-Feb-04 14:56 
QuestionHow can i get properties of com object dynamically Pin
Inam5-Feb-04 19:44
Inam5-Feb-04 19:44 
GeneralSpeeding up a slow program Pin
Tank_Aviator5-Feb-04 19:29
Tank_Aviator5-Feb-04 19:29 
GeneralRe: Speeding up a slow program Pin
RobJones6-Feb-04 3:52
RobJones6-Feb-04 3:52 
GeneralRe: Speeding up a slow program Pin
Tank_Aviator6-Feb-04 4:38
Tank_Aviator6-Feb-04 4:38 
GeneralRe: Speeding up a slow program Pin
RobJones6-Feb-04 5:04
RobJones6-Feb-04 5:04 
GeneralParallel Port Pin
Member 6488285-Feb-04 19:25
Member 6488285-Feb-04 19:25 
GeneralFile size in KB format ...... Pin
Prakash Nadar5-Feb-04 18:00
Prakash Nadar5-Feb-04 18:00 

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.