[Pharo-project] ODBC suggestion
Feb. 1, 2012
8:18 a.m.
Hello all, For alien/callbacks, it seems I should leave 1.1.1 behind - it's been a very nice release. Migrate (my answer to not losing code) flagged a few methods. One looks like it might be of wide interest: moduleName "Return the name of the module for this library" SmalltalkImage current platformName = 'Win32' ifTrue: [ ^ 'odbc32' ]. SmalltalkImage current platformName = 'unix' ifTrue: [ ^ 'libodbc.so' ]. ^ self error: 'Don''t know the ODBC library name' What do you think? Stef, this is why I don't like putting the module name in the pragmas. Does that make sense? Bill
5293
Age (days ago)
5293
Last active (days ago)
0 comments
1 participants
participants (1)
-
Schwab,Wilhelm K