microsoft.public.dotnet.languages.vc Archive - March 2004
Post a message to this list
Messages
Page: 1234567
can i compile and run .cpp file in .net environment as in VC++ (2 replies, VIP)
microsoft.public.dotnet.languages.vc
I am confused and dont know how to use .net environment to work with C . but i am just not sure whether it's possible or not. Can anyone tell me, pls?
Bug in OnTimer? (2 replies)
microsoft.public.dotnet.languages.vc
vc v7.1 Whenever I add an OnTimer message handler via the properties pane, I get the following code added to my files: afx msg void OnTimer(UINT nIDEvent); and void CMyWnd::OnTimer(UINT nIDEvent) { // TODO: Add your message handler code here and/or call default CWnd::OnTimer(nIDEvent); } I'm actually doing a cast on the event ID to a HANDLE, and the compiler complains of a 64 bit conversion proble...
Copy file (2 replies)
microsoft.public.dotnet.languages.vc
I want to copy an existing file into a new one. How can I program this? Posted Via Usenet.com Premium Usenet Newsgroup Services ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** http://www.usenet.com
ildasm and `#pragma unmanaged` (7 replies)
microsoft.public.dotnet.languages.vc
When dealing with managed code it displays everything well, but I am curious how ildasm handles the binary when it encounters a block of native ML.
C#'s REF or OUT in Managed C++ (3 replies)
microsoft.public.dotnet.languages.vc
I'm working on creating a wrapper for some old code we have in C so that we can call it from a C# program. In C we have several functions defined that use the following notation: static long CalcCPL(double API60, double Temperature, double Pressure, double& ComputationalCPL, double& PrintingCPL); Where the double& arguments are output values from the function call. When I compile these into a mana...
.NET Null Reference Exception in C library - I really need help.... (3 replies)
microsoft.public.dotnet.languages.vc
Hey guys, I have narrowed down the location of the exception....it is occurring within a method call within the strtok function: Within strtok.c, there is a call like the following: ptiddata ptd getptd(); then, within the getptd() method (tidtable.c), we have this: ptiddata cdecl getptd (void) { ptiddata ptd; DWORD TL LastError; TL LastError GetLastError(); if ( (ptd FLS GETVALUE( tlsindex)) NULL ...
open .net 2002 sample in visual c++ 6.0? (2 replies, VIP)
microsoft.public.dotnet.languages.vc
Hi! How can I open and build a visual studio .NET 2002 sample (written i c ) in MS Visual C 6.0? or can I do this at all? I don't have VS .Net at all.... thanks!
MIDI converted to guitar tablature - Library (4 replies, VIP)
microsoft.public.dotnet.languages.vc
Hi Im looking to create a C program that will take a MIDI file as its input and analyse the data that it contains, extract the necessary information and create a Guitar tablature file. Where Im stuck at the moment is finding a library file that has the functionality to do the necessary MIDI analysis. Anyone know of any freeware/shareware ones available for this kind of task? Thanks
Language equivalents reference (4 replies, VIP)
microsoft.public.dotnet.languages.vc
Just ran across the following: http://msdn.microsoft.com/library/en us/vsintro7/html/vxgrfLanguageEquivalents.asp Pretty decent comparison of common language (VB, Java, C , C#, JScript, VFP) keywords, operators, types, etc. Anyone that is coming from a different language should find it an invaluable resource.
HELP for doubly linked list (2 replies)
microsoft.public.dotnet.languages.vc
Heres the story, I have to create a doubly linked list for class, and i have no clue on how to do it, i can barely create a single linked list. It has to have both a head and a tail pointer, and each node in the list must contain two pointers, one pointing forward and one pointing backwards. Each node in the list will contain 3 data values: an item ID (string), a quantity (integer) and a price (fl...
DHCP callout API registry entry (4 replies, VIP)
microsoft.public.dotnet.languages.vc
From reading MSDN, I am unable to discern what the format of the registry entry/key/value/whatever needs to look like for registering a DHCP Callout Dll. The documentation simply states: "Developers register to have the occurrence of these events call their functions by creating a specified registry entry that Microsoft DHCP Server reads upon startup. The location of the registry entry is: HKEY LO...
About winzip API (3 replies)
microsoft.public.dotnet.languages.vc
Dear all, I wanna write a application by using WINZIP functionality.But, I don't know how to revoke it, and where can I get more resource about it. So I need aid to accomplish it. Any help will be appreciated! Best regards. Allen Zhang.
Unresolved external symbol "void __cdecl __CxxCallUnwindDtor (4 replies)
microsoft.public.dotnet.languages.vc
Hello dear .Net experts, I have created a Visual C class library (.net) project with two classes named Base and Derived where Derived inherits from Base. When I add a destructur to base I get the following linker error: Common.obj : error LNK2001: Unresolved external symbol "void cdecl CxxCallUnwindDtor(void ( thiscall*)(void *),void *)" (? CxxCallUnwindDtor@@$$J0YAXP6EXPAX@Z0@Z) This does not hap...
Catching driver messages (2 replies, VIP)
microsoft.public.dotnet.languages.vc
Hello, I want to see if the driver of my capture card sends messages when it recieves video input. In order to do this, I built a Windows Service, which contains a message loop. How can I see if the message comes from the driver ? The MSG structure provides me with a HWND, and the OpenDriver windows function provides me with a HDRVR, but I don't know how to relate those two. Thanks for any ideas. ...
Performance Monitor customization (2 replies, VIP)
microsoft.public.dotnet.languages.vc
Hi, I Wonder... Is it possible to add custom counters to the performance monitor ( that is provided with the OS )? how? any samples or pointers will be appreciated. Thanks, Nadav.
Static class members in different T.U. ? (2 replies, VIP)
microsoft.public.dotnet.languages.vc
I'm having problems using static members of a class (largely HANDLEs of various sorts) as static class members of a class. It compiles OK but the linker complains of unresolved external symbol. Declaring them as just normal globals or member variables doesn't cause the said problem. I've got them such as static HCURSOR g hcWait; .... MyClass::g hcWait LoadCursor(NULL, IDC WAIT); //(yes I do use Lo...
PostQuitMessage (3 replies)
microsoft.public.dotnet.languages.vc
Apparently, PostQuitMessage 'posts a quit message to the calling thread's message queue'. How does it know which window this relates to? What if the calling thread's message pump is sending messages to more than one window, or what if there is more than one window in the calling thread but each with their own message pump? How would the function know which window to send the quit message to in bot...
!gle (2 replies)
microsoft.public.dotnet.languages.vc
If you can use !gle to dynamically view the value of GetLastError in code without actually having it in the code in WinDbg, is there any way you can use it in VC6 or VS.NET? What window do you type this into?
Should this work? (19 replies, VIP)
microsoft.public.dotnet.languages.vc
I can't get my head round why the following won't link (all in the same single .cpp file): #include stdio.h #include conio.h class statictest { public: static int i; }; int main() { printf("statictest::i is %d\n", statictest::i); return getch(); } It returns: Configuration: statictest Win32 Debug Compiling... statictest.cpp Linking... statictest.obj : error LNK2001: unresolved external symbol "pub...
Finding parent process of a DLL (6 replies, VIP)
microsoft.public.dotnet.languages.vc
Hi, Probably an easy one if you know how, but I'm stumped... I've got a function in a DLL and I need to be able to find out the application path of the application that's called it. From my searches there seems to be some stuff that allows you to list currently running processes but this isn't quite what I need. Any help appreciated. Steve
Transferring arrays from C DLL's to VB.Net (3 replies)
microsoft.public.dotnet.languages.vc
Transferring arrays from C DLL's to VB.Net I have a DLL written in C. This DLL reads a text file and creates a several very large arrays, 500,000 points and even larger. I would like the get the data in VB.Net so that I can plot it. Presently I am creating an equally sized array in VB and copying the data from the DLL's array into the VB array. There must be a better way. I looked into using a SAF...
Managed C++.NET vs VB.NET vs C#.NET (4 replies, VIP)
microsoft.public.dotnet.languages.vc
I'm at a point where I would really like to focus in on learning .NET but am having a hard time deciding which language to use. I learned to program in C but have spent quite a bit of time using VB6. I need to get started on developing a new application and would like to know what the advantages are of using managed C .NET over VB.NET or C#? My application will involve some, data acquisition, stor...
build (2 replies)
microsoft.public.dotnet.languages.vc
If build creates a .exe where does it go...I feel like I need to set some configurations. Whenever I build I get a spawn error.
Oracle Pro*C and VC++ 7.1 - source control and syntax color (3 replies, VIP)
microsoft.public.dotnet.languages.vc
Hi, I'm developing code using Oracles embedded sql in .pc files. These files are pre processed by the proc tool, which generates a .cpp file. Here are my problems Syntax coloring how can I make the visual studio editor to color the the source file (the .pc file)? In Visual Studio 6 it was a right click in the editor window, choosing properties and selecting Oracle PL/SQL as language. Source contro...
Cannot catch OutOfMemoryException. (5 replies)
microsoft.public.dotnet.languages.vc
I have a problem with catching the OutOfMemoryException in a managed C application. When creating small objects on the managed heap neither the catch handler for OutOfMemoryException nor the UnhandledException handler is called in an out of memory situation. Instead the application writes 'Fatal out of memory' to the console and exits. Is this a bug in the runtime or am I missing something ? Here ...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com