Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

Glenn Wardius

@Glenn Wardius
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [string] atttribute ??
    G Glenn Wardius

    I define this struct in my IDL: typedef struct PATIENT_INFO { [string] wchar_t wszLastName[ 50 ]; [string] wchar_t wszPatientID[ 30 ]; } PATIENT_INFO; When I compile I get this error: midl\oleaut32.dll : error MIDL2020 : error generating type library : LayOut failed on struct : __MIDL___MIDL_itf_PatientTestSvr_0000_0001 When I take out the [string] attribute it compiles fine. It is my understanding that the [string] attribute means only the NULL terminated string itself will get marshalled and not the whole buffer (which is the behavior I want). Is my understanding correct and how can I get this to compile? Glenn Wardius GE Medical Systems

    COM
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups