Search:
Type: Posts; User: Dave C
Search:
Search took 0.06 seconds.
-
February 22nd, 2021, 08:51 AM
You can't get an unsigned int result by multiplying one with a double. And if you cast the result all you get is "one".
-
February 18th, 2021, 01:27 PM
I have an application that will stuff fixed point values into CPU registers. They're 32 bit (4 byte) and specified as:
Unsigned fixed-point number: 5 bits integer 27 bits fractional
Min = 0x0 =...
-
February 12th, 2021, 03:06 PM
OK, I did that and it worked. Thank you.
-
February 12th, 2021, 11:18 AM
Dynamic linking. The DLL is in the same directory as the .exe (debug). The header file for the dll definitions has the extern "C" -
#ifdef __cplusplus
extern "C" {
#endif
A typical function...
-
February 12th, 2021, 11:12 AM
I haven't tried that yet. If I can't get the .lib to work, I'll go that route. Thanks for the reference.
-
February 11th, 2021, 03:30 PM
Thanks for that. So I used the batch file scripts from there and created a .lib file. I added that to my project under the linker's additional dependencies. But when I try to build the project I get...
-
February 10th, 2021, 01:24 PM
I have a dll that I want to use in Visual C++ but I don't have the library file for it (.lib). When I try to compile I get "Error 2 error LNK1120: 1 unresolved externals"
Is there any way to use...
-
July 21st, 2016, 10:40 AM
I have a bunch of CheckBox controls on a Windows form and rather than create a separate CheckChanged event handler for each one I think it'd be more elegant to create an array with them and handle...
-
April 22nd, 2016, 10:02 AM
VS 2010 is the (current) company standard, we were hoping to be able to transport the project between development and production without dealing with version differences. The plan now is to...
-
April 21st, 2016, 08:07 AM
I have a dialog based MFC application (factory automation) that needs to be run in debug on the target machine, but the Express version of VS 2010 doesn't support that. Before I ask IT to buy another...
-
April 13th, 2015, 02:00 PM
I'm upgrading a VB6 project with VS 2005 and one of the forms uses a progress bar control. In the components list there is a line -
Public WithEvents ProgressBar1 As AxComctlLib.AxProgressBar
...
-
April 7th, 2015, 07:39 AM
I've read the stickies and from what I can tell VB6 is supposedly "supported" through Windows 8. I'm trying to install it (actually, Visual Studio 6) on a 32 bit Win 7 platform and the OS says that...
-
March 24th, 2014, 03:16 PM
I have a VB 2005 application that creates a text file and saves it to disk. One of my users (remote from me, unfortunately) is having problems with it and I'm not able to duplicate the error he's...
-
March 28th, 2013, 10:01 AM
A couple of suggestions...
You've prompted the user to enter 10 digits. The input string myChoice will be (should be) 10 characters long. You only need to input that once, unless there are not 10...
-
March 26th, 2013, 01:45 PM
I don't understand why this is happening then. Project->Add Existing Item doesn't have any options, and I find nothing in the project properties or tools menus that would affect this.
Edit: It...
-
March 22nd, 2013, 01:30 PM
I have a directory of class files that will be used by multiple projects and solutions. When I add a file from that directory to one of my projects Visual Studio copies it into the project directory....
-
March 14th, 2013, 11:46 AM
Thank you Arjay - the DEF file worked.
-
March 12th, 2013, 02:48 PM
OK.. Is there some way to rebuild the dll such that the names aren't mangled?
-
March 12th, 2013, 01:04 PM
I have a 3rd party dll written in VC6.0 that I want to use within a C# application. When I call one of the exported functions I get a can't find entry point exception.
The dll is called diodrv.dll...
-
January 28th, 2013, 09:44 AM
Thank you very much. The MSDN explanation for this error is more cryptic than the error message.
-
January 25th, 2013, 02:19 PM
I have a new managed C++ Form project (my first) and if I try to declare a StreamReader object I get an error that I don't understand:
private: System::Void Form1_Load(System::Object^ sender,...
-
November 29th, 2012, 01:30 PM
That worked. Thanks very much.
-
November 29th, 2012, 09:36 AM
Thanks very much for the reply. Oddly, the TrimEnd method doesn't seem to work. The string remains unchanged (the copy, that is) still retaining the '\0' characters on the end. I'm pretty sure I have...
-
November 28th, 2012, 05:45 PM
I'm a C/C++ guy trying to learn C# and I'm converting some of my C code into C# for learning.
In the following snippet of code, the char array temp[] gets initialized as nulls '\0'. If I turn the...
-
|
Click Here to Expand Forum to Full Width
|