dll.1.txt
author llbatlle@taga
Mon, 11 Aug 2008 10:52:12 +0200
changeset 3 77c382ef2850
permissions -rw-r--r--
Adding info on DLLs and scilab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     1
Windows DLLs.
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     2
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     3
Runtimes
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     4
-------------------
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     5
Diferent 'run-time' (libc & company) libraries cannot be used together. Windows provides several different runtimes:
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     6
- Multithread Release Unicode
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     7
- Multithread Debug Unicode
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     8
- Multithread Release
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
     9
- Multithread Debug
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    10
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    11
Each may have different memory allocators, so code linked with any of those runtimes cannot be mixed
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    12
with code linked with other runtimes.
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    13
Neither statically or dynamically.
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    14
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    15
Arinna
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    16
-------------------
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    17
For example, a Arinna dll compiled with runtime X cannot load a FrameGrabberDriver compiled
77c382ef2850 Adding info on DLLs and scilab
llbatlle@taga
parents:
diff changeset
    18
with a runtime Y, X!=Y.