Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

referencing dev. OCXs & DLLs

Status
Not open for further replies.

swatman

Programmer
Feb 24, 2003
9
EE
Hi,

Because of a "out of memory" error while building my exe, I have broken my monolithic app into dlls and ocxs.

This works fine. Services are seperated from application logic. Nice.

However, when I rebuild an OCX or change the location of the project, the project fails to load. If I continue, my active x controls are replaced with picture boxes.

I see that the project refers to a hard coded location and refers to a registry entry.

Is there a simple way around this?

Any help appreciated.

 
If u want to reloacte the OCX or dll to a separate folder,
please unregister the OCX or Dll and
then relocate to new folder and
then register the OCX or Dll again.

For better practice, keep the Dll & OCX in the application folder. It will help in distribution of the project as well.

Regards
Som
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top