Click here to Skip to main content
16,006,013 members
Home / Discussions / C#
   

C#

 
QuestionUserControl wrapped as ActiveX-control is not refreshed Pin
steven1110-Oct-08 22:54
steven1110-Oct-08 22:54 
QuestionInserting image in Word document Pin
Punitha_V10-Oct-08 20:00
Punitha_V10-Oct-08 20:00 
AnswerRe: Inserting image in Word document Pin
Wendelius10-Oct-08 20:40
mentorWendelius10-Oct-08 20:40 
QuestionCrystal Reports - Dataset Advice Pin
nelsonpaixao10-Oct-08 13:45
nelsonpaixao10-Oct-08 13:45 
AnswerRe: Crystal Reports - Dataset Advice Pin
Wendelius10-Oct-08 21:41
mentorWendelius10-Oct-08 21:41 
QuestionImport unmanaged C++ dll into C# project Pin
jamesmurphy7810-Oct-08 13:06
jamesmurphy7810-Oct-08 13:06 
AnswerRe: Import unmanaged C++ dll into C# project Pin
Mark Salsbery11-Oct-08 6:54
Mark Salsbery11-Oct-08 6:54 
GeneralRe: Import unmanaged C++ dll into C# project Pin
jamesmurphy7811-Oct-08 10:54
jamesmurphy7811-Oct-08 10:54 
Mark Salsbery wrote:
Your native function takes 7 parameters - your DllImport shows 4 parameters...


So the native function takes 4 parameters but the 4th parameter is a pointer to a function which is used for callbacks. The callback function takes 4 parameters as well.

Mark Salsbery wrote:
Also, char is Unicode in C#, but a single byte in C++.


Do you know how I can make the C# char be a single byte char as it is in C++? Marshaling perhaps?

Thanks for your help.
GeneralRe: Import unmanaged C++ dll into C# project Pin
Mark Salsbery12-Oct-08 6:34
Mark Salsbery12-Oct-08 6:34 
GeneralRe: Import unmanaged C++ dll into C# project Pin
jamesmurphy7813-Oct-08 7:19
jamesmurphy7813-Oct-08 7:19 
GeneralRe: Import unmanaged C++ dll into C# project Pin
Mark Salsbery13-Oct-08 8:04
Mark Salsbery13-Oct-08 8:04 
QuestionRe: Import unmanaged C++ dll into C# project Pin
Mark Salsbery13-Oct-08 8:22
Mark Salsbery13-Oct-08 8:22 
AnswerRe: Import unmanaged C++ dll into C# project Pin
jamesmurphy7813-Oct-08 8:43
jamesmurphy7813-Oct-08 8:43 
GeneralRe: Import unmanaged C++ dll into C# project Pin
Mark Salsbery13-Oct-08 9:33
Mark Salsbery13-Oct-08 9:33 
GeneralRe: Import unmanaged C++ dll into C# project Pin
jamesmurphy7813-Oct-08 10:03
jamesmurphy7813-Oct-08 10:03 
GeneralRe: Import unmanaged C++ dll into C# project Pin
Mark Salsbery13-Oct-08 10:57
Mark Salsbery13-Oct-08 10:57 
GeneralRe: Import unmanaged C++ dll into C# project Pin
jamesmurphy7813-Oct-08 11:24
jamesmurphy7813-Oct-08 11:24 
GeneralRe: Import unmanaged C++ dll into C# project Pin
Mark Salsbery13-Oct-08 11:33
Mark Salsbery13-Oct-08 11:33 
GeneralRe: Import unmanaged C++ dll into C# project Pin
jamesmurphy7813-Oct-08 11:53
jamesmurphy7813-Oct-08 11:53 
GeneralRe: Import unmanaged C++ dll into C# project Pin
Mark Salsbery13-Oct-08 12:04
Mark Salsbery13-Oct-08 12:04 
QuestionGetHashCode implementation Pin
DaveyM6910-Oct-08 11:45
professionalDaveyM6910-Oct-08 11:45 
AnswerRe: GetHashCode implementation Pin
Guffa10-Oct-08 12:26
Guffa10-Oct-08 12:26 
GeneralRe: GetHashCode implementation Pin
DaveyM6910-Oct-08 12:54
professionalDaveyM6910-Oct-08 12:54 
GeneralRe: GetHashCode implementation Pin
DaveyM6910-Oct-08 13:05
professionalDaveyM6910-Oct-08 13:05 
GeneralRe: GetHashCode implementation Pin
Guffa10-Oct-08 14:09
Guffa10-Oct-08 14:09 

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.