Software Archive
Read-only legacy content
17061 Discussions

loading resource string from a string table

Intel_C_Intel
Employee
519 Views
I would like to use a string table to store string information for a Fortran COM DLL. Can someone point me to some documentation on how to read strings from a resource file or perhaps a sample?

Thanks,

Michael
0 Kudos
2 Replies
Intel_C_Intel
Employee
519 Views
LoadString is your friend. See the interface for it in module user32 (user32.f90). There's an example of it's usage in dlg.f90 in the World sample (AdvancedWin32).

hth,
John
0 Kudos
Intel_C_Intel
Employee
519 Views
Thanks John. I've been spoiled working with ATL. I was hoping to find a function that wrapped the LoadString API.

Regards,

Michael
0 Kudos
Reply