473,657 Members | 2,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

msvc6 error?

hi,

i am using microsoft visual c++ 6.0 in win xp pro. i got some problem when using cssh.exe that is corbascript.
when the corbascript is try to access the dll file generated by a msvc6 program the cssh.exe generate error. when i
debug the error point to 'delete rs'. 'delete rs' was in this chunk of code:

LIB_PREFIX long ResultSet_destr oy(void *resultset)
{ResultSet *rs = (ResultSet *)resultset;

try{
delete rs;
return 0;
}
catch (SQLException& e){
sql_error = e;
return -1;
}
}

the error when i press the debug button is :
Unhandled exception in cssh.exe [csdbc.dll]: 0X0000005 : Access Violation

can someone help me with this problem
thanks in advance
Nov 17 '05 #1
0 881

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2023
by: Bill Davy | last post by:
I am building a C++ program (main.exe) with VC6 which expects to call the Python DLL. When I start it (under the debugger), I get: "This application has failed to start because python24_d.dll was not found. Re-installing the application may fix this problem." I built Python24_d.dll using VS.NET 2003 (which I bought specifically for that purpose but cannot use for our project, boo hoo). I am building a debug version of main.exe which...
1
1103
by: Tom Richardson | last post by:
The following code gives the output "1.21.21.2" with msvc6, while it gives "1.2T34" with g++. What's up with this? Regards, Tom ---- #include <iostream> using namespace std;
6
1819
by: John | last post by:
MSVC6 (SP5) gives this error when I try to use a non-pointer type to a class that is forward-referenced: reo.cpp(8) : error C2027: use of undefined type 'B' However Borland's free 5.5 compiler successfully compiles the same code snippet. /* ----------------------------- */ class B; // forward reference
2
2036
by: programmer_pete | last post by:
I am trying to switch to STLPort 4.6.2 from the MSVC STL. My project uses Spirit 1.6.0 and MSVC++ 6. I have configured STLPort as follows: #define _STLP_NO_OWN_IOSTREAMS 1 #define _STLP_USE_OWN_NAMESPACE 1 #define _STLP_REDEFINE_STD 1 In other words, STLPort is configured to used MSVC's iostreams.
13
6593
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
5
2932
by: Wayne Gibson | last post by:
Hi, Was wondering if anybody could help. I'm slowly trying to migrate over to the .NET using windows forms, but still have a need to support existing systems developed in MSVC 6 using MFC and VB6. So my question is, can I develop code in C# in a DLL that I can then invoke from MSVC 6 using MFC. As yet I have not seen any examples or samples of this being done. Thanks
1
1187
by: ravinderthakur | last post by:
hi all, i have a project in msvc6 and i want to change the name of the project from existing to some new project. how can i do the same. what entries in the .dsp file i have to change to chagne the name of the project. thanks
5
1938
by: christian | last post by:
Hi! I have a problem with a template function im MSVC6 the template function is defined as: template <__Type1, __Type2> int MyFunc(int param1, double param2) {__Type1 var1; __Type2 var2; ... do something ...
1
1412
by: hamishd | last post by:
First of all, i'm using the standard Release and Debug configurations. I don't know enough to meddle with those. I compile and link in Release mode, and we are all good. I compile and link in Debug mode, and a get: TestClass.obj : error LNK2001: unresolved external symbol _CSloadData plus a few other similar errors from the same library. Now first of all I thought i must have been missing a *.lib in the
0
8820
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8499
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7314
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1937
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1601
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.