Click here to Skip to main content
15,913,228 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Workspace & Projects Pin
AJ1233-Apr-02 10:31
AJ1233-Apr-02 10:31 
GeneralRe: Workspace & Projects Pin
Tim Smith3-Apr-02 10:47
Tim Smith3-Apr-02 10:47 
QuestionCSliderCtl and Arrow Keys? Pin
Ken Goguen2-Apr-02 9:21
Ken Goguen2-Apr-02 9:21 
AnswerRe: CSliderCtl and Arrow Keys? Pin
Joaquín M López Muñoz2-Apr-02 10:23
Joaquín M López Muñoz2-Apr-02 10:23 
GeneralRe: CSliderCtl and Arrow Keys? Pin
Ken Goguen3-Apr-02 7:56
Ken Goguen3-Apr-02 7:56 
Generalthread problem Pin
Merle Pittman2-Apr-02 7:59
Merle Pittman2-Apr-02 7:59 
GeneralRe: thread problem Pin
Joaquín M López Muñoz2-Apr-02 8:28
Joaquín M López Muñoz2-Apr-02 8:28 
GeneralOCX uUid collision nightmare Pin
megaadam2-Apr-02 7:39
professionalmegaadam2-Apr-02 7:39 
Hi,
if you know the answer to this one you can probably jump to the last paragraph, others might want to know more...

I have run into a problem. I wanted to create an ActiveX control based on an existing one. So I took the entire Visual Studio project and copied it. Renamed all files (and names therein). And I modifed and registered the new control under the new name. No problem so far. Alas, I then noticed that the original control was gone. As soon as I registered the old or new control the other one was gone. I figured that the UUID was the problem here, (looks like this)

//const GUID CDECL BASED_CODE _tlid =
//{ 0x6fe77b28, 0x50c9, 0x4f53, { 0xb4, 0xe7, 0x13, 0x85, 0xe1, 0x4, 0x4b, 0x76 } };

These IDs are numerous in each project and in at least four different files, and sometimes they appear to refer to each other. I started to make new codes with GUIDGEN.EXE, but gave up because of the cross-referencing which was a bit obscure.

My next idea was to create a new empty activeX project and copy all the IDs. The control registered nicely after a premature attempts, it does not delete the the other control, but fails to load into the test container.

So, I have to create new IDs somehow. Either I made a mistake (despite double-checking) when copying from the empty project, or the IDs themselves contain implicit information about the control. If the ids contain no such info nor checksums and such stuff the best thing would be to back up to the previous working version and just change a single digit. Is this possible? Or, perhaps another problem is that my faulty attemps have left garbage in the registry (2K) which perhaps needs to be cleaned.

I would be truly gratful for any help.
Cheers,
Adam
Cool | :cool:


_____________________________________
Action without thought is not action
Action without emotion is not life
GeneralRe: OCX uUid collision nightmare Pin
Derek Waters2-Apr-02 12:29
Derek Waters2-Apr-02 12:29 
QuestionSaving a Document with values from dynamic array? Pin
dazinith2-Apr-02 6:28
dazinith2-Apr-02 6:28 
AnswerRe: Saving a Document with values from dynamic array? Pin
Ravi Bhavnani2-Apr-02 6:43
professionalRavi Bhavnani2-Apr-02 6:43 
GeneralRe: Saving a Document with values from dynamic array? Pin
dazinith2-Apr-02 8:07
dazinith2-Apr-02 8:07 
GeneralRe: Saving a Document with values from dynamic array? Pin
Ravi Bhavnani2-Apr-02 8:22
professionalRavi Bhavnani2-Apr-02 8:22 
GeneralRe: Saving a Document with values from dynamic array? Pin
dazinith2-Apr-02 8:41
dazinith2-Apr-02 8:41 
GeneralRe: Saving a Document with values from dynamic array? Pin
Ravi Bhavnani2-Apr-02 9:08
professionalRavi Bhavnani2-Apr-02 9:08 
GeneralRe: Saving a Document with values from dynamic array? Pin
dazinith2-Apr-02 11:33
dazinith2-Apr-02 11:33 
GeneralRe: Saving a Document with values from dynamic array? Pin
Ravi Bhavnani2-Apr-02 11:50
professionalRavi Bhavnani2-Apr-02 11:50 
GeneralRe: Saving a Document with values from dynamic array? Pin
dazinith3-Apr-02 3:10
dazinith3-Apr-02 3:10 
GeneralRe: Saving a Document with values from dynamic array? Pin
Ravi Bhavnani3-Apr-02 3:15
professionalRavi Bhavnani3-Apr-02 3:15 
Questionhow to create a imput mask? Pin
jafrazee2-Apr-02 5:39
jafrazee2-Apr-02 5:39 
AnswerRe: how to create a imput mask? Pin
Chris Losinger2-Apr-02 5:37
professionalChris Losinger2-Apr-02 5:37 
AnswerRe: how to create a imput mask? Pin
dazinith2-Apr-02 6:38
dazinith2-Apr-02 6:38 
GeneralRe: how to create a imput mask? Pin
Jon Hulatt2-Apr-02 23:37
Jon Hulatt2-Apr-02 23:37 
GeneralRe: how to create a imput mask? Pin
dazinith3-Apr-02 3:07
dazinith3-Apr-02 3:07 
Generalicons Pin
tom harwood2-Apr-02 5:30
tom harwood2-Apr-02 5:30 

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.