Click here to Skip to main content
15,910,471 members
Home / Discussions / C#
   

C#

 
AnswerRe: Copying part of byte array to another byte array Pin
Stefan Troschuetz4-Feb-07 2:55
Stefan Troschuetz4-Feb-07 2:55 
QuestionProblem with struct - Pin
yarns4-Feb-07 1:25
yarns4-Feb-07 1:25 
AnswerRe: Problem with struct - Pin
Guffa4-Feb-07 1:37
Guffa4-Feb-07 1:37 
GeneralRe: Problem with struct - Pin
yarns4-Feb-07 1:57
yarns4-Feb-07 1:57 
GeneralRe: Problem with struct - Pin
Guffa4-Feb-07 6:17
Guffa4-Feb-07 6:17 
AnswerRe: Problem with struct - Pin
Luc Pattyn4-Feb-07 6:36
sitebuilderLuc Pattyn4-Feb-07 6:36 
GeneralRe: Problem with struct - Pin
yarns4-Feb-07 7:58
yarns4-Feb-07 7:58 
QuestionWrapper Problem Pin
snouto4-Feb-07 1:19
snouto4-Feb-07 1:19 
Hello everybody , i just have a compression algorithm written in ansi C i need to convert it into a .dll file to add its reference into .net studio , i did that like that
new project---->c++ projects--->MFC DLL File.
and i added its files and i wrote my own methods but when i tried to incorporate it into the .net studio it refused.

so is there any way to make it a dll file and add its reference to the .net studio.

second problem:
--------------
i have A .dll file i need to extract its methods
can i use it by [DLLImport("string to the file")]

when i do that it tells me the string assigned must be constant expression , here it means constant expression not only with "const" declaration but also no variable is assigned
i did that
const string path = Application.StartUpPath+"\\compression.dll";
[DllImport(path)]
public static extern void CompressData();

but it gives me an error
Please help me how can i get these methods out from the .dll file.

Human knowledge belongs to the world.

AnswerRe: Wrapper Problem Pin
Luc Pattyn4-Feb-07 6:43
sitebuilderLuc Pattyn4-Feb-07 6:43 
QuestionDeployment and Distribution in .NET 1.1 Pin
MacMohan4-Feb-07 0:31
MacMohan4-Feb-07 0:31 
AnswerRe: Deployment and Distribution in .NET 1.1 Pin
Christian Graus4-Feb-07 0:40
protectorChristian Graus4-Feb-07 0:40 
AnswerRe: Deployment and Distribution in .NET 1.1 Pin
PIEBALDconsult4-Feb-07 4:36
mvePIEBALDconsult4-Feb-07 4:36 
QuestionHow to capture whole space of child form Pin
sjs4u3-Feb-07 23:44
sjs4u3-Feb-07 23:44 
QuestionSQl Server SP errors in C# Pin
Mridang Agarwalla3-Feb-07 21:45
Mridang Agarwalla3-Feb-07 21:45 
AnswerRe: SQl Server SP errors in C# Pin
Christian Graus4-Feb-07 0:30
protectorChristian Graus4-Feb-07 0:30 
QuestionWhat is the best way to reading and analizing binary file? Pin
yarns3-Feb-07 21:19
yarns3-Feb-07 21:19 
AnswerRe: What is the best way to reading and analizing binary file? Pin
Christian Graus4-Feb-07 0:29
protectorChristian Graus4-Feb-07 0:29 
AnswerRe: What is the best way to reading and analizing binary file? Pin
User 66584-Feb-07 1:16
User 66584-Feb-07 1:16 
QuestionHow to call forms using label or linklabel control Pin
sjs4u3-Feb-07 19:04
sjs4u3-Feb-07 19:04 
AnswerRe: How to call forms using label or linklabel control Pin
Christian Graus3-Feb-07 20:07
protectorChristian Graus3-Feb-07 20:07 
QuestionCatch or trap a process kill signal? Pin
Zerox MXI3-Feb-07 18:47
Zerox MXI3-Feb-07 18:47 
AnswerRe: Catch or trap a process kill signal? Pin
Stefan Troschuetz3-Feb-07 21:09
Stefan Troschuetz3-Feb-07 21:09 
GeneralRe: Catch or trap a process kill signal? Pin
Zerox MXI3-Feb-07 21:17
Zerox MXI3-Feb-07 21:17 
AnswerRe: Catch or trap a process kill signal? [modified] Pin
Luc Pattyn4-Feb-07 9:38
sitebuilderLuc Pattyn4-Feb-07 9:38 
QuestionImage painting - like a scratch card Pin
FoxholeWilly3-Feb-07 17:27
FoxholeWilly3-Feb-07 17:27 

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.