Re: xmas break project update [message #183207 is a reply to message #183191] |
Thu, 22 December 2005 18:45 |
|
Dante
Messages: 1039 Registered: February 2003
Karma:
|
General (1 Star) |
|
|
OH, forgot one thing...
Where is BHS.dll's source code?
Quote: |
Can I apply the GPL when writing a plug-in for a non-free program?
If the program uses fork and exec to invoke plug-ins, then the plug-ins are separate programs, so the license for the main program makes no requirements for them. So you can use the GPL for a plug-in, and there are no special requirements.
If the program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single program, which must be treated as an extension of both the main program and the plug-ins. This means that combination of the GPL-covered plug-in with the non-free main program would violate the GPL.
|
Quote: |
if ((!Exe) || (Exe == 1))
{
bhs = LoadLibrary("bhs.dll");
LastError = GetLastError();
if (!bhs)
{
FILE *f = fopen("dllload.txt","at");
fprintf(f,"bhs.dll failed to load, error = %d\n",LastError);
fclose(f);
MessageBox(HWND_DESKTOP,"Error","bhs.dll not found",MB_OK|MB_ICONEXCLAMATION);
exit(1);
}
atexit(NotifyHookUnhandledExceptionFilter);
}
|
BHS is an invoked interactive plugin for scripts.dll, without it, the scripts.dll does not function properly, thus needing to release it under the GPL.
RenEvo
[Updated on: Thu, 22 December 2005 18:52] Report message to a moderator
|
|
|