Click here to Skip to main content
15,924,935 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralI need help printing Pin
Pugman81230-Mar-04 19:36
Pugman81230-Mar-04 19:36 
GeneralRe: I need help printing Pin
mhreddy31-Mar-04 22:23
mhreddy31-Mar-04 22:23 
GeneralOCX Control VB .NET Pin
sbeausol30-Mar-04 18:24
sbeausol30-Mar-04 18:24 
GeneralRe: OCX Control VB .NET Pin
Dave Kreskowiak31-Mar-04 3:43
mveDave Kreskowiak31-Mar-04 3:43 
GeneralRe: OCX Control VB .NET Pin
sbeausol31-Mar-04 4:27
sbeausol31-Mar-04 4:27 
GeneralRe: OCX Control VB .NET Pin
Dave Kreskowiak31-Mar-04 5:33
mveDave Kreskowiak31-Mar-04 5:33 
GeneralRe: OCX Control VB .NET Pin
sbeausol31-Mar-04 9:43
sbeausol31-Mar-04 9:43 
GeneralRe: OCX Control VB .NET Pin
Dave Kreskowiak1-Apr-04 1:44
mveDave Kreskowiak1-Apr-04 1:44 
The more I think about this, the more I think your going to have to modift the MISL code in order to generate the custom marshaler your going to need to get that pointer. It would have been much easier if the library wasn't an ActiveX control.

Basically, since your component is expecting a pointer to a BSTR and expecting to be able to return a pointer to another BSTR, you're going to have to allocate memory for the BSTR and pass the pointer to it to the GetCreatorID function.

The reason for this is because the function your calling will deallocate the BSTR you passed in and will allocate a new one, passing that pointer back to you.

Sorry, but how to do this is out of my realm of experience.
I would need the library your using to be able to play with this and get it to work.


RageInTheMachine9532
GeneralRe: OCX Control VB .NET Pin
Anonymous1-Apr-04 4:02
Anonymous1-Apr-04 4:02 
GeneralRe: OCX Control VB .NET Pin
sbeausol1-Apr-04 4:04
sbeausol1-Apr-04 4:04 
GeneralRe: OCX Control VB .NET Pin
Dave Kreskowiak1-Apr-04 5:00
mveDave Kreskowiak1-Apr-04 5:00 
GeneralExcel Pin
Anand Chakravarthy30-Mar-04 18:06
Anand Chakravarthy30-Mar-04 18:06 
GeneralRe: Excel Pin
superwinsock30-Mar-04 18:28
superwinsock30-Mar-04 18:28 
GeneralNewbi Question? Help with Menus VB.NET Pin
Nickiler30-Mar-04 17:43
Nickiler30-Mar-04 17:43 
GeneralRe: Newbi Question? Help with Menus VB.NET Pin
Guerven30-Mar-04 19:49
Guerven30-Mar-04 19:49 
GeneralRe: Newbi Question? Help with Menus VB.NET Pin
Nickiler30-Mar-04 20:38
Nickiler30-Mar-04 20:38 
GeneralRe: Newbi Question? Help with Menus VB.NET Pin
Nickiler30-Mar-04 20:46
Nickiler30-Mar-04 20:46 
QuestionHow to solve error (Keycodev2.DLL not Found or Invalid Key Code Error) Pin
Kashyap Vakharia30-Mar-04 16:34
Kashyap Vakharia30-Mar-04 16:34 
GeneralCreating a component in VB .NET Pin
James Lancaster30-Mar-04 14:14
James Lancaster30-Mar-04 14:14 
GeneralRAS Connection Structure Pin
MASOSi30-Mar-04 12:23
MASOSi30-Mar-04 12:23 
QuestionHow to send OledbDataReader ? Pin
Member 36080530-Mar-04 11:43
Member 36080530-Mar-04 11:43 
AnswerRe: How to send OledbDataReader ? Pin
John Kuhn30-Mar-04 15:36
John Kuhn30-Mar-04 15:36 
QuestionHow the disable the resize function of a form Pin
MJay30-Mar-04 6:36
MJay30-Mar-04 6:36 
AnswerRe: How the disable the resize function of a form Pin
Guillermo Rivero30-Mar-04 7:24
Guillermo Rivero30-Mar-04 7:24 
AnswerRe: How the disable the resize function of a form Pin
Anonymous30-Mar-04 18:51
Anonymous30-Mar-04 18:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.