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

C / C++ / MFC

 
AnswerRe: Data Storage? Pin
Ravi Bhavnani9-Jul-05 7:00
professionalRavi Bhavnani9-Jul-05 7:00 
GeneralRe: Data Storage? Pin
S Douglas9-Jul-05 18:04
professionalS Douglas9-Jul-05 18:04 
Generalstrange error in vc Pin
wrb3028-Jul-05 19:03
wrb3028-Jul-05 19:03 
GeneralRe: strange error in vc Pin
Jack Puppy8-Jul-05 20:11
Jack Puppy8-Jul-05 20:11 
GeneralRe: strange error in vc Pin
wrb3029-Jul-05 21:06
wrb3029-Jul-05 21:06 
GeneralRe: strange error in vc Pin
John R. Shaw8-Jul-05 20:57
John R. Shaw8-Jul-05 20:57 
Generalvisual c++ custom controls. Pin
rich1358-Jul-05 15:29
rich1358-Jul-05 15:29 
GeneralRe: visual c++ custom controls. Pin
John R. Shaw8-Jul-05 16:30
John R. Shaw8-Jul-05 16:30 
The same way you would any other program or dll.

If it came with a VC project file then that should not have a problem.

If it did not and it is VC code, you could try:
1) Create a new ALT COM AppWizard project, with the same name as the current ocx.
2) Add your files to the project. This will involve replacing the app-wizard generated files with your files.
3) Goto the project settings, find output file name (under the link tab) and replace the .dll extension with the .ocx extension.
4) Compile.

Suggestions (before you try above):
1) Create a simple ocx project, to get used to the process.
2) Try the above with copies of the original files, before using your modified files.

P.S. Andrew W. Troelsen is the author of a book on creating ALT COM (ocx) controls.

INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
GeneralCRichEditCtrl Pin
John R. Shaw8-Jul-05 15:23
John R. Shaw8-Jul-05 15:23 
GeneralRe: CRichEditCtrl Pin
Blake V. Miller8-Jul-05 17:19
Blake V. Miller8-Jul-05 17:19 
GeneralRe: CRichEditCtrl Pin
John R. Shaw8-Jul-05 18:13
John R. Shaw8-Jul-05 18:13 
GeneralRe: CRichEditCtrl Pin
Jose Lamas Rios9-Jul-05 17:40
Jose Lamas Rios9-Jul-05 17:40 
GeneralEmbedding data in exe's Pin
Xzyx987X8-Jul-05 15:20
Xzyx987X8-Jul-05 15:20 
GeneralRe: Embedding data in exe's Pin
John R. Shaw8-Jul-05 15:29
John R. Shaw8-Jul-05 15:29 
GeneralRe: Embedding data in exe's Pin
Xzyx987X8-Jul-05 16:14
Xzyx987X8-Jul-05 16:14 
GeneralRe: Embedding data in exe's Pin
John R. Shaw8-Jul-05 16:46
John R. Shaw8-Jul-05 16:46 
GeneralRe: Embedding data in exe's Pin
Xzyx987X8-Jul-05 17:07
Xzyx987X8-Jul-05 17:07 
GeneralRe: Embedding data in exe's Pin
John R. Shaw8-Jul-05 18:33
John R. Shaw8-Jul-05 18:33 
GeneralRe: Embedding data in exe's Pin
David Crow8-Jul-05 16:36
David Crow8-Jul-05 16:36 
GeneralRe: Embedding data in exe's Pin
Xzyx987X8-Jul-05 17:09
Xzyx987X8-Jul-05 17:09 
Generalhelp: C++ copy constructors Pin
heskel8-Jul-05 15:04
heskel8-Jul-05 15:04 
GeneralRe: help: C++ copy constructors Pin
John R. Shaw8-Jul-05 16:01
John R. Shaw8-Jul-05 16:01 
Generalhelp:update_command_ui Pin
happycpp8-Jul-05 13:33
happycpp8-Jul-05 13:33 
GeneralRe: help:update_command_ui Pin
Jose Lamas Rios10-Jul-05 18:07
Jose Lamas Rios10-Jul-05 18:07 
GeneralC++ Copy constructors Pin
heskel8-Jul-05 13:02
heskel8-Jul-05 13:02 

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.