Debug in Visual Studio 2005 (vs8) ?

I try debug my application using Visual Studio 2005 but i request this error:
"unhandle exeption at xxx (msvcr8d.dll)".
This application in Release mode it's ok.
This application in VS7 it's ok in DEBUG and RELEASE mode.
why i can debug in visual studio 2005 (vs8) ?

Well, I've tried to use it, but look what I got... Any suggestions?
Compiling...
occidml.cpp
C:\InstCli\sdk\include\oratypes.h(98) : error C2062: type 'unsigned int' unexpected
C:\InstCli\sdk\include\oratypes.h(99) : error C2062: type 'int' unexpected
C:\InstCli\sdk\include\oratypes.h(104) : error C2146: syntax error : missing ';' before identifier 'ub8'
C:\InstCli\sdk\include\oratypes.h(104) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\InstCli\sdk\include\oratypes.h(104) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\InstCli\sdk\include\oratypes.h(105) : error C2146: syntax error : missing ';' before identifier 'sb8'
C:\InstCli\sdk\include\oratypes.h(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\InstCli\sdk\include\oratypes.h(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\InstCli\sdk\include\occiData.h(503) : warning C4180: qualifier applied to function type has no meaning; ignored
Build log was saved at "file://d:\Meus documentos\Visual Studio 2005\Projects\occidml\occidml\Debug\BuildLog.htm"
occidml - 8 error(s), 1 warning(s)

Similar Messages

  • Visual Studio 2005 The remote connection to the device has been lost. Please verify the device connection and restart debugging.

    Basically I've been using Visual Studio 2005 for a few weeks now moving a Pocket PC project from 2003 to 2005. When I hit the Start Debugging Button every time until today the project would rebuild and deploy to my pocket PC allowing me to debug etc but now I get
    The remote connection to the device has been lost.
    Please verify the device conection and restart debugging.
    I used to get this problem in VS2003 sometimes and just like the numerous posts on different sites that I've looked at the problem eventually goes away and I'm none the wiser. One guy said that he found that if he went to bed the problem was resolved when he came back!
    My PDA running Windows 2003 2nd Edition is directly connected to my PC via a USB port. I've rebooted my PC and done a soft reset on the PDA but it didn't help. I'm using ActiveSync 4.1.
    Does anyone know how to resolve this problem?

    I still can't debug. I have just tried a hard reset and I get the same problem
    The build output is as follows
    ------ Build started: Project: BO, Configuration: Debug Any CPU ------
    BO -> C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\BO.dll
    ------ Build started: Project: Printing, Configuration: Debug Any CPU ------
    No way to resolve conflict between "System.Data.SqlServerCe, Version=3.0.3600.0, Culture=neutral, PublicKeyToken=3be235df1c8d2ad3, Retargetable=Yes" and "System.Data.SqlServerCe, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes". Choosing "System.Data.SqlServerCe, Version=3.0.3600.0, Culture=neutral, PublicKeyToken=3be235df1c8d2ad3, Retargetable=Yes" arbitrarily.
    Printing -> C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\Printing\bin\Debug\Printing.dll
    ------ Build started: Project: MobileSeller, Configuration: Debug Any CPU ------
    Consider app.config remapping of assembly "System.Data, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "1.0.5000.0" [] to Version "2.0.0.0" [C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Data.dll] to solve conflict and get rid of warning.
    Consider app.config remapping of assembly "System.Windows.Forms, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "1.0.5000.0" [] to Version "2.0.0.0" [C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Windows.Forms.dll] to solve conflict and get rid of warning.
    Consider app.config remapping of assembly "System, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "1.0.5000.0" [] to Version "2.0.0.0" [C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.dll] to solve conflict and get rid of warning.
    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.
    MobileSeller -> C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\bin\Debug\MobileSeller.exe
    Done building project "MobileSeller.vbproj".
    ------ Skipped Deploy: Project: BO, Configuration: Debug Any CPU ------
    Project not selected to build for this solution configuration
    ------ Skipped Deploy: Project: Printing, Configuration: Debug Any CPU ------
    Project not selected to build for this solution configuration
    ------ Deploy started: Project: MobileSeller, Configuration: Debug Any CPU ------
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\windowsce\wce400\armv4\NETCFV2.ppc.armv4.cab'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\System.Data.Common.dll'
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v2.0\wce400\ARMV4\sqlce20.ppc.wce4.armv4.CAB'
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v2.0\wce400\ARMV4\sqlce20.dev.ppc.wce4.armv4.cab'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\InTheHand.Data.Adoce.dll'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\InTheHand.Interop.dll'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\Printing\bin\Debug\PocketHTMLprint_NetCF.dll'
    Deploying 'C:\Dev\MILLAR CODE CABINET\VS2003CF\References\USICF.dll'
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce400\ARMV4\sqlce30.ppc.wce4.armv4.CAB'
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce400\ARMV4\sqlce30.repl.ppc.wce4.armv4.CAB'
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce400\ARMV4\sqlce30.dev.enu.ppc.wce4.armv4.CAB'
    Deploying 'C:\Dev\VS2005CF\References\release\Signature.dll'
    Deploying 'C:\Dev\VS2005CF\References\release\RealUpDown.dll'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\Printing\bin\Debug\Printing.dll'
    Deploying 'C:\Dev\VS2005CF\References\release\PhoneAPI.dll'
    Deploying 'C:\Dev\VS2005CF\References\release\MVnetApplication.dll'
    Deploying 'C:\Dev\VS2005CF\References\release\MobileHList.dll'
    Deploying 'C:\Dev\VS2005CF\References\release\MobileGrid.dll'
    Deploying 'C:\Dev\VS2005CF\References\release\ImageButtons.dll'
    Deploying 'C:\Dev\VS2005CF\References\release\CreditCardValidator.dll'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\BO.dll'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\View.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Unscheduled.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Unschedule.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\tr.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\top.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Tools.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\tl.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\SmlButUnPressed.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\SmlButSquUnPressed.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\SmlButSquPressed.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\SmlButPressed.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Select1.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\sekonda3.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\sekonda2.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\sekonda1.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\ScrewDriver.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Scheduled.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Scheduled.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Schedule.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Scan.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Save.ICO'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Remove.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\ReceiptTemplate.htm'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Problem.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\PrintDC.dll'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Print.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Prev.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\bin\Debug\PocketHTMLprint_NetCF.dll'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\pocketHTMLprint.dll'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Phone.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Page.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\NotesExist.ICO'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Notes.ICO'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Next.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\NewCust.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\MVNetLogoSmall.png'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\mtiny.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\MoneyScrew.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Money.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Magnify.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Lock.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Line.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\InvoiceTemplate.htm'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\gradus4.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\gradus3.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\gradus2.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\gradus1.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\FindVisit.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\FindCustomer.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Find.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\DropDown.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\dentsplus3.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\dentsplus2.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\dentsplus1.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\DentDevilsCar.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\DentDevils2.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\DentDevils1.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Default2.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Default1.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Cust.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Completed.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Cancelled.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Call.ico'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\br.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\bottom.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\bl.gif'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\BigButUnPressed.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\BigButPressed.jpg'
    Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\bin\Debug\MobileSeller.exe'
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\windowsce\diagnostics\System_SR_enu.cab'
    ========== Build: 3 succeeded or up-to-date, 0 failed, 0 skipped ==========
    ========== Deploy: 1 succeeded, 0 failed, 2 skipped ==========
    Visual studio indicates that
    Deployment Started
    Depolyment Succeeded
    Loading Symbols
    Ready
    and then I get the same problem ie The Remote connection to the device has been lost

  • Getting "Couldnot find Installable ISAM" error in script task in SSIS 2005 when trying to open (.xlsx files) Excel 2007-2010 files using VB script in Visual Studio 2005

    Hi Experts,
    I am trying to open .xlsx file in script task of SSIS 2005. I am using the 32-bit AccessDatabaseEngine driver with the Connection string as "Provider= Microsoft.ACE.OLEDB.12.0; Data Source=xlsx file path; Extended Properties="Excel 12.0 Xml;
    HDR=YES"" in script task.
    When we debug the VB script in Visual Studio 2005 and encounters the statement app.open() it throws the error "Couldn't find installable ISAM".
    My SQL server version is 2005 SP2 DE
    OS is Windows server 2003 EE SP2
    Could anyone please let me know what is the resolution for this error?
    Thanks and Regards,
    Adesh

    Hi Adesh,
    First, make sure the package runs in 32-bit runtime mode (set Run64BitRuntime property to False) because you are using the 32-bit ACE OLE DB Provider. If it is not the case, the issue may occur due to the corrupted drivers or registry keys. You can try to
    reinstall the 2007 Office System Driver: Data Connectivity Components as Arthur suggested.
    Regards,
    Mike Yin
    TechNet Community Support

  • MS Visual Studio 2005 + Oracle 10g = Cannot connect to ODBC error: 12154

    Hi there!
    I've read so many threads of same kind of problems but always some key elements seems to be missing so I cannot solve my problem with the solutions in those threads. So, I'll do my own.
    Our environment is...
    We have Oracle 8 database with all the data that we have. Now we have our new server, SQL Server 2005 installed and I am trying to transfer data from Oracle to SQL using MS Visual Studio 2005 using available ODBC drivers. System is Windows 2003 64Bit on intel based hardware.
    Current installations and settings
    I have installed Oracle 10g 32bit and 64bit to separate foldes. Then I made tnsnames and sqlnet files with right settings to specified folders and tested connection with tnsping <servername> command.
    Both, 64bit and 32bit connections are working. (Used 32bit CMD for 32bit connection test)
    ODBC
    I added Microsoft ODBC for Oracle as 32bit driver and Oracle 10g driver for 64bit environment as ODBC driver.
    Both environments uses same ODBC names: Myserver and Mytestserver
    Debug
    First, when I only had 64bit version of ODBC, I had a warning which said that I am using incompatible version of ODBC driver. Then I read from here that I can install 32bit client also and use drivers from that on 32bit ODBC environment and get rid of that message.
    Tried to connect Oracle DB with SQL-Plus and it works.
    Visual studio 2005 SP2
    I have tried to use .Net Providers/Oracle Client dataprovider and .Net Providers for OleDB/Microsoft Old DB for Oracle and also .Net Providers for OldDB/Oracle provider for OldDB
    Frist two gives me an error: ORA-12154 TNS: Could not resolve the connect identifier specified
    Last one says that OraOldDB.oracle.1 is not registered on local machine
    I have absolutily no idea what I can try next?
    Anyone who has more ideas? Suggest anything. I might have tried that already, but give a shot anyway. :)
    Message was edited by:
    user640570

    Hi,
    From where you got Oracle 10g driver for 64bit environment as ODBC driver. I am searching for the same.
    Are you got solution. I am facing same problem.
    Thanks,
    Vijay
    Edited by: user3976154 on Sep 6, 2008 5:12 PM

  • OCCI for Oracle 9i and MS Visual Studio 2005

    Hello.
    Where do I get OCCI *.lib and *.dll files for Oracle 9i and MS Visual Studio 2005 (VC 8)?
    Roman Perepelitsa.

    I was able to use MS Visual Studio 2005 and OCCi classes. There is a catch though, I was not able to use the debug library dll as it will crash. So I was not able to debug any code using the VS debugger, instead, I use the old and lengthy process: insert printf statements.
    Jeff

  • Programming NI-5122 in Visual Studio 2005 with multithread mode can cause hang

    Hello,
    I'm developing an application in Visual Studio 2005. I called NI-Scope APIs in a working thread. The software can talk to NI-5122 successfully, which I can see from NI-spy. However, after that, the UI hangs up. When I debug the program, Visual Studio tells me there is some deadlock among some threads. I attached the application used to reproduce this problem. To reproduce this problem, you just need to click the "Run" button on the dialog. Here is my developing settings.
    Hardware: NI-PCI-5122 digitizer (the device name is "Dev1" in MAX)
    Software: Windows XP+Visual Studio 2005+NI-Scope 3.3.0f0.
    Please advise.
    Thanks,
    Jucao Liang
    Attachments:
    Copy of MT_Test_NI_DGT_AWG.zip ‏136 KB

    Hi Jucao,
    Keep in mind that you just need to call this extra code once within the main thread.  I have modified your .cpp file by placing these calls in your CMT_Test_NI_DGT_AWGDlg:: OnInitDialog().
    Another solution is to call
    #include "ivi.h"
    IviConfigStoreHandle handle=NULL;
    Ivi_GetConfigStoreHandle(&handle);
    from the main thread.  To use this solution, you will need to be sure to link to the ivi.lib library.  The attached file has both workarounds in place, with the IviConfigStoreHandle method commented out.
    I hope this helps.
    Regards,
    Sean Close
    Product Support Engineer: High Speed Digitizers
    Message Edited by Sean C. on 05-24-2007 10:17 AM
    Attachments:
    MT_Test_NI_DGT_AWGDlg_Mod.cpp ‏5 KB
    MT_Test_NI_DGT_AWGDlg_Mod.cpp ‏5 KB

  • How to compile AnyConnect API with Visual Studio 2005?

    Gooday,
    I have downloaded anyconnect-win-vpnapi-2.5.3055.zip and am unable to build successfully examples.sln on a Windows XP SP2 platform. I would appreciate help in how to build examples.sln sucessfully. I get the following errors depending on the type of build using Visual Studio 2005 with service pack 1:
    1. Debug configuration for all - "Fatal error C1900: mismatch between 'P1' version '20060201' and 'P2' version '20050411'
    - appears a static lib file is out of date?
    - i downloaded and used as is so don't know how else to resolve it
    2. Release configuration for all - "Fatal error C1047: The object or library file '.\Release\PrivateApi.obj' was created with an older compiler than other objects; rebuild old objects and libraries' "
    Thanx,tom.

    You duplicated Java_Test_getWord. The function signature should read:JNIEXPORT jstring JNICALL Java_Test_getWord(JNIEnv *env, jobject obj) Regards

  • T400 ATi Driver, Vista64, Visual Studio 2005/2008 + OpenGL = Application hangs

    Well, the thread title sums it up pretty concisely.
    I develop OpenGL Apps in C++ on my Lenovo T400. My OS is Windows Vista 64 and I use Switchable Graphics. When using ATI Graphics my apps hang since i installed the lastest ATI Driver for the T400 (Release: 2009-04-28) when (and only when) starting the applications in the debugger. When starting the apps directly (either compiled for Debug or Release targets, both 32-bit) however, they work (!).
    As far i can tell it hangs when it tries swapping the buffers (for double buffering). 
    This happens both in Visual Studio 2005 and 2008. When will there be a fixed driver?

    timebits wrote:
    This is really annoying since this is the only driver supporting OpenGL 3.0!
    The current Lenovo driver is Catalyst 8.12 based (8.56 driver release). I thought OpenGL 3.0 support was only added in Catalyst 9.1 (8.57 driver)?
    The next Lenovo driver will be Catalyst 9.3 based (8.59 driver.) It was supposed to have shipped by the end of April but they had problems so decided to ship the Catalyst 8.12 based driver instead (the driver we had before 4/28 was really old -- based on Catalyst 8.8 -- 8.52 driver)
    For the whole saga of Lenovo/ATI's tardiness in making switchable graphics work see this thread.
    If you as a developer are dependent on having uptodate functionality in your graphics driver, you should consider modding the drivers you can download from the ATI site. All the links here are for Vista 32 but I am sure you can find the corresponding Vista 64 links. This means giving up on switchable graphics and setting discrete graphics (and os autodetect off) in bios.
    Starting Catalyst 9.4 (8.60 driver) ATI included switchable graphics in the drivers downloadable from their site. But unless you want to waste a lot of time -- stay with discrete graphics in bios.
    Btw I tried the modded Catalyst 9.4 (8.60 driver) on my Vista 32 T500 but had terrible performance in OpenGL (not 3.0) so went back to my modded Catalyst 9.1 (8.57 driver*) which I have good performance with.
    Message Edited by zilla on 2009-05-20 10:40 AM
    T500: Vista 32, 2.8GHz, 4GB RAM, 15.4" 1680x1050, 500GB 7200rpm, ATI Radeon HD3650 + Intel 4500MHD. T42: XP, 1.7GHz, 2GB RAM, 14.1" 1024x768, 250GB PATA, ATI Radeon 7500.

  • Visual Studio 2005 crashes when referencing ALI 6.5 portal server API

    Visual Studio 2005 crashes when referencing ALI 6.5 portal server API
    We are building new portlets in .NET 2.0 to that access the ALI 6.5 server API and are experienceing the folowing scenario:
    I create a brand new project in Visual Studio (2005 with SP1 on Win2k3 R2 SP2) using the ALI Portal Project template that is provided with the application accelerator 1.1. This portlet will need to perform portal server searches so I begin by adding references to the following assemblies from C:\bea\alui\ptportal\6.5\bin\assemblies:
    openconfig.dll
    opencounters.dll
    opencache.dll
    openhttp.dll
    openssl.dll
    opentempfile.dll
    plumtreeserver.dll
    ptportalobjects.dll
    I then type in something like below to start up the portal server objects.
    protected void Page_Load(object sender, EventArgs e)
    IOKContext context = OKConfigFactory.createInstance("C:\\bea\\alui\\settings\\", "portal");
    PortalObjectsFactory.Init(context);
    this.Response.Write("Portal Objects Initiallized");
    Some moments later Visual Studio will crash. It has happened before I have entered any code, after I have started typing code and on builds. It seems intermittent but usually occurs within a minute of interacting with this Visual Studio project. I actually managed to build once and have had success accessing this page in Explorer to validate the portal server objects are getting initialized and referenced correctly.
    I thought this was a problem with my personal development environment. So I tried this on other machines: another Win2k3 ALI 6.5 dev portal server and another server with Visual Studio 2005 that I installed the 6.5 portal on just for testing this. The exact behavior listed above is occurring on three development machines here (crashing devenv.exe when portal references are made or loading a project with portal references). Since this does not seem to be isolated to a single development machine, is there any course of action that anyone would suggest to help solve this?
    thanks,
    Troy Rackley

    It turns out that this is only a problem with Visual Studio using the ALI templates or creating any projects using the "New... Web site" functionality of 2005. I was a ble to create a C#... ASP.net Web Application project and add the references to the idk and the local portal server APIs manually without devenv.exe crashes.
    So, the work around I have found if your projects needs to access both the portal server API and the remote API is to create the project with:
    New... Project... Visual C#... ASP.NET Web Application
    and NOT
    New... Web Site... ASP.NET Web Site (or ALI Portlet Project)
    Anyone know why this is the case?
    Thanks.
    Troy

  • 156" width Crystal Report with Visual Studio 2005

    Post Author: kunchesm
    CA Forum: .NET
    Hi,
    I have a requirement to design a 156" width report (for exporting to Excel). And naturally i dont have printers to support this huge width reports (as these reports are not used for printing but just for exporting to Excel).
    One of the option which i have tried to design these reports is -
    - Installed MIcrosoft XPS Document writer and
    - Created a new server form (in Printers&Faxes>File>Server Properties) and assigned my custom width & Height for the paper size as per my requirement
    - Used this printer and form in my crystal report
    Now, my question... is there any better alternative or option to design huge width Crystal reports in Visual studio 2005? Any help in this regard is highly appreciated!
    Thanks & Regards
    ksm

    Hi Ganesh,
    So it all depends on how you created your WEB Project. If it was a CR Web App then no issues, if it was a WEB Form app then no issues except you need to copy the whole folder: C:\inetpub\wwwroot\VS2013WebsiteCR\aspnet_client
    to your app folder, maybe...
    If it was an empty WEB app then it may be an issue with permissions ( more on this soon once we do some testing, R&D may have provided a work around to get IIS Express to work, not sure about using IIS directly.
    Also search on Sessions and PostBacks, to get the second page you need to keep the session open/active. If not you may get nothing ot the same page everytime.
    Don

  • How to get string value from database table using Visual Studio 2005?

    Hi,
    Im developing plugin in illustrator cs3 using visual studio 2005. I need to get the values eneterd in database. Im able to get the integer values. But while getting string values it is returning empty value.
    Im using the below code to get the values from database table
    bool Table::Get(char* FieldName,int& FieldValue)
        try
            _variant_t  vtValue;
            vtValue = m_Rec->Fields->GetItem(FieldName)->GetValue();
            FieldValue=vtValue.intVal;
        CATCHERRGET
        sprintf(m_ErrStr,"Success");
        return 1;
    Im using the below code to get the values.
    AIErr getProjects()
        char buf[5000];
        int i;   
        std::string  catName;
        ::CoInitialize(NULL);
        Database db;
        Table tbl;
        errno_t err;
        err = fopen(&file,"c:\\DBResult.txt","w");
        fprintf(file, "Before Connection Established\n");
        //MessageBox(NULL,CnnStr,"Connection String",0);
        if(!db.Open(g->username,g->password,CnnStr))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        fprintf(file, "After Connection Established\n");
    if(!db.Execute("select ProjectID,ProjectName from projectsample",tbl))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        int ProjectID;
        int UserID;
        int ProjectTitle;
        char ProjectName[ProjectNameSize];
        if(!tbl.ISEOF())
            tbl.MoveFirst();
        ProjectArrCnt=0;
        for(i=0;i<128;i++)
            buf[i]='\0';
            int j=0;
        while(!tbl.ISEOF())
            if(tbl.Get("ProjectID",ProjectID))
                fprintf(file,"Project ID: %d ",ProjectID);
                ProjectInfo[ProjectArrCnt].ProjectID = ProjectID;
                sprintf(buf,"%d",ProjectID);
                //MessageBox(NULL, buf,"f ID", 0);
                j++;
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            //if(tbl.Get("ProjectTitle",ProjectName))
            if(tbl.Get("ProjectName",ProjectName))
                MessageBox(NULL,"Inside","",0);
                fprintf(file,"ProjectTitle: %s\n",ProjectName);
                //catName=CategoryName;
                ProjectInfo[ProjectArrCnt].ProjectName=ProjectName;
                //sprintf(buf,"%s",ProjectName);
                MessageBox(NULL,(LPCSTR)ProjectName,"",0);
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            ProjectArrCnt++;
            //MessageBox(NULL, "While", "WIN API Test",0);
            tbl.MoveNext();
        //MessageBox(NULL, ProjectInfo[i].ProjectName.c_str(),"f Name", 0);
        ::CoUninitialize();
        //sprintf(buf,"%s",file);
        //MessageBox(NULL,buf,"File",0);
        fprintf(file, "Connection closed\n");
        fclose(file);
        for(i=0;i<ProjectArrCnt;i++)
            sprintf(buf,"%i",ProjectInfo[i].ProjectID);
            //MessageBox(NULL,buf,"Proj ID",0);
            //MessageBox(NULL,ProjectInfo[i].ProjectName.c_str(),"Project Name",0);
        return 0;
    In the above code im geeting project D which is an integer value. But not able to get the project name.
    Please some one guide me.

    As I said in the other thread, this really isn't the place to ask questions about a database API unrelated to the Illustrator SDK. You're far more like to find people familliar with your problem on a forum that is dedicated to answering those kinds of questions instead.

  • Visual Studio 2005, embedded Crystal Report problem

    I am very new at .NET, and this is my first post to this forum.
    I've created a Crystal Report within a project using Visual Studio 2005 Professional Edition, on a Windows XP machine.  I set the report as the ReportSource for a CrystalReportViewer on the main form.  I can see data in the report in design view when I right-click on any of the fields and click "Browse Field Data".  But when I preview the report, or run it in the application, all I see are the column headings and report title.  I am hoping I am leaving out something obvious.  I've researched this for two days without success. 
    The report's detail section is NOT suppressed, btw.
    FYI (although I think it might not be relevant, because I don't see the data when I preview it in Visual Studio either) the report is displayed in the application when a button is clicked, as follows:
        Private Sub cmdRunLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRunLog.Click
                CrystalReportViewer1.DisplayToolbar = True
                cmdRunLog.Text = "Hide Run Log"
                cmdUpload.Enabled = False
                cmdReports.Enabled = False
                cmdManualRun.Enabled = False
                CrystalReportViewer1.Visible = True
                CrystalReportViewer1.Height = 600
                CrystalReportViewer1.Width = 1000
                CrystalReportViewer1.Left = 10
                Dim strReportSQL As String = "Select * From dbo.PositivePayRunLog"
                Dim DA As New SqlDataAdapter(strReportSQL, conPP)
                Dim DS As New DataSet
                'Variable to assign the report name
                Dim strReportPath As String
                DA.Fill(DS)
                strReportPath = "c:\Positive Pay\PositivePayRunLog.rpt"
                If Not IO.File.Exists(strReportPath) Then
                    _ErrorText = "Unable to locate report file:  " & strReportPath
                    ' Throw (New Exception("Unable to locate report file:" & vbCrLf & strReportPath))
                    GoTo cmdRunLog_Click_Error
                End If
                Dim rptDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDocument.Load(strReportPath)
                rptDocument.SetDataSource(DS.Tables(0))
                rptDocument.Refresh()
                CrystalReportViewer1.ShowRefreshButton = False
                CrystalReportViewer1.ShowCloseButton = False
                CrystalReportViewer1.ShowGroupTreeButton = False
                CrystalReportViewer1.ReportSource = rptDocument
    end sub
    I'm hoping that this is a common problem with an easy answer
    Thanks,
    John Sandin

    >
    Jason Everly wrote:
    > Did you design the report using OLEDB or ODBC instead of against the schema of the dataset you are passing?  It could be seeing data from the database when browsing.
    >
    > Technically you should design the reports against the schema of the dataset you are going to be passing, not against ODBC or OLEDB.
    >
    > You can usually get away with passing datasets to a report created against OLEDB, but if issues occur then you need to redesign them against the ds schema.
    >
    > Jason
    I have done both, but I was currently using OLEDB.
    I redesigned the report to use a dataset containing the correct data.  Now,  when I browse the fields, I see nothing.  When I preview the report, I see what appears to be dummy data (a list of colors, etc).
    But the GOOD news is:  When I run the report in the application, I see the correct data!
    Thanks!  I think I'm good to go now.  I will also apply the other suggestions, and try to simplify things.

  • Crystal Report Dll problem with Visual Studio 2005

    I am using Crystal Reports with Visual Studio 2005. At one time there were two different version of Crystal Decision Dll in Global Assembly Cache (GAC). So I uninstalled both the versions and then only installed 10.2.3600.
    I am facing the following error when building my application in visual studio.
    The type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\arms website\301a5b02\e03ad7d9\assembly\dl3\c30f5560\00f92427_3857ca01\CrystalDecisions.CrystalReports.Engine.DLL'
    and
    'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.2.3600.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
    I have only installed it in .Net Framework. For some reason it appears in the temp folder. I cannot delete it and when I renamed it after the next compile it came back again.
    I would appreciate any help.

    Thanks for the tip.
    I installed CR XI R2 with SP2 and 2.1
    There are few reports in the system they use to run fine but now when I try to run them I get the following error:
    Failed to open the connection. Details: [Database Vendor Code: 4060 ] Failed to open the connection. C:\DOCUME1\SSheikh\LOCALS1\Temp\ZGA370 {71BFCD35-F652-48C8-896D-B93229A4D2C2}.rpt Details: [Database Vendor Code: 4060 ]
    I understand that these reports run ok independently and on production machine as well; however when I try to run them from my development machine I get the above error.
    I would appreciate help to resolve this. The code of the report is with report developer and I need to know what settings do I need to change where to be able to run the reports. Also I use my machine for deployment of application on the production server.
    Thanks.

  • Crystal report for visual studio 2005 dblogin problem

    Dear Sir,
    I am using Visual Studio 2005 and crystal reports for visual studio 2005 and sql server 2000.
    When I am running the project from my pc where it was developed and a local server with server authentication, report is opening but from client machine there is a new screen come before opening the report asking for login issue. my reports has subreports
    also.
    I am using dsn file to connect with server from crystal reports where dsn file contains as follows:
    [ODBC]
    DRIVER=SQL Server
    UID=sa
    PWD=sa
    DATABASE=HRISDB
    WSID=S-AGD-PAY01\HRSERVER
    APP=Microsoft Data Access Components
    SERVER=S-AGD-PAY01\HRSERVER
    so it is dynamic bcoz i need change server name sometimes.  my question is when same report want show user from their pc then below screen appears:
    database login
    server Name: C:\program files\HRIS\HRISDB.dsn
    Databse: HRISDB
    user id:
    PassworD:
    Integrated Security: it is checked and a finish button.
    (i am sorry bcoz screenshort is not attaching so I write above what in the diagloag box for you)
    then i need to uncheck the use integrated security and click finish then the reports come. THis is very annoying for my clients.
    Please help me how can I overcome it.
    It is mentionable that I didn't use any dblogin method in my code to like setdbloginforReport(). I think there is no problem bcoz the report show correctly. Just want to know how to overcome this screen.

    You know, this forum is for controls, apis, components for the user interface Windows Forms.
    Unlucky enough, Microsoft does not support Crystal reports anymore for many years.
    Try the Crystal reports forum for .Net
    http://scn.sap.com/community/crystal-reports-for-visual-studio 
    Success
    Cor

  • Visual Studio 2005 deploy Crystal Report to Windows Server 2008 64-bit

    I've read a lot of posts here regarding deploying on a 64-bit server, but I'm still confused.
    We use Visual Studio 2005 to develop on a Windows XP machine.  We use the built-in version of Crystal that comes with VS2005. 
    We want to deploy the runtime to a Windows Server 2008 running 64-bit.  We want to deploy using the msi runtime components and not the merge modules.
    We end up with the message "An error has occurred while attempting to load Crystal Reports". 
    So, the question is, can we build & deploy a 64-bit version, and if so, what are we doing wrong here ?  At first glance, I don't see VS 2005 as listing Windows 2008 as a supported platform, so am I dead in the water right there ?  If that's the case .... then what are my options ?
    Any help or pointing me in the right direction would be greatly appreciated !
    Thank You,
    Wayne

    In a nut shell, the only two 64 bit versions of Crystal Reports are 10.2 (bundles with .NET 2005) and 10.5 (bundles with .NET 2008). All other versions of Crystal Reports are 32 bit only. For more info see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek

Maybe you are looking for