I would like to find out how to code my program so that it will load an associated file after it is double clicked. That is, after double clicking the file the program loads and then opens the file that was double clicked. I know this must be very basic coding for someone. Thanks in advance for...
Well, I figured it out or remembered it on my own. The problem is in the include and library files directory in the project options. Needs to be set to find the vcl and object files. I think it is the default settings that work.
OK, 2ffat, you can download the two (2) different project files here:
http://www.kcesco.com/Project1.zip
I did some searches and see that other people have experienced the problem, but no explainations or solutions were offered. I don't remember the happening before.
Thanks, but they are already named differently... automatically... like Edit1, Edit2, etc.
Is that what you mean by naming them differently?
I think it has something to do with settings. It works until I try to statically link by unchecking the Use Packages box and the Use RTL box.
And...
I have been trying to compile and link w/o using packages.
Some programs I have used in the past work fine when I unlick the packages option and use dynamic link options. But lately, I try this and when I put more than one TEdit Box (for example) in the form I get the following messge:
Project...
I compiled a program using bcb6 and copied the executable to another computer and tried to run it, but got a message that program could not be run because the file "vcl60.bpl" could not be found. My question is how do I build or make the program so that it can run without the vcl60.bpl file?
What about Code Guard? Do you have that? It might work better than Dr. Watson, but you still have the problem of dealing understanding the log it produces. I don't quite understand it myself. Does anybody know of a reference with information on how to use and understand Code Guard?
Works best for me if I put the global variable(s)
right after #pragma hdrstop
#include <vcl.h>
#pragma hdrstop
//-------------------------------------------
int GlobalVariable(s);
//--------------------------------------------
USERES("Project1.res");
USEFORM("Unit1.cpp", Form1);
WINAPI...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.