Click here to Skip to main content
15,793,085 members
Home / Discussions / C#
   

C#

 
GeneralAutomatically have a certain tab selected when a tree control node is selected. Pin
Derek Smigelski4-Oct-02 7:23
Derek Smigelski4-Oct-02 7:23 
GeneralMDI application lost focus when GroupBox has button control in it Pin
Zaharang3-Oct-02 21:59
Zaharang3-Oct-02 21:59 
GeneralLegacy dll interoperability problem Pin
Adam Plucinski3-Oct-02 21:20
Adam Plucinski3-Oct-02 21:20 
GeneralRe: Legacy dll interoperability problem Pin
Stephane Rodriguez.3-Oct-02 22:40
Stephane Rodriguez.3-Oct-02 22:40 
GeneralRe: Legacy dll interoperability problem Pin
Adam Plucinski3-Oct-02 23:44
Adam Plucinski3-Oct-02 23:44 
GeneralRe: Legacy dll interoperability problem Pin
Stephane Rodriguez.4-Oct-02 0:20
Stephane Rodriguez.4-Oct-02 0:20 
GeneralRe: Legacy dll interoperability problem Pin
Adam Plucinski4-Oct-02 0:50
Adam Plucinski4-Oct-02 0:50 
GeneralRe: Legacy dll interoperability problem Pin
Stephane Rodriguez.4-Oct-02 1:01
Stephane Rodriguez.4-Oct-02 1:01 
Adam Plucinski wrote:
You're right but if you are not author of this Delphi DLL you can't do this.

Use an intermediate DLL.

VS.NET String -> marshalled as char * -> DLL -> DLL function exposes a char * as input parameter -> the implementation creates a shortstring thanks to the constructor (delphi dependency here) -> this DLL calls the initial DLL, passing a shortstring as input parameter -> you're done.




sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
GeneralRe: Legacy dll interoperability problem Pin
Adam Plucinski4-Oct-02 1:37
Adam Plucinski4-Oct-02 1:37 
GeneralRe: Legacy dll interoperability problem Pin
Stephane Rodriguez.4-Oct-02 1:46
Stephane Rodriguez.4-Oct-02 1:46 
QuestionArrayList Problem? Pin
Nick Parker3-Oct-02 19:19
protectorNick Parker3-Oct-02 19:19 
AnswerRe: ArrayList Problem? Pin
Stephane Rodriguez.3-Oct-02 19:40
Stephane Rodriguez.3-Oct-02 19:40 
GeneralRe: ArrayList Problem? Pin
David Stone3-Oct-02 19:50
sitebuilderDavid Stone3-Oct-02 19:50 
GeneralRe: ArrayList Problem? Pin
Nick Parker4-Oct-02 14:01
protectorNick Parker4-Oct-02 14:01 
GeneralRe: ArrayList Problem? Pin
Paul Riley4-Oct-02 14:23
Paul Riley4-Oct-02 14:23 
GeneralStill having problems with IActiveDesktop Pin
Wjousts3-Oct-02 17:38
Wjousts3-Oct-02 17:38 
GeneralRe: Still having problems with IActiveDesktop Pin
David Stone3-Oct-02 17:46
sitebuilderDavid Stone3-Oct-02 17:46 
GeneralRe: Still having problems with IActiveDesktop Pin
Wjousts4-Oct-02 2:54
Wjousts4-Oct-02 2:54 
GeneralRe: Still having problems with IActiveDesktop Pin
David Stone4-Oct-02 11:40
sitebuilderDavid Stone4-Oct-02 11:40 
GeneralRe: Still having problems with IActiveDesktop Pin
Stephane Rodriguez.3-Oct-02 19:43
Stephane Rodriguez.3-Oct-02 19:43 
GeneralRe: Still having problems with IActiveDesktop Pin
Nathan Tran5-Mar-03 17:29
Nathan Tran5-Mar-03 17:29 
Questionapi available for this purpose? Pin
imran_rafique3-Oct-02 17:12
imran_rafique3-Oct-02 17:12 
AnswerRe: api available for this purpose? Pin
Furty3-Oct-02 17:22
Furty3-Oct-02 17:22 
GeneralDate Controlled Content -- Basic C# Pin
yakfreek3-Oct-02 14:58
yakfreek3-Oct-02 14:58 
GeneralRe: Date Controlled Content -- Basic C# Pin
Paul Riley3-Oct-02 16:26
Paul Riley3-Oct-02 16:26 

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.