vc++.net

simple tutorial for DCOM

Hi, Can someone suggest me beginners learning resources for DCOM technology using vc++ Those with Sample codes would be very helpful. Thanks ...

How to change string of ^ type to char* type in vc++ CLR window application?

Hi all, I'm working on a vc++ CLR window application.In this application when I browse the local file system for file selection, the input file path is coming in string^ type ...now I want to change this ^ type to char* type. Help me. Thank you. ...

How to write TransmitPackets function in winsock2 ?

Hi all, I'm writing a file transfer application in VC++(Server) using UDP. I came to know in winsock2, there are some functions which are useful in file transfer. Can anybody help me. I'm also looking for a sample application of TransmitPackets of winsock2 but not gettng. Please help me. Thank you. ...

what is the best strategy to build file transfer application?

Hi all, I'm working on a UDP File(large) transfer application. Client end is Adobe Flash builder and also in VC++ and Server end is C++. I'm sending my file in packets and resending the missing packets.Finally it is taking the time what ever TCP. I'm using winsock2 at server end but not complete functions.Is there any better protocols o...

Name mangling problems when using GNU linker to link to VC++ compiled library.

In asking this question, I'm looking for either better understanding of the situation or preferably a solution. I'm created C++ code and I would like to be able to use the Eclipse CDT IDE rather than Visual Studios, (my workplace is more Eclipse friendly). This implies that, practically speaking, I must use the GNU tool chain to compil...

VC++ .Net Clr/Safe and Clr/Pure

In VC++ .Net, The What does the Clr/Safe and Clr/Pure means? ...

Using C++ code in C#

Hi, I had written a code snippet in VC++. However, I cannot continue rest of the application in VC++, so would want to move to C#. Can I make a dll of the VC++ code and call the functions written in VC++ to work in C#? I'm quite un-aware if this will work, but I have seen how the native code is called in C# using dll. Can anyone plea...

Transparent Section of Images on VC++ .NET

I would want to display two button images on an application, bot images are irregular in shape (a circle and moon shape images). Since bitmaps doesn't supports transparency, this buttons looks like they are overlapping each other even when the exact design doesn't. SO I would like to ask: Is there a way to display a PNG image on VC++ MF...

Sending an Array from DLL - VC++

hello, I have written a dll in VC++. I wanted to ask if it is possible for a method in a dll to return an array? And would that array returned, be compatible with any language that is using the DLL? As-In compatible with C#, Java...etc. I would be glad if I could get some leads in to it. thank you. ...

Syntax Error in MFC header file when compiling VC9 application

While migrating MFC application from VC6 to VC9 [VS2008] platform, there are some comilation errors showing error in MFC header files (ocdb.h, afxocc.h). c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\ocdb.h(551) : error C2143: syntax error : missing '}' before 'constant' c:\Program Files\Microsoft Visual Studio 9.0\VC\...

Memory Overflow problem-OpenCV

Hi, I had written a blob tracking algorithm in VC++. I had run it in a console program, it just performed brilliantly. Now, I wanted to write the rest of my application in c#, so I made a dll of the VC++ code. And I am calling this dll from C# code. Now, in C#, after running for around 2 minutes, the application is throwing an error...

clrscr()not working in VC++(VS 2008).....??

Hi, In VS 2008, I created an empty project in VC++ and added a source file as . . . ` #include<stdio.h> #include<conio.h> int main() { .... clrscr(); ..... return 0; } ` I get these errors/warnings : Warning 1 warning C4013: 'clrscr' undefined; assuming extern returning int c:\tc\toh.c 170 TOH Error 3 error LNK20...

biXPelsPerMeter to dpi?

Hello, I need to check some bitmap files and report its x and y dpis, but I don't know how to convert biXPelsPerMeter and biYPelsPerMeter to dpi. I'm using VC++ Are there any function for this? thanks! ...

Is VS 10.0 Runtime part of .Net framework 4?

Hi all, My questions title says it all.. Are VC Runtimes part of .Net framework? also how can I get the VC 10.0 Runtime for download? ...

How can I cast a gcroot<Object^> to IMyInterface in C++.net?

I'm having to do some weird things with gcroot, but I get the following error on the dynamic cast line: "cannot use 'dynamic_cast' to convert from 'gcroot' to 'IMyInterface^'. In C#, you could easily cast a generic object to any interface. You may get a runtime error if the object doesn't implement the interface but it would compile. ...

How to call functions of a COM DLL (In VC++) from a VC++ .EXE application?

I have a COM DLL (say, xyz.dll) coded in VC++. I want to create a calling EXE application (calling.exe) which will call the functions of the COM DLL (xyz.dll). I followed the steps in the link http://www.codeproject.com/kb/DLL/XDllPt1.aspx. But I am not able to connect the DLL and EXE and hence not able to call the functions of the COM...

Not able to CALL the functions of COM DLL from a VC++ application?

Hi i have explained the scenario in one of my earlier questions in the link, http://stackoverflow.com/questions/4008156/how-to-call-functions-of-a-com-dll-in-vc-from-a-vc-exe-application/ and also the answer helped me to a great extent. . My calling application is building perfectly. But I am encountering problem, when I am debugging th...