Hey Mistrel! Just gotta say I'm loving PureGDK so far, however recently I've been trying to extend it's command library and been running into some difficulties.
I'm trying to add Matrix1Util_31.dll to the gdkengine.dll and can't seem to get it to work.
I added this to the bottom of the Matrix1Util.gdt template:
Matrix1Util_31.dll%M1U_ClearLookup%L%ClearLookup%LookupID
Matrix1Util_31.dll%M1U_CombineLookup%LL%CombineLookup%LookupID, TargetLookupID
Matrix1Util_31.dll%M1U_DeleteLookup%LS%DeleteLookupValue%LookupID, Key.s=""
Matrix1Util_31.dll%M1U_DeleteLookup%L%DeleteLookup%LookupID
Matrix1Util_31.dll%M1U_DuplicateLookup%LL%DuplicateLookup%SourceLookupID, TargetLookupID
Matrix1Util_31.dll%M1U_FindFreeLookup[%LLL%FindFreeLookupRange%Start, RangeSize
Matrix1Util_31.dll%M1U_FindFreeLookup[%L%FindFreeLookup
Matrix1Util_31.dll%M1U_GetLookupGetMode[%LL%GetLookupGetMode%LookupID
Matrix1Util_31.dll%M1U_GetLookupSetMode[%LL%GetLookupSetMode%LookupID
Matrix1Util_31.dll%M1U_LookupExist[%LLS%LookupKeyExists%LookupID, Key.s=""
Matrix1Util_31.dll%M1U_LookupExist[%LL%LookupExist%LookupID
Matrix1Util_31.dll%M1U_LookupReserved[%LL%LookupReserved%LookupID
Matrix1Util_31.dll%M1U_LookupSize[%LL%LookupSize%LookupID
Matrix1Util_31.dll%M1U_Lookup[%SLSS%GetLookupValueDefault%LookupID, Key.s="", Default.s=""
Matrix1Util_31.dll%M1U_Lookup[%SLS%GetLookupValue%LookupID, Key.s=""
Matrix1Util_31.dll%M1U_MakeLookup%L%MakeLookup%LookupID
Matrix1Util_31.dll%M1U_ReleaseReservedLookup%L%ReleaseReservedLookup%LookupID
Matrix1Util_31.dll%M1U_ReserveFreeLookup[%LLL%ReserveFreeLookupRange%Start, RangeSize
Matrix1Util_31.dll%M1U_ReserveFreeLookup[%L%ReserveFreeLookup
Matrix1Util_31.dll%M1U_SetLookup%LSS%SetLookup%LookupID, Key.s="", Value.s=""
Matrix1Util_31.dll%M1U_SetLookupGetMode%LL%SetLookupGetMode%LookupID, Mode
Matrix1Util_31.dll%M1U_SetLookupSetMode%LL%SetLookupSetMode%LookupID, Mode
Matrix1Util_31.dll%M1U_FirstLookup%L%FirstLookup%LookupID
Matrix1Util_31.dll%M1U_LastLookup%L%LastLookup%LookupID
Matrix1Util_31.dll%M1U_LookupCurrentKey[%SL%LookupCurrentKey%LookupID
Matrix1Util_31.dll%M1U_LookupCurrentValue[%SL%LookupCurrentValue%LookupID
Matrix1Util_31.dll%M1U_LookupIsValid[%LL%LookupIsValid%LookupID
Matrix1Util_31.dll%M1U_NextLookup%L%NextLookup%LookupID
Matrix1Util_31.dll%M1U_PrevLookup%L%PrevLookup%LookupID
Matrix1Util_31.dll%M1U_SearchLookup[%LLS%SearchLookup%LookupID, Key.s=""
Matrix1Util_31.dll%M1U_IsValidIniKey[%LS%IsValidIniKey%Key.s=""
Matrix1Util_31.dll%M1U_MakeLookupFromIni%LS%MakeLookupFromIni%LookupID, IniFilename.s=""
Matrix1Util_31.dll%M1U_SaveLookupToIni%LS%SaveLookupToIni%LookupID, IniFilename.s=""
And changed the matrix utilities part in the library file to this:
Matrix1Util_09.dll%Matrix1Util 09
Matrix1Util_12.dll%Matrix1Util 12
Matrix1Util_18.dll%Matrix1Util 18
Matrix1Util_20.dll%Matrix1Util 20
Matrix1Util_26.dll%Matrix1Util 26
Matrix1Util_31.dll%Matrix1Util 31
Then I build the gdkengine with plugins and include all the proper header files etc into my project. I can then use GetModuleHandle to see that the other Matrix1Util dll's are loaded but Matrix1Util_31.dll still gets a null handle (a.k.a it's not loaded).
What am I missing in the setup process?