|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Getting types and structs defined elsewhere[partly a cross-post with win32.gdi, but noone answers questions there, it seems] I'm working on a C# project where we need to get glyph vertices from fonts. There are several examples on how to do this in C++, but interop not being my strongest side, I have some questions: 1) Most gdi functions use structs defined elsewhere, e.g. in gdi32. Do I need to redeclare those structs or can they be imported using some directive or extern or something? 2) They also use types as DWORD and such. Other solutions say "just use int", but is this really the proper way to do it? Can we get hold of these types programatically? Thanks! - Peder -
Other interesting topics
|
|||||||||||||||||||||||