JLJM's Q&A profile
Visual C++ lnk 2019 error
hey guys, i was wrapping a native dll inside a managed c++ dll. i was compiling to test how i was going, and it got a weird lnk error. it is the following: error lnk2019 : unresolved external symbol _main referenced in function _mainCRTStartup. so how am i suppose to solve this issue imusing the VS 2003. thx and the way i experienced until now, in order to load or make an object from native dll in managed C++, u ...Show All
Visual C++ conditional compilation; Intellisense doesnt seem to be working
Dear All. I am using VC 2005, writing a chunk of code like this... #ifdef USE_LICENSING #include<file1.h> code... code.. #endif the editor grays out the code between then ifdef and endif tags, I can use features like intellisense only if i comment out ifdef and endif tags.. anyone aware of this Satish Boston,MA. I agree that I.S. takes way too long to populate its database and I've found it to not be completely reliable in more comp ...Show All
Visual C++ VS2005 and function GetProcessMemoryInfo
Hello All, I had some old code that ran perfectly in VS 6.0 and used the function GetProcessMemoryInfo located in psapi.h and paspi.lib. This was on a 32 bit machine. I have a new computer which has the EM64T technology from intel. I have installed win XP 64 bit and VS 2005 Beta Version on this machine. I am trying to get my application to complie and run as a 64 bit application. The rest of the code complies and links just fine. However, the ...Show All
SQL Server horizontal growth and dynamic table
Hello, 1. how can I configure a textbox and field in table to horizontal growth 2. I have a dynamic table build by SQL query, how can I create a dynamic table (the fields are build dynamicaly in the SQL query) without using matrix table 1) This is not possible. Horizontally-growing textboxes is on our wishlist for a future release. 2) This also cannot be done with Tables. SSRS requires that the names ...Show All
SQL Server Using Teradata .NET data provider as data source
Recently I installed the .NET data provider for Teradata. In a regular C# application I can add the namespace, " using Teradata.Client.Provider; " to connect to this data provider directly without going though ODBC or OLD DB so I know it works. However, when I open Reporting Services (new project -> Business Intelligence Projects) I do not see how to add the Teradata .NET provider. I only see the same standard data types ...Show All
Windows Forms how to create a bitmap dynamicly and save it to 256 color mode
As common , the bitmap is saved as 24bit or more, But now , I have to create a bitmap like 23 dynamicly, and save it as 256 color or 12bit , how can i do it using GDI or others. thanks in advance. ...Show All
Smart Device Development VS2005 dev emulator "Cannot connect to device. Error 0x8007002"
I'm having several troubles running the Device Emulator with VS2005. (I had been using the Preview, which worked fine in all circumstances, but I uninstalled it and installed VS2005.) 1) In the Device Emulator Manager I right click on a device (e.g., Pocket PC 2003 SE Emulator) and hit "Connect". The emulator starts up and appears to be doing a cold boot - eventually but before the copyright screen appears I get a message box "C ...Show All
Visual C++ waveInReset halts program
When calling waveInReset ( multimedia API), in order to stop recording and return all queued buffers, the program halts. No wave functions are called from within the wave-in callback function, which could be the reason for a deadlock. In fact, after waveInReset is called, the wave-in callback is not called at all, which is weird, because the callback should be called for every queued buffer which was sent using waveInAddBuffer. What cou ...Show All
Visual C# Bug or intentional: aspnet_Membership_GetUserByName does not update LastActivityDate
I've just begun to extend the membership framework for .NET. I've noticed that aspnet_Membership_GetUserByName has the potential to update LastActivityDate in aspnet_Users, but actually will not ever do the update. The "problem" (unless this is intentional) is that @UserId is never set in the select statement before the update statement, i.e. there is no "@UserId = u.UserId" in the Select. So is this a problem with my inst ...Show All
Visual C++ Command Line Arguments
I'm kind of new to C++ and am having a few problems getting started. I'm just wondering does anyone know how to pass a command line argument to a program using the Microsoft Visual C++ software Any help would be greatfully appreciated. Thanks in advance, Neil. Neo83 wrote: Thats the problem man, I don't know how to pass parameters using Visual C++ throught the interface. Hope you know what I meen W ...Show All
Visual Studio Team System VS2005 Testing Questions / Discussion - Where and C++
I have two general issues i would like to discuss to get some feedback : Managed Code - Any compelling reasons why you think that unit tests should live in the class being tested, or seperately in the test class(es) where you need to reference the class being tested We are trying to decide on the pros and cons, and if there is something we have missed. Within the class means it is more likely tests will be added and updated however wit ...Show All
Windows Forms Problems in deploying an application with the Mage.exe command-line tool
Dear Sir/Madam, I am trying to deploy an application with the Mage.exe command-line tool. I have created using MS Visual Studio (Visual C#) on C: a simple project/solution called Test. I compiled and run the project successfully. I created a C:\store\1.0.0.0\bin directory and then copied the test directory to it. That is, as a result C:\store\1.0.0.0\bin\test Then I copied a c ...Show All
Visual Studio Team System Map a project to an existing TFS project
Hi, I'm new to Team System and I'm starting to explore the API and automation facilities... I have a solution template and I would like to map several (not all!) projects it contains to existing Team System project(s), so that I can do "Get Latest" operations on those projects for all solutions created using this template. I thought using a GAT (Guidance Automation Toolkit) Action class to do so, once the whole solution has been unfold ...Show All
SQL Server 24h/7d Time Periods TO 10h/5d Time Periods
I have to do alot of date calculations. For some calculations, I can use the datediff or dateadd function to get a Time Period between 2 dates. Now for some dates I need to calculate the time between 2 dates BUT: a week = 5 days starting from Monday to Friday a day starts at 8AM and ends at 6PM (so a day is 10 hours) You can probably calculate this manually but what about summer to winter hour and the month Februari when it has 29 ...Show All
SQL Server Problem: Can dhcp callout dll insert new row into dsn database?
I current working on this dll, but i found the dll doesn't response to any of the cdatabase execute response I have try all the cdatabase and sql in c++ console and found that it can be run. The database is open success and the sql statement is correct. After then i put it into the dhcp callout dll, and compile success. When i add it into the registry and try the dhcp server, it doesn't have any response database table. And i using ...Show All
