Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » Heated Discussions and Debates » Free as in freedom
Re: xmas break project update [message #183207 is a reply to message #183191] Thu, 22 December 2005 18:45 Go to previous messageGo to previous message
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.


[Updated on: Thu, 22 December 2005 18:52]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Armed robbery : The loot? 2 XBox360s
Next Topic: pathetic
Goto Forum:
  


Current Time: Mon Aug 05 04:44:11 MST 2024

Total time taken to generate the page: 0.00909 seconds