|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Pass a structure to a C++ dllHi, Does anyone have a code example of how to pass a structure from VB to a
C++ dll, modify it and return it to VB. I`ve searched the internet for hours and can find loads of info on passing variables but nothing on passing structures. Thanks Rob roidy wrote:
> Hi, Does anyone have a code example of how to pass a structure from F1?> VB to a C++ dll, modify it and return it to VB. I`ve searched the > internet for hours and can find loads of info on passing variables > but nothing on passing structures. http://msdn.microsoft.com/en-us/library/ms172270.aspx In particular: http://msdn.microsoft.com/en-us/library/eadtsekz.aspx Armin Thanks Armin, I`ll have a good read of them and see if I can work it out.
Yes I spent hours searching the internet and not once did I think of pressing F1 :) Rob Show quoteHide quote "Armin Zingler" <az.nospam@freenet.de> wrote in message news:efmF9qn$JHA.3432@TK2MSFTNGP02.phx.gbl... > roidy wrote: >> Hi, Does anyone have a code example of how to pass a structure from >> VB to a C++ dll, modify it and return it to VB. I`ve searched the >> internet for hours and can find loads of info on passing variables >> but nothing on passing structures. > > F1? > > http://msdn.microsoft.com/en-us/library/ms172270.aspx > > In particular: > http://msdn.microsoft.com/en-us/library/eadtsekz.aspx > > > Armin
Concurrency error on update
Detect scroll in a ListView OpenFileDialog and ApplicationSettings (FileName) Problem with System.Drawing.Bitmap() System.OutOfMemory exception error Excel interop. Choose version of Excel to launch Application Help (i.e. Help Class) Viewing InnerExceptions How to Get a URL from a Shortcut in Favorites HD Monitor |
|||||||||||||||||||||||