By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,920 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,920 IT Pros & Developers. It's quick & easy.

Getting types and structs defined elsewhere

P: n/a

[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?

- Peder -
Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.